GabeDroid
GabeDroid

Reputation: 677

Control orientation when using view flipper

I have three layouts with viewflipper. I want one layout to be able to change orientation but the other two to stay in portrait mode. Is this possible?

Upvotes: 0

Views: 314

Answers (1)

A. Abiri
A. Abiri

Reputation: 10810

You can set your layouts as type linear layout so you can use the android:orientation feature for the layout. So you can do android:orientation="horizontal/vertical", android:orientation="horizontal", and android:orientation="vertical" for your different layouts.

Upvotes: 1

Related Questions