Android的布局屏幕分辨率的问题 [英] Android layout screen resolution problems

查看:168
本文介绍了Android的布局屏幕分辨率的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几乎完成了我的应用程序为Android,问题是,当我测试它在多个屏幕尺寸,如填充等项目的布局,似乎是不正确的。我不明白我应该支持所有的屏幕尺寸,因为我已经用于填充​​等。我现在用的是背景作为其填满了屏幕图像中的所有'DP'值的文字和大小,以及背景包括按钮和拖曳,将有textviews覆盖它们的布局。我一直在测试我的HTC渴望,我刚才注意到了这个问题。我以为,这都将是好看到,因为我使用DP的所有观测值等任何技巧来解决我的布局将AP preciated为我的应用程序是pretty的多好,从这个去除了已:(

I have almost finished my app for android, the problem is when i test it on multiple screen sizes the layout of items such as padding etc, seems to be incorrect. I don't understand how I am supposed to support all screen sizes, because I have used all 'dp' values for the text and sizes for padding etc. I am using the 'background' as an image which fills the screen, and the background includes the layout of buttons and boxes that will have textviews overlaying them. I have been testing on my HTC desire and I have just noticed this issue. I assumed that it would all be okay seeing as I have been using dp for all measurments etc. Any tips to fix my layouts would be appreciated as my app is pretty much good to go apart from this :(

推荐答案

阅读下面的链接非常仔细,你会得到最好的方式做:

Read the following links very carefully you will get the best way to do:

  1. 支持多画面

为多种屏幕分辨率

额外的屏幕分辨率和密度支持在Android的

兼容屏

多尺度 - 多分辨率

这篇关于Android的布局屏幕分辨率的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆