简体   繁体   English

Android多屏支持普通

[英]Android multiple screen support Normal

I have a problem with supporting multiple screens. 我在支持多个屏幕时遇到问题。

3.7 "WVGA is just as normal 4.7" WXGA, it is a normal. 3.7“ WVGA和4.7一样正常” WXGA,这是正常现象。

Making a layout for normal screens and let's say I have so arranged buttons: http://i42.tinypic.com/ebewwy.png 为普通屏幕进行布局,假设我已经安排好按钮: http : //i42.tinypic.com/ebewwy.png

Looks like I want. 看起来像我想要的。 But if someone has a screen 4.7 "which is also normal. 但是,如果有人有一个屏幕4.7“,这也是正常的。

It now looks like this: http://i43.tinypic.com/2rqc6xg.png 现在看起来像这样: http : //i43.tinypic.com/2rqc6xg.png

All buttons are coming up and now I do not fit my concept. 所有按钮都将出现,现在我不符合我的概念。 How to solve this problem? 如何解决这个问题呢?

Try using a table layout and putting your buttons in different cells with different alignments. 尝试使用表格布局,然后将按钮以不同的对齐方式放在不同的单元格中。

http://developer.android.com/resources/tutorials/views/hello-tablelayout.html http://developer.android.com/resources/tutorials/views/hello-tablelayout.html

You should read the tutorial for multiple screen supports for any android application. 您应该阅读该教程,以获取针对任何android应用程序的多屏支持。

This link describes about it very clearly. 链接非常清楚地描述了它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM