Skip to content

Instantly share code, notes, and snippets.

@hiking93
Last active July 21, 2022 19:47
Show Gist options
  • Save hiking93/1dd49d534970164ffbefb47ea8f58908 to your computer and use it in GitHub Desktop.
Save hiking93/1dd49d534970164ffbefb47ea8f58908 to your computer and use it in GitHub Desktop.
Edge-to-edge theme configuration with Material 3.
<style name="Theme.App" parent="Theme.Material3.DayNight.NoActionBar">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar">?isLightTheme</item>
<item name="android:windowLightNavigationBar">?isLightTheme</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment