How can I get the current screen orientation? October 11, 2022 by Tarik Activity.getResources().getConfiguration().orientation