Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
561 views
in Technique[技术] by (71.8m points)

android - layout-large-land-hdpi error

I'm trying to use inside res the folder

layout-large-land-hdpi

but the sdk gives me an error and does not compile.

layout-large-hdpi works!

As it says here, it should work!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

//yes we can use either layou-large and layout-large-mdi and so..

res/layout/my_layout.xml             // layout for normal screen size ("default")
res/layout-small/my_layout.xml       // layout for small screen size
res/layout-large/my_layout.xml       // layout for large screen size
res/layout-xlarge/my_layout.xml      // layout for extra large screen size
res/layout-xlarge-land/my_layout.xml // layout for extra large in landscape orientation



  Low density Small screens QVGA 240x320 

res/layout-small-ldpi
res/layout-small-land-ldpi

Low density Normal screens WVGA400 240x400 (x432)

res/layout-ldpi
res/layout-land-ldpi

Medium density Normal screens HVGA 320x480

res/layout-mdpi
res/layout-land-mdpi

Medium density Large screens HVGA 320x480

res/layout-large-mdpi
res/layout-large-land-mdpi

High density Normal screens WVGA800 480x800 (x854)

res/layout-hdpi
res/layout-land-hdpi

Xoom (medium density large but 1280x800 res)

res/layout-xlarge
res/layout-xlarge-land

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...