Open m2ahmed opened 4 years ago
I don't have such device, I will try it on simulator
Try to resolve issues on physical latest version devices because your app works well on emulators but gives results like above on real devices.
Comments following lines in SampleActivity is working for me
if (Build.VERSION.SDK_INT < 16) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
} else {
mPageFlipView.setSystemUiVisibility(
View.SYSTEM_UI_FLAG_FULLSCREEN |
View.SYSTEM_UI_FLAG_LAYOUT_STABLE |
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
View.SYSTEM_UI_FLAG_IMMERSIVE |
View.SYSTEM_UI_FLAG_HIDE_NAVIGATION);
}