Skip to content

Commit

Permalink
Fix for devices with navigation bar.
Browse files Browse the repository at this point in the history
  • Loading branch information
vprus committed Feb 27, 2016
1 parent 5037424 commit dfc0720
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -22,7 +22,8 @@ public class OnboardingWithCenterAnimationActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
setTheme(R.style.AppTheme);
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
getWindow().getDecorView().setSystemUiVisibility(
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION);
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_onboarding_center);
}
Expand Down

0 comments on commit dfc0720

Please sign in to comment.