Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #40 from HotarunIchijou/main
Browse files Browse the repository at this point in the history
Transparent navigation and status bar color for light and dark theme
  • Loading branch information
SuhasDissa authored Oct 16, 2023
2 parents 4e3adcf + fc61cd4 commit 17ffdf7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
<resources>

<style name="Theme.Memerize" parent="android:Theme.Material.Light.NoActionBar" />
</resources>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">true</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</resources>
8 changes: 8 additions & 0 deletions app/src/main/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="Theme.Memerize" parent="android:Theme.Material.Dark.NoActionBar" />
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</resources>

0 comments on commit 17ffdf7

Please sign in to comment.