Android的布局不同的决议
问题描述:
我想创建各种屏幕分辨率不同的布局,如华电国际,xhdpi
等
I wish to create various layouts for various screen resolutions, like hdpi, xhdpi
etc.
我读了这里如何我能做到这一点。
I read up here about how i can do it.
所以我创建两个目录布局XLARGE
和布局大
在我的 RES
目录并放置在 XML
布局存在。
So i created two directories for layout-xlarge
and layout-large
in my res
directories and placed the xml
layout there.
我的手机,我知道是一个华电国际
手机死机说,它不能找到资源目录。
My phone that i know to be a hdpi
phone crashes saying it can not find resource directory.
我在做什么错。我的电话是三星Nexus S
。
What am i doing wrong. My phones is Samsung Nexus s
.
答
有关你的三星Nexus S手机,布局
文件夹将被使用。
For your Samsung Nexus S phone, the layout
folder will be used.