what shall I write that my application didn't change orientation in case of phone turn for an angle of ninety degrees?
Asked
Active
Viewed 93 times
-2
-
Do you want your activity to always be in 1 kind of orientation? – Anders Metnik Jul 07 '12 at 16:15
-
yes. i want my activity to always be in 1 kind of orientation. I did it – kirill290292 Feb 06 '13 at 23:08
2 Answers
0
You can basically use screenOrientation tag in your activity declaration in manifest. You can set landscap or portrait depending on your requirement. Below is an example... ' '
<activity android:name=".ActivityName"
android:screenOrientation="portrait">

AAnkit
- 27,299
- 12
- 60
- 71