Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Java
how lock horizontal orientation android
Patrick Stevens
Programming language:
Java
2021-06-08 07:33:14
0
Q:
how lock horizontal orientation android
RichF
Code:
Java
2021-08-21 21:54:07
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
0
Tags
android
how
Related
how to set landscape in android studio
how to stop screen rotation in android code
how to resize layout when element hide android
how to get orientation lock to portrait android stackoverflow
New to Communities?
Join the community