diff --git a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java index 9b30b731789c2..948a87b1c424d 100644 --- a/sky/shell/android/org/domokit/sky/shell/SkyActivity.java +++ b/sky/shell/android/org/domokit/sky/shell/SkyActivity.java @@ -37,9 +37,11 @@ protected void onCreate(Bundle savedInstanceState) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); getWindow().setStatusBarColor(0x40000000); - // TODO(abarth): We should get this value from the Android framework somehow. - edgeDims.top = 25.0; } + // TODO(abarth): We should get this value from the Android framework somehow. + edgeDims.top = 25.0; + // TODO(abarth): Unclear if we want to use fullscreen if we don't have + // a transparent system bar. getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);