I\'ve just bought a Raspberry Pi 3 with a 7\" Display touch screen and a casing.
Unfortunately, the casing can\'t allow me to rotate manually the screen so my apps a
Try this:
if (Build.DEVICE.equalsIgnoreCase("rpi3")) setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE);