Force Orientation Programmatically Android

[Solved] Force Orientation Programmatically Android | C - Code Explorer | yomemimo.com
Question : force orientation programmatically android

Answered by : hilarious-hamster-1ugtwufmse7j

myActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

Source : https://stackoverflow.com/a/2150503/13093413 | Last Update : Wed, 07 Apr 21

Answers related to force orientation programmatically android

Code Explorer Popular Question For C