1

I have a button that forces a orientation change form portrait to landscape.

When calling getActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);

the orientation changed to landscape but i get a black screen for a second.

When i rotate the device by hand i dont get this black screen. i get a nice rotating animation.

Is there a way to force rotation without this black screen?

ilan
  • 4,402
  • 6
  • 40
  • 76

0 Answers0