Android: problem with layouts for HTC EVO 3d

First of all, my question is, which layout is supported by HTC EVO 3d? I am going to create a universal application. I set the layout for all devices as follows: Multi-screen support .

Now the resolution for HTC Evo 3d is 540X960. I also made a simulator with this configuration, but while I'm going to launch the application, the result does not display well, so I'm wondering how to set up a layout that supports full screen + HTC Evo 3d.

Therefore, we need help on this issue.

Thanks.

0
source share
1 answer

You cannot make a universal application with the same appearance on each device. As described by the Android developer,

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 

Let me select a small screen. It starts with 426dp x 320dp and up to 470dp x 320dp (before the appearance of regular screens). If we set the text and font or image for 426dp x 320dp and run the application on 469dpx320dp, then this will affect the result in some way (it should not be like both are part of a small screen). This difference increases from m-dpi to l-dpi . Therefore, we cannot remove the effect of this, but we can reduce it. If you are creating a universal application, it may not be perfect, as

Read more about densiites

+1
source

Source: https://habr.com/ru/post/922189/


All Articles