是否可以创建如下所示的自定义布局。有人可以帮我弄清楚是否有可能吗?
答案 0 :(得分:1)
是。 碰巧得到类似想法的人可以关注this guide。
这基本上解释了如何使用KeyboardView将自定义键盘放入布局xml中。并且可以将键定义为具有任何图标
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
<Row>
<Key android:codes="48" android:keyLabel="0" />
<Key android:codes="-3" android:keyIcon="@drawable/human_saying_hello_icon" />
</Row>
</Keyboard>