I need to make a Panel on which I'll be able to switch between different custom keyboard views that i have designed.
Something like this My keypad with navigation panel and custom view of my Numeric keypad
I need to make a Panel on which I'll be able to switch between different custom keyboard views that i have designed.
Something like this My keypad with navigation panel and custom view of my Numeric keypad
At least two strategies can be applied.
Put your custom KeyboardView inside another ViewGroup, ex.:
<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>
Instead of TextView can be your custom panel.