如何自定义样本软键盘布局以适合平板电脑

时间:2011-11-17 21:44:11

标签: android android-softkeyboard

我下载了示例软键盘的来源并在我的平板电脑中试用了..但它看起来像这样:

enter image description here

如何自定义布局以使其适合屏幕?我一直在阅读http://developer.android.com/resources/articles/creating-input-method.html 但它对布局定制没有多大帮助。

1 个答案:

答案 0 :(得分:1)

找到答案:在清单文件中

<manifest xmlns:android="http://schemas.android.com/apk/res/android"     
    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true" />
</manifest>
相关问题