-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Material2 / Material3 themes (#42)
- Loading branch information
Showing
21 changed files
with
194 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="windowLightSystemBars">false</bool> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="windowLightSystemBars">false</bool> | ||
</resources> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="windowLightSystemBars">true</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="Theme.EdgeToEdge.Base" parent="Theme.AppCompat.DayNight.NoActionBar"> | ||
<item name="android:windowLightStatusBar">true</item> | ||
<item name="android:windowLightNavigationBar">true</item> | ||
<style name="Theme.EdgeToEdge" parent="Theme.EdgeToEdge.Common"> | ||
<item name="android:windowLightNavigationBar">@bool/windowLightSystemBars</item> | ||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> | ||
</style> | ||
|
||
<style name="Theme.EdgeToEdge" parent="Theme.EdgeToEdge.Common"> | ||
<style name="Theme.EdgeToEdge.Material2" parent="Theme.EdgeToEdge.Material2.Common"> | ||
<item name="android:windowLightNavigationBar">@bool/windowLightSystemBars</item> | ||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> | ||
</style> | ||
|
||
<style name="Theme.EdgeToEdge.Material3" parent="Theme.EdgeToEdge.Material3.Common"> | ||
<item name="android:windowLightNavigationBar">@bool/windowLightSystemBars</item> | ||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> | ||
</style> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<bool name="windowLightSystemBars">true</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<public name="Theme.EdgeToEdge" type="style" /> | ||
<public name="Theme.EdgeToEdge.Material2" type="style" /> | ||
<public name="Theme.EdgeToEdge.Material3" type="style" /> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,30 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<style name="Theme.EdgeToEdge.Base" parent="Theme.AppCompat.DayNight.NoActionBar"> | ||
<item name="android:windowLightStatusBar">true</item> | ||
<style name="Theme.EdgeToEdge.Common" parent="Theme.AppCompat.DayNight.NoActionBar"> | ||
<item name="android:windowDrawsSystemBarBackgrounds">true</item> | ||
<item name="android:fitsSystemWindows">false</item> | ||
<item name="android:navigationBarColor">@color/navigationBarColor</item> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
<item name="android:windowLightStatusBar">@bool/windowLightSystemBars</item> | ||
</style> | ||
|
||
<style name="Theme.EdgeToEdge.Common" parent="Theme.EdgeToEdge.Base"> | ||
<item name="android:fitsSystemWindows">false</item> | ||
<style name="Theme.EdgeToEdge.Material2.Common" parent="Theme.MaterialComponents.DayNight.NoActionBar"> | ||
<item name="android:windowDrawsSystemBarBackgrounds">true</item> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
<item name="android:fitsSystemWindows">false</item> | ||
<item name="android:navigationBarColor">@color/navigationBarColor</item> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
<item name="android:windowLightStatusBar">@bool/windowLightSystemBars</item> | ||
</style> | ||
|
||
<style name="Theme.EdgeToEdge" parent="Theme.EdgeToEdge.Common"> | ||
<style name="Theme.EdgeToEdge.Material3.Common" parent="Theme.Material3.DayNight.NoActionBar"> | ||
<item name="android:windowDrawsSystemBarBackgrounds">true</item> | ||
<item name="android:fitsSystemWindows">false</item> | ||
<item name="android:navigationBarColor">@color/navigationBarColor</item> | ||
<item name="android:statusBarColor">@android:color/transparent</item> | ||
<item name="android:windowLightStatusBar">@bool/windowLightSystemBars</item> | ||
</style> | ||
|
||
<style name="Theme.EdgeToEdge" parent="Theme.EdgeToEdge.Common" /> | ||
<style name="Theme.EdgeToEdge.Material2" parent="Theme.EdgeToEdge.Material2.Common" /> | ||
<style name="Theme.EdgeToEdge.Material3" parent="Theme.EdgeToEdge.Material3.Common" /> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.