三星注布局问题 [英] Samsung Note layout issues
问题描述
在我的应用程序已经设计布局分辨率600x1024,并把他们在布局大
文件夹。
In my application I have designed layouts for resolution 600x1024 and placed them in the layout-large
folder.
当我运行在三星Galaxy Tab的应用程序,它拿起从布局大
文件夹布局和用户界面看起来很好。
When I run the app on Samsung Galaxy Tab it picks up layouts from the layout-large
folder and the UI looks fine.
不过对于三星注意过它拿起从布局大
文件夹布局和用户界面看起来并不好。
But for Samsung Note too it picks up layouts from the layout-large
folder and the UI does not look good.
有没有什么办法可以创建一个特殊的情况下,三星注,并告诉机器人不要使用从布局大文件夹布局,如果该设备是三星的注意,而使用的布局从其他文件夹中特定设备???
我还设计布局分辨率800x1280把他们安置在布局XLARGE 文件夹中的。但是,即使三星注有分辨率800x1280它不会从该文件夹使用布局!
I have also designed layouts for resolution 800x1280 and placed them in the layout-xlarge
folder. But even though Samsung Note has resolution 800x1280 it does not use layouts from this folder!!
我遇到了新的大小预选赛这里的http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts但不能使用这种方法,因为我的应用程序的最低SDK版本是2.3(API级别9)
I came across new size qualifiers here http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts but could not use this approach as my application's minimum sdk version is 2.3 (API level 9)
我要支持三星注意我的应用程序,需要优先了一个解决方案,请帮助... 在此先感谢!
I have to support Samsung Note for my application and need a solution for this on priority, please help... Thanks in advance!
推荐答案
//检查你的手机的密度,并创建一个布局,并把你的xml文件存在。
//check your density of your phone and create an layout and place your xml file there.
有关中密度是160dpi
for medium density which is 160dpi
res/layout-large-mdpi
高密度是240dpi
for high density which is 240dpi
res/layout-large-hdpi
有关xhigh密度为320dpi
for xhigh density which is 320dpi
res/layout-large-xhdpi
这篇关于三星注布局问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!