Quantcast
Channel: Android Community Tutorial - Business articles, blogs, videos, apps and reviews - emulator
Viewing all articles
Browse latest Browse all 3

Android Portrait & Landscape Differeent Layouts

0
0

Today we are going to see about, How to use different layout when screen orientation changes from Portrait to Landscape or Landscape to Portrait.
For example :-
In portrait mode , the option page button will looks like nice when buttons are in one by one position.
But in landscape if we use the same process we need to have scrollview to see all the option button in the page.
To overcome this problem here is a easy solution.
In your res folder create two folders for Landscape 1) drawable-land 2) layout-land
drawable-land folder images is used when the phone orientation in landscape mode.
layout-land folder layout files is used when the phone orientation in landscape mode.

read more


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images