Skip to content

Commit

Permalink
fix: default to transparent system bars
Browse files Browse the repository at this point in the history
  • Loading branch information
tien committed Nov 18, 2021
1 parent e395c30 commit 998a44e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
<item name="colorSecondaryVariant">@color/green_400_dark</item>
<item name="colorOnSecondary">@color/white</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item>
<!-- Customize your theme here. -->
<item name="android:navigationBarColor" tools:targetApi="l">@android:color/transparent</item>
</style>
</resources>
</resources>
5 changes: 3 additions & 2 deletions app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<item name="colorSecondaryVariant">@color/green_400_dark</item>
<item name="colorOnSecondary">@color/white</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<item name="android:statusBarColor" tools:targetApi="l">@android:color/transparent</item>
<!-- Customize your theme here. -->
<item name="android:navigationBarColor" tools:targetApi="l">@android:color/transparent</item>
</style>

<style name="Theme.PiHoleConnect.NoActionBar">
Expand All @@ -22,4 +23,4 @@
<style name="Theme.PiHoleConnect.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />

<style name="Theme.PiHoleConnect.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
</resources>
</resources>

0 comments on commit 998a44e

Please sign in to comment.