How do I make my android apps landscape only?

How do I make my android apps landscape only?
Answer
Here you have to invoke the android:
screenOrientation=”portrait”
(“landscape” for landscape mode) and tools_ignore=”LockedOrientationActivity” in anyone of the activity of your choice. Here this has been invoked only for the Activity1. Activity2 is in the auto orientation. Again open the AndroidManifest.
 

Tìm kiếm

Back
Top