android-3.0-honeycomb - 使android 2.2版本的应用兼容android 3.0

标签 android-3.0-honeycomb android

我有一个用 Android 2.2 版本编写的应用程序。现在我想让这个应用程序兼容所有平板电脑。

我浏览了链接 Optimizing apps for 3.0

根据提到的细节,我创建了文件夹:drawable-xhdpi (用于存储图像)和 layout-xlargelayout-xlarge-land以保持布局。

已添加 <uses-sdk android:targetSdkVersion="11" android:minSdkVersion="8"/>也在 list 中。

但是当我运行该应用程序时,可绘制对象并未从我的 xhdpi 文件夹中获取。所以显示的图像太小了。这可能是什么原因?我还需要添加什么吗?另外,这个 xhdpi 和 xlarge 文件夹是否可以帮助我解决所有类型的平板电脑(即具有不同屏幕尺寸的平板电脑)?

请回复。提前致谢。

最佳答案

答案是here通过 anujprashar:

... For 10.1 tab you should use drawable-xlarge folder ...

与那个答案相比,我没有添加 <supports-screens>它适用于我的 galaxy 选项卡,也适用于 Nook 颜色 (cm7)。

关于android-3.0-honeycomb - 使android 2.2版本的应用兼容android 3.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7400819/

相关文章:

android - Honeycomb 和 TabHost 规范

android - 如何控制Honeycomb 中的软菜单按钮?

android - 多行 `ReplacementSpan` 绘图问题

android - 我可以通过 Visual C++ 将 C++ 中的空项目转换为 Android 应用程序吗?

android - 在 FragmentManager 中管理 BackStackEntries

android - 悄悄更新正在进行的通知

Android Change spinner pressed color Light Holo 主题

android - 如何在 android 中刷新和加载来自 json 提要的数据?

android - 在 list 中禁用 supportsRtl 不会停止布局中的 lint 警告

android - 如何禁用 'go back' 某些 Activity ?