我在 /res/xml 的 xml 文件中有一个键盘定义,如下所示:
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:horizontalGap="0px"
android:verticalGap="0px"
android:keyHeight="@dimen/key_height"
>
<Row>
<Key... />
</Row>
<Row>
<Key... />
</Row>
<Row android:rowEdgeFlags="bottom" >
<Key ... />
</Row>
</Keyboard>
我正在寻找一种使一排钥匙比其他钥匙高的方法,但我不知道怎么做。增加键盘标签上的 keyHeight 会使所有键都变大 - 有没有办法只针对一行?