Commit 3fcfffec authored by Fahim's avatar Fahim
Browse files

fix dark mode color issues for advance pad & history page

- add dark-mode colors for advance pad
- fix history page toolbar color in dark-mode
parent 8d646c59
......@@ -31,7 +31,7 @@
android:minHeight="?android:attr/actionBarSize"
android:navigationContentDescription="@string/desc_navigate_up"
android:navigationIcon="?android:attr/homeAsUpIndicator"
android:popupTheme="@android:style/ThemeOverlay.Material.Light"
android:popupTheme="@style/Theme.Toolbar.Popup"
android:theme="@style/Theme.Toolbar"
android:title="@string/title_history" />
......
......@@ -39,4 +39,13 @@
<!-- Ripple color when a button is pressed in a pad. -->
<color name="pad_button_ripple_color">#33FFFFFF</color>
<!-- Background color for the advanced pad. -->
<color name="pad_advanced_background_color">#131313</color>
<!-- Text color for a button in the advanced pad. -->
<color name="pad_button_advanced_text_color">#CCFFFFFF</color>
<!-- Ripple color when a button is pressed in a pad. -->
<color name="pad_button_advanced_ripple_color">#1AFFFFFF</color>
</resources>
......@@ -24,4 +24,5 @@
</style>
<style name="Theme.Toolbar" parent="@android:style/ThemeOverlay.Material.Dark.ActionBar" />
<style name="Theme.Toolbar.Popup" parent="@android:style/ThemeOverlay.Material.Dark" />
</resources>
......@@ -48,7 +48,7 @@
<color name="pad_operator_background_color">@color/calculator_statusbar_color</color>
<!-- Background color for the advanced pad. -->
<color name="pad_advanced_background_color">#ececec</color>
<color name="pad_advanced_background_color">@lineageos.platform:color/color_default_deep_grey</color>
<!-- Text color for a button in a pad. -->
<color name="pad_button_text_color">#333</color>
......
......@@ -17,4 +17,5 @@
<resources>
<style name="Theme.Toolbar" parent="@android:style/ThemeOverlay.Material.ActionBar" />
<style name="Theme.Toolbar.Popup" parent="@android:style/ThemeOverlay.Material.Light" />
</resources>
Supports Markdown
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