多屏显示不同的图像尺寸
我的应用程序包含横幅、正文和底部,如下所示。布局在“2.7 英寸 QVGA、2.7 英寸 QVGA 滑块、3.2 英寸 HVGA 滑块但不适用于 5.1 英寸 WVGA 和 10.1 英寸 WXGA”中很好。我在我的 droid x 和 droid Bionic 上测试了这一点,其中一个具有较高的密度(下面的图 2),具有较高密度的一个生活在一个空的黑色空间中。有谁知道如何解决这个问题,使两个图像看起来相同。
注意:密度较高的图像不会拉伸图像,而仅存在于空白的黑色空间中。
My app contain Banner, Body, and Bottom as shown below. The layout is fine in "2.7in QVGA, 2.7in QVGA slider, 3.2in HVGA slider BUT NOT in 5.1in WVGA and 10.1in WXGA". I tested this in both of my droid x and droid bionic, one of them has higher density (image 2 below), the one with higher density lives an empty black space. Does anyone know how to solve this so that both images will look the same.
Note: The one with higher density didn't stretch the image but only lives an empty black space.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读链接,它告诉您如何支持多种屏幕尺寸
http://developer.android。 com/guide/practices/screens_support.html
Read the link, it tells you how to support multiple screen sizes
http://developer.android.com/guide/practices/screens_support.html