From e66496eae72c32bfb1321d5c8bc43d8f19c94bdc Mon Sep 17 00:00:00 2001 From: dvdandroid Date: Sun, 21 Aug 2016 17:42:42 +0200 Subject: [PATCH] Small UI improvement --- app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java b/app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java index 26997a56b..d5b64b2ed 100644 --- a/app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java +++ b/app/src/main/java/com/topjohnwu/magisk/WelcomeActivity.java @@ -1,5 +1,6 @@ package com.topjohnwu.magisk; +import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.annotation.IdRes; @@ -39,6 +40,9 @@ public class WelcomeActivity extends AppCompatActivity implements NavigationView super.onCreate(savedInstanceState); setContentView(R.layout.activity_welcome); ButterKnife.bind(this); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); + } setSupportActionBar(toolbar);