Commit 6a2e5bce authored by michael lundquist's avatar michael lundquist

Adding a new style that overrides the dark theme instead of the light theme. I...

Adding a new style that overrides the dark theme instead of the light theme. I will test applying this theme in the next commit when I change the app's theme dynamically from the settings menu.
parent 0504c4d1
Pipeline #2952 passed with stages
in 3 minutes and 49 seconds
......@@ -14,4 +14,18 @@
</style>
<!-- Dark theme when the dark button from the preferences settings screen is clicked,
the theme switches to this theme.-->
<style name="darkTheme" parent="Theme.AppCompat.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:colorControlHighlight">@color/tabButtonPressed</item>
<item name="android:homeAsUpIndicator">@drawable/ic_arrow_back_white</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="android:windowContentTransitions">true</item>
</style>
</resources>
\ No newline at end of file
......@@ -11,4 +11,14 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>
<!-- Dark theme when the dark button from the preferences settings screen is clicked,
the theme switches to this theme.-->
<style name="darkTheme" parent="Theme.AppCompat.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:homeAsUpIndicator">@drawable/ic_arrow_back_white</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
</style>
</resources>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment