aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-12 09:20:33 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-12 09:20:33 +0000
commitb1b3642ca8ceb159282dc684be2d75afa4b37a91 (patch)
tree9a3705247f903aed74c158c9ffb3f56f0a1b5e19 /app/src/main/res/values/styles.xml
parent4df18af91447d7fcd9768f0b5a8f71974f826280 (diff)
downloadinfinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.gz
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.bz2
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.lz
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.xz
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.tar.zst
infinity-for-reddit-b1b3642ca8ceb159282dc684be2d75afa4b37a91.zip
Deleting and editing posts are now available.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 75f23b15..0b20ce0e 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -46,5 +46,18 @@
<item name="tabBackground">?attr/selectableItemBackground</item>
<item name="tabSelectedTextColor">@android:color/white</item>
</style>
+
+ <style name="MaterialAlertDialogTheme" parent="ThemeOverlay.MaterialComponents.MaterialAlertDialog">
+ <item name="buttonBarPositiveButtonStyle">@style/MaterialAlertDialogPositiveButtonStyle</item>
+ <item name="buttonBarNegativeButtonStyle">@style/MaterialAlertDialogNegativeButtonStyle</item>
+ </style>
+
+ <style name="MaterialAlertDialogPositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
+ <item name="android:textColor">@color/colorAccent</item>
+ </style>
+
+ <style name="MaterialAlertDialogNegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
+ <item name="android:textColor">@color/primaryTextColor</item>
+ </style>
</resources>