I want to make special soft keyboard to use it in my android app like the following
Create XML like this for keyboard :
And style is as below:
In which
- @drawable/k1_selector
is used to set background for key.
- #24B2E7
is used for text color of key.
- @android:color/white
is used to set background of entire keyboard and
- @layout/k1_preview
is uesd to set preview of key.
Preview layout xml :
For spaces between keys use this.
And for android:background="@drawable/neon_candidate_middle_pressed" it is background image which you want to show in preview of key.