Nguyễn Thu Trang
New member
How do I make my android App portrait and landscape?
Answer
Android can be restricted to not switch the screen to landscape when rotated.
Open the AndroidManifest.
xml file
, in the activity declaration element add the attribute screenOrientation and set it to portrait.
Answer
Android can be restricted to not switch the screen to landscape when rotated.
Open the AndroidManifest.
xml file
, in the activity declaration element add the attribute screenOrientation and set it to portrait.