linear layout orientation changes
What i want is :
- In portrait mode : an imageView and a text below
- In landscape mode : an imageView on the left and a text to the right
How can i do that ? knowing that in my manifest there is a :
android:configChanges="orientati开发者_C百科on|keyboardHidden"
in this activity.
You may use an alternative resource
res/layout-port/
(or res/layout-land/
) where you define your additional layout. It will be used when you have the specified orientation, otherwise it will fall back to the default layout.
精彩评论