Commit 32dd2a45 authored by HashikD's avatar HashikD
Browse files

Changed background and button colors of dialog

parent 7919aa9f
......@@ -8,4 +8,7 @@
<color name="snowflakeOff">#AAAAAA</color>
<color name="snowflakeOn">#8000D7</color>
<color name="snowflakeConnected">#00FFB0</color>
<color name="positiveButton">#8000D7</color>
<color name="negativeButton">#757575</color>
</resources>
......@@ -8,6 +8,20 @@
<item name="colorAccent">@color/colorAccent</item>
<item name="android:textColor">@color/preference_textview_color</item>
<item name="android:textColorSecondary">@color/colorTextSecondary</item>
<item name="alertDialogTheme">@style/AlertDialogTheme</item>
</style>
<style name="AlertDialogTheme" parent="ThemeOverlay.AppCompat.Dialog.Alert">
<item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
<item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
<item name="android:background">@color/colorPrimary</item>
</style>
<style name="NegativeButtonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
<item name="android:textColor">@color/negativeButton</item>
</style>
<style name="PositiveButtonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
<item name="android:textColor">@color/positiveButton</item>
</style>
</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