tags:

views:

115

answers:

3

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.how i cam fix the screen for both configarations.

A: 

Hi,
You probably have to define different layouts for landscape and portrait. You could force android to choose the proper layout depending on orientation. You could put landscape layout xml files in “res\layout-land” and portrait in “res\layout”. Of course it’s always good idea to use RelativeLayout, but it depends on your application. Regards!

Ramps
thank you very much
deepthi
+1  A: 

This question was asked before: here

If you are a beginner, you might find the following useful(read up): Developing orientation aware Android apps

Samuh
thank you very much
deepthi
A: 

Check this out. Google has released a tutorial about this recently: http://developer.android.com/intl/fr/resources/samples/MultiResolution/index.html

Valentin