tags:

views:

188

answers:

1

Hi,i done my application in portrait configaration but when load my application in to device its coming portraint configaration but i keep in landscape mode missing some controls.so i want to add scroll view to screen when changing the config to landscape.how i can add scrollview to screen

+2  A: 

Hi!
You could define two version of your layout.
"res/layout/your_layout.xml" - this will be used in portrait mode
"res/layout-land/your_layout.xml" - android will use this when in landscape orientation

If you don't want to do to many changes in your layout you can add ScrollView to landscape version of your_layout.xml.

Regards!

Ramps
thank you very much
deepthi