Answer the question
In order to leave comments, you need to log in
How to find out the orientation of an Android device?
I can’t find out the screen orientation in the code in any way, it is necessary that when the landscape orientation is written in the TextBox. android studio;
I tried everything, Google does not help. Help, I've been sitting on this issue for a month now
Answer the question
In order to leave comments, you need to log in
The first link on Google: Activity.getResources().getConfiguration().orientation and/or getWindowManager().getDefaultDisplay().getRotation():
stackoverflow.com/questions/3663665/how-can-i-get-.. .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question