I like to know when I can call ArchitectView.setSystemUiVisibility in 08_PointOfInterest_1_PoiAtLocation.example?
I still see border both at the top and below.
Hi Jai,
Can you please share a screenshot of the view?
Thx and greetings
Nicola
OK, I borrow the code from EPSON BT300 and it works on the smartphones.
@Override
public void onWindowFocusChanged(boolean hasFocus) {
super.onWindowFocusChanged(hasFocus);
if (hasFocus) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
// Standard Android full-screen functionality.
architectView.setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
}
}
}
Bodoquezorrilla