From 7d6e226c2b374d483126f295f42a3f004eb141e9 Mon Sep 17 00:00:00 2001 From: Jasper Eames Palmer Date: Thu, 11 Jun 2020 19:29:15 -0700 Subject: [PATCH] Update status color to match toolbar color --- .../java/org/schabi/newpipe/MainActivity.java | 8 -------- app/src/main/res/values/colors_services.xml | 16 ++++++++-------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/MainActivity.java b/app/src/main/java/org/schabi/newpipe/MainActivity.java index 3fc3121b1..37d6d62f5 100644 --- a/app/src/main/java/org/schabi/newpipe/MainActivity.java +++ b/app/src/main/java/org/schabi/newpipe/MainActivity.java @@ -34,8 +34,6 @@ import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; -import android.view.Window; -import android.view.WindowManager; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.Button; @@ -127,12 +125,6 @@ public class MainActivity extends AppCompatActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { - Window w = getWindow(); - w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS, - WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS); - } - if (getSupportFragmentManager() != null && getSupportFragmentManager().getBackStackEntryCount() == 0) { initFragments(); diff --git a/app/src/main/res/values/colors_services.xml b/app/src/main/res/values/colors_services.xml index 0126ee9ae..a09878fae 100644 --- a/app/src/main/res/values/colors_services.xml +++ b/app/src/main/res/values/colors_services.xml @@ -4,44 +4,44 @@ #e53935 #992722 #000000 - #ff4336 + #e53935 #CD322E #992722 #FFFFFF - #ff4336 + #CD322E #f57c00 #995700 #000000 - #ff9100 + #f57c00 #f57c00 #995700 #FFFFFF - #ff9100 + #f57c00 #ff6f00 #c43e00 #000000 - #ff833a + #ff6f00 #ff6f00 #c43e00 #FFFFFF - #ff833a + #ff6f00 #9e9e9e #616161 #000000 - #afafaf + #9e9e9e #9e9e9e #616161 #FFFFFF - #afafaf + #9e9e9e \ No newline at end of file