0
<?xml version="1.0" encoding="UTF-8"?>
<android.inputmethodservice.KeyboardView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/keyboard"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:keyBackground = "@drawable/keybackground"
android:keyTextColor="?attr/colorPrimary"
android:background="?attr/android:colorBackground"
android:keyTextSize="22sp"/>
私は定期的に色を入れると、すべてが正常に動作します!私はそれをどのように柔軟にすることができますか?
[Androidカスタムキーボードのさまざまな背景を設定する方法](https://stackoverflow.com/questions/18224520/how-to-set-different-background-of-keys-for-android-カスタムキーボード) –
私のqoustionは全く違っています!重複としてマークする前にお読みください... – batsheva