0
私が設計した異なるカスタムキーボードビューを切り替えることができるパネルを作成する必要があります。キーボードパネルで異なるビューを選択する(カスタム)
少なくとも2つの戦略を適用することができ、この My keypad with navigation panel and custom view of my Numeric keypad
私が設計した異なるカスタムキーボードビューを切り替えることができるパネルを作成する必要があります。キーボードパネルで異なるビューを選択する(カスタム)
少なくとも2つの戦略を適用することができ、この My keypad with navigation panel and custom view of my Numeric keypad
ような何か。
別のViewGroup内にカスタムKeyboardViewを入れ、例:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
\>
<TextView
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:text="Wazup?!"
/>
<org.dodroid.customime.CustomKeyboardView
android:id="@+id/keyboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:keyBackground="@drawable/samplekeybackground"
android:keyPreviewLayout="@layout/preview"
android:popupLayout="@layout/keyboard_popup_keyboard"
/>
</LinearLayout>
代わりのTextViewのは、カスタムパネルとすることができます。