デバイス画面の半分だけに表示する必要があるソフト キーボードを作成したいと考えています。
主な目的は、ユーザーがキーボードが表示されている間でも画面内の項目を表示して選択できるようにすることです (全画面表示ではないため)。
「inputView」と「candidateView」xmlでレイアウトの高さパラメータを変更してみました。ただし、キーボード全体の高さは変更されていません。これを達成する方法を提案してください。
入力.xml
<com.example.android.softkeyboard.LatinKeyboardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/keyboard"
android:layout_alignParentBottom="true"
android:layout_width="5px"
android:layout_height="5px"
/>
qwerty.xml
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height"
android:paddingTop="80px"
android:layout_height="50px"
android:layout_width="50px"
>
-前もって感謝します。