【发布时间】:2014-08-12 05:19:18
【问题描述】:
有没有办法创建一个出现多个字符的弹出式键盘? (我的标签没有显示键盘上的选项键) 这是我在 xml 文件中的代码:
enter code here
<Keyboard
xmlns:android="http://schemas.android.com/apk/res-auto"
android:keyWidth="15%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/popup_key_height"
>
<Row
android:rowEdgeFlags="top|bottom"
>
<Key
android:keyLabel="@string/popular_domain_1"
android:keyOutputText="@string/popular_domain_1"
android:keyEdgeFlags="left"
/>
<Key
android:keyLabel="@string/popular_domain_2"
android:keyOutputText="@string/popular_domain_2"/>
在我的弹出标签中,我没有看到任何东西,只是一个空立方体...... tnx!
【问题讨论】:
-
Swiftkey 这样做,所以我不明白为什么不这样做。请向我们展示您的代码。