【问题标题】:Why the resolution of my custom softkeyboard does not increase on Android Tablets?为什么我的自定义软键盘的分辨率在 Android 平板电脑上没有增加?
【发布时间】:2011-11-08 13:17:31
【问题描述】:
我正在自定义 android SDK 的软键盘示例。当我将它安装在 10 英寸平板电脑上时,这款键盘的分辨率又低又丑。我的意思是它在平板电脑上使用 PocketPc 的分辨率。我使用 getMaxWidth() 方法获取软键盘的宽度,在 Pocketpc(android 2.3)和平板电脑(android 3.2)中它返回 545。
如何根据设备的分辨率提高键盘的分辨率?
【问题讨论】:
标签:
android
keyboard
android-softkeyboard
【解决方案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>
我的参考是this link.