我的布局有问题,不会像1024x600那样在高分辨率下拉伸。
作为根布局,我使用RelativeLayout和以下样式:
<style name="DefaultLayout">
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
</style>
我想将布局扩展到任何屏幕分辨率,但在高分辨率的仿真器上它看起来像这样:
如果重要的是我没有使用固定大小的图像,页眉和页脚,它是1px垂直线,水平复制,列表项实现为形状......所以没有必要采用一些固定的大小。 ..也许我正在以错误的方式检查这个...其实我没弄明白是什么问题
答案 0 :(得分:4)
很可能您没有在AndroidManifest中添加适当的屏幕支持属性,整个应用程序正在缩放到部分屏幕。
阅读这些
http://developer.android.com/guide/practices/screens_support.html
http://developer.android.com/guide/topics/manifest/supports-screens-element.html