Support for various screen sizes in landscape mode

In my Android application, I have to show the landscape for large and small screen sizes. Is there any way to do this. If then, how can I do this? Now I just created the "layout-land" folder. Can i give it more specifically

+1
source share
2 answers

you can specify the following:

layout-land-hdpi layout-land-ldpi layout-land-mdpi layout-small-land-ldpi 

and read the following in more detail:

http://developer.android.com/guide/topics/resources/providing-resources.html

There is a very good lesson in the Android developer site:

http://developer.android.com/training/multiscreen/screensizes.html

+2
source

Use layout-large-land and layout-small-land ; see also Providing Alternative Resources .

0
source

Source: https://habr.com/ru/post/1496492/


All Articles