Skip to content

Instantly share code, notes, and snippets.

@hamzabasrai
Last active August 20, 2021 14:15
Show Gist options
  • Save hamzabasrai/d63631b3fb28fcc29fb7f5b13d1e707b to your computer and use it in GitHub Desktop.
Save hamzabasrai/d63631b3fb28fcc29fb7f5b13d1e707b to your computer and use it in GitHub Desktop.
<!-- res/values/styles.xml -->
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="navigationBarColor">@android:color/white</color>
<color name="navigationIconColor">@android:color/black</color>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:background">@null</item>
<item name="android:navigationBarColor">@color/navigationBarColor</item>
</style>
<style name="AppTheme.NoActionBarLaunch" parent="AppTheme.NoActionBar">
<item name="android:background">@drawable/splash</item>
</style>
</resources>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment