Android应用不能在所有设备上运行 [英] Android app not run on all devices

查看:108
本文介绍了Android应用不能在所有设备上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这个应用程序中制作一个应用程序我的屏幕不会在所有设备中显示相同

i二手



三星Galaxy Grand

5.0屏幕480x800~187 ppi ppi像素密度



Google Nexus S

4.0屏幕480x800~233 ppi ppi像素密度



Xolo Play

4.0屏幕720x1280~312 ppi像素密度



Galaxy Ace

3.5屏幕320x480~165 ppi ppi像素密度



ok我在这些手机上运行我的应用程序,但我有屏幕问题所有手机显示不同的屏幕在这种情况下我使用我的宽度和高度与

维在hdpi或mdpi然后所有手机选择高度从hdpi demins和mdpi

<只有XOLO PLAY和GLAAXY ACE才能正常运行
和应用程序,但是其他手机屏幕出现了问题按钮来到对方

帮助我...

谢谢

I am making one app in this app my screen not will show as same in all devices
i used

Samsung Galaxy Grand
5.0 screen 480x800 ~187 ppi ppi pixel density

Google Nexus S
4.0 screen 480x800 ~233 ppi ppi pixel density

Xolo Play
4.0 screen 720x1280 ~312 ppi ppi pixel density

Galaxy Ace
3.5 screen 320x480 ~165 ppi ppi pixel density

ok I run my app on these mobiles phone but i have screen problem all phone show different screen in this case i use my width and height with
dimens in hdpi or mdpi then all mobile phone pick height from hdpi demins and mdpi

and app work fine with only XOLO PLAY AND GLAAXY ACE but other mobile screen got problem button come front of each others
help me out ..
thanks

推荐答案

我建​​议你阅读 13 章节:写一次,测试无处不在 Burnette 的书 Hello Android [ ^ ],它解决了其他)这个问题。
I suggest you reading chapter 13: "Write Once, Test Everywhere" of Burnette's book Hello Android[^], it addresses (among others) this problem.


这篇关于Android应用不能在所有设备上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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