Tsunaze
Tsunaze

Reputation: 3254

linear layout orientation changes

What i want is :

How can i do that ? knowing that in my manifest there is a :

android:configChanges="orientation|keyboardHidden"

in this activity.

Upvotes: 1

Views: 159

Answers (1)

Howard
Howard

Reputation: 39217

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.

Upvotes: 1

Related Questions