<android.inputmethodservice.KeyboardView
android:id="@+id/keyboard_view"
android:keyPreviewLayout="@layout/key_preview_layout"
android:layout_width=“0dp”
android:layout_height=“wrap_content”
android:layout_gravity=“center_horizontal”
android:background="#F0EFF4"
android:focusable=“true”
android:focusableInTouchMode=“true”
android:keyBackground="@android:color/white"
android:keyTextColor="#5E5E5E"
android:keyTextSize=“18sp”
android:labelTextSize=“18sp”
android:paddingTop=“5dp”
android:shadowColor="#ffffff"
android:shadowRadius=“0.0”
android:visibility=“gone”
app:layout_constraintBottom_toBottomOf=“parent”
app:layout_constraintLeft_toLeftOf=“parent”
app:layout_constraintRight_toRightOf=“parent” />
***key_preview_layout
<?xml version="1.0" encoding="utf-8"?>***