软键盘Android上键的六角形状无法捕捉到正确的键

时间:2013-12-10 15:26:06

标签: android android-layout android-intent android-softkeyboard

我有这个键盘: enter image description here

但是在边缘处(在这种情况下),钥匙在服务中不能很好地抓住...... 例如,“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"



 />

1 个答案:

答案 0 :(得分:0)

我有类似的问题,我使用“fill_parent”代替“wrap_content”并且工作