我有这个键盘:
但是在边缘处(在这种情况下),钥匙在服务中不能很好地抓住...... 例如,“k”抓住其左侧的键..
这是我的键盘布局:
<com.android.example.KeyBoardView
android:id="@+id/keyboard"
android:keyTextColor="#ffffff"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:keyBackground="@drawable/kb_exagon_base"
/>
答案 0 :(得分:0)
我有类似的问题,我使用“fill_parent”代替“wrap_content”并且工作