Android 使用键盘和;自定义UTF字符
我正在使用KeyboardView制作一个软键盘,希望使用相对布局,这样我就可以拥有其他东西以及按键。我还想使用其他UTF字符,比如emojis。我用它作为如何使用键盘视图的参考 这是我的keyboard.xml文件。我怎样才能做到这一点?谢谢Android 使用键盘和;自定义UTF字符,android,utf-8,emoji,custom-keyboard,Android,Utf 8,Emoji,Custom Keyboard,我正在使用KeyboardView制作一个软键盘,希望使用相对布局,这样我就可以拥有其他东西以及按键。我还想使用其他UTF字符,比如emojis。我用它作为如何使用键盘视图的参考 这是我的keyboard.xml文件。我怎样才能做到这一点?谢谢 <?xml version="1.0" encoding="utf-8"?> <Keyboard xmlns:android="http://schemas.android.com/apk/res/android" androi
<?xml version="1.0" encoding="utf-8"?>
<Keyboard xmlns:android="http://schemas.android.com/apk/res/android"
android:keyWidth="33%p" android:horizontalGap="0px"
android:verticalGap="0px" android:keyHeight="54dip">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/act">
<Key android:codes="12" android:keyLabel="5" />
</RelativeLayout>
</Keyboard>