键盘键边缘到边缘

时间:2015-07-25 01:33:48

标签: android-softkeyboard

请帮我删除自定义键盘行中按键之间的任何距离“间隙”。我试图设置android:horizo​​ntalGap =“0%p无济于事。 抱歉,我无法发布信誉低于10的图片,因此我尝试将其链接到here 谢谢

<Keyboard
xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="10%p"
android:keyHeight="60dp">
<Row>
    <Key android:codes="49" android:keyLabel="1" android:keyEdgeFlags="left" />
    <Key android:codes="50" android:keyLabel="2" android:horizontalGap="0%p"/>
    <Key android:codes="51" android:keyLabel="3" android:horizontalGap="0%p"/>
    <Key android:codes="52" android:keyLabel="4" android:horizontalGap="0%"/>
    <Key android:codes="53" android:keyLabel="5" android:horizontalGap="0%"/>
    <Key android:codes="54" android:keyLabel="6" android:horizontalGap="0%"/>
    <Key android:codes="55" android:keyLabel="7" android:horizontalGap="0%"/>
    <Key android:codes="56" android:keyLabel="8" android:horizontalGap="0%"/>
    <Key android:codes="57" android:keyLabel="9" android:horizontalGap="0%"/>
    <Key android:codes="58" android:keyLabel="0" android:keyEdgeFlags="right" />
</Row>
...

0 个答案:

没有答案