gpt4 book ai didi

键盘 View 中的 Android 布局

转载 作者:行者123 更新时间:2023-11-29 01:55:08 25 4
gpt4 key购买 nike

是否可以创建如下所示的自定义布局 image.谁能帮我弄清楚这是否可行?

最佳答案

是的。有类似想法的可以关注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>

关于键盘 View 中的 Android 布局,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15633548/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com