How can I get the current screen orientation?

Activity.getResources().getConfiguration().orientation

Leave a Comment