Skip to content

Instantly share code, notes, and snippets.

@HugoMatilla
Created October 19, 2020 18:33
Show Gist options
  • Save HugoMatilla/8dad8cd92a396fd485b5b963a7c74e3e to your computer and use it in GitHub Desktop.
Save HugoMatilla/8dad8cd92a396fd485b5b963a7c74e3e to your computer and use it in GitHub Desktop.
// ThemeOverlay Style
<style name="ThemeOverlay.MyApp.Inverse" parent="">
<item name="colorPrimary">@color/white</item>
<item name="colorPrimaryVariant">@color/whiteDark</item>d
<item name="colorOnPrimary">@color/brandPink</item>
<item name="colorOnSurface">@color/white</item>
<item name="colorSurface">@color/brandPinkDark</item>
<item name="android:textColor">@color/white</item>
</style>
// Layout
<LinearLayout
...
android:theme="@style/ThemeOverlay.MyApp.Inverse">
<LinearLayout
...
android:background="?attr/colorSurface">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment