Is there anyway to find out if a device is portrait or landscape by default? In that I mean how you normally use the device.
Most phones have a portrait screen for
It's simple, Just a If-Else block:
If-Else
if (getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE) { // landscape } else { // portrait }