我必须用一个形象在我的应用程序的顶部,标题图片和方向设置为横向的修复,作为一个新手是m面对的是,我要运行应用程序所有主要设备(240×320的问题,小320x480,480x800的,600x1024,720x1280,800x1280)。因此,如何解决?任何帮助将真正成为AP preciated。谢谢
I have to use a image in the top of my app as header image and the orientation is set horizontal as fix, as a newbie the problem that m facing is that I have to run the app to all major devices (240x320, 320x480, 480x800, 600x1024, 720x1280, 800x1280). So how can I fix? Any help will really be appreciated. Thanks
@Abk您好,您应该在看这个Android开发环节的这里是链接 并支持你必须把你的资源图像1.res所有设备/绘制的默认图像
@Abk Hello You should have to look in to this android developer link Here is link and For Support on all devices you have to put your resource images in 1.res/drawable for Default Images
下面是你的资源文件夹的结构在Android项目
Here is Your Structure of Resource Folder in android Project
2.res/drawable-hdpi for high-density // bitmap for high density
3.res/drawable-hdpi-v5
4.res/drawable-v9
5.res/drawable-ldpi
6.res/drawable-ldpi-v5
7.res/drawable-ldpi-v9
8.res/drawable-mdpi // bitmap for medium density
9.res/drawable-mdpi-v5
10.res/drawable-mdpi-v9
11.res/drawable-xhdpi // bitmap for extra high density
现在对于布局结构如下:
Now For Layout Structure is below :
12.layout This Use For Default Layout Files // layout for normal screen size ("default")
13.layout-land For Use in Landscape Mode
14 layout-large // layout for large screen size
15.layout-large-long
16.layout-large-long-land
17.layout-large-notlong
18.layout-large-notlong-land
19.layout-ldpi
20.layout-normal-long
21.layout-normal-long-land
22.layout-normal-notlong
23.layout-normal-notlong-land
24.layout-small // layout for small screen size
25.layout-small-land
26.layout-xlarge // layout for extra large screen size
27.layout-xlarge-land // layout for extra large in landscape orientation
如果你仍然不能够理解与多个屏幕在Android的工作,然后看看这对于Android的摩托罗拉详情幻灯片。的点击此处
If you are Still Not able to understand work with multiple Screen in android then look at this for Details Slide of android from Motorola.Click here