安卓:布局问题对于HTC EVO 3D布局、问题、EVO、HTC

2023-09-08 08:44:24 作者:路过当成长久

首先关闭所有我的问题是它的布局是支持的HTC EVO 3D? 我要建立普遍的应用程序。 我已经按照设定所有设备的布局:支持多屏

First off all my question is which layout is supported by the HTC EVO 3d ? I am going to build the universal app. I have set the layout for all devices by following : Supporting Multiple Screen.

现在的分辨率HTC EVO 3D是540X960。我也做了imulator与配置,但是当我要运行应用程序,结果没有显示出良好的,所以我想知道如何设置,支持所有的屏幕+ HTC EVO 3D也布局。

Now the resolution for the HTC Evo 3d is 540X960. I have also made the imulator with that configuration but while i am going to run the app, the result is not showing good so i am wonder about how to set the layout that support all screen + HTC Evo 3d also.

所以,需要对这个问题的帮助。

So need help regarding this issue.

感谢。

推荐答案

您可以不与相同的外观来自Android开发者每device.As普遍应用的描述

You can not make universal application with same look on every device.As from the android developer describe

xlarge screens are at least 960dp x 720dp
large screens are at least 640dp x 480dp
normal screens are at least 470dp x 320dp
small screens are at least 426dp x 320dp

让挑小screen.Its从426dp x 320dp启动并达到470dp x 320dp(至正常屏幕来了)。如果我们设置文本和字体或图像426dp x 320dp和运行应用程序 469dpx320dp就会影响导致一些如何(它不应该因为都是小屏幕的一部分)的。这种差异增加 M-DPI为L-DPI 。所以我们不能消除这种影响,但我们可以减少它。如果你让通用应用程序,那么它不可能是完美的任何如何

Let pick small screen.Its start from 426dp x 320dp and up to 470dp x 320dp(till normal screens came).If we are setting text and font or image for 426dp x 320dp and running app on 469dpx320dp then it will affect result some how(it should not as both are part of small screen).This difference increase fromm-dpi to l-dpi.So we can not remove the effect of that but we can reduce it.If you make universal app then it can not be perfect any how

请参阅有关densiites详细