Tôi không biết nếu bạn vẫn cần trợ giúp về điều này, nhưng bạn không cần tệp imePreferences cho việc này, bạn chỉ có thể xóa nó. bạn muốn vào thư mục xml và tệp qwerty.xml ở đó bạn có thể thêm và thay đổi các hàng và khóa. chỉ cần thêm hàng có các phím bạn muốn.
<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 android:codes="113" android:keyLabel="q" android:keyEdgeFlags="left"/>
<Key android:codes="119" android:keyLabel="w"/>
<Key android:codes="101" android:keyLabel="e"/>
<Key android:codes="114" android:keyLabel="r"/>
<Key android:codes="116" android:keyLabel="t"/>
<Key android:codes="121" android:keyLabel="y"/>
<Key android:codes="117" android:keyLabel="u"/>
<Key android:codes="105" android:keyLabel="i"/>
<Key android:codes="111" android:keyLabel="o"/>
<Key android:codes="112" android:keyLabel="p" android:keyEdgeFlags="right"/>
</Row>
Tôi đã chỉnh sửa Câu hỏi –