diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-06 16:27:03 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2020-04-06 19:56:53 +0530 |
commit | d6e5fd9301d6eb4381684180f9a7ee929b33515f (patch) | |
tree | 9071110501b60106b281776092c9a2858071d06d /ui/src/main/res/values | |
parent | 2c625f56fdebd0877d5c7dfca5261c0b594d588e (diff) |
ui: tweak cards to make them nicer on the eyes
Surprisingly-requested-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/values')
-rw-r--r-- | ui/src/main/res/values/styles.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/src/main/res/values/styles.xml b/ui/src/main/res/values/styles.xml index bfde4366..067c10b3 100644 --- a/ui/src/main/res/values/styles.xml +++ b/ui/src/main/res/values/styles.xml @@ -21,6 +21,14 @@ <item name="materialAlertDialogTheme">@style/AppTheme.Dialog</item> <item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents.ActionBar</item> <item name="textInputStyle">@style/TextInputLayoutBase</item> + <item name="materialCardViewStyle">@style/AppTheme.MaterialCardView</item> + </style> + + <style name="AppTheme.MaterialCardView" parent="Widget.MaterialComponents.CardView"> + <item name="cornerRadius">4dp</item> + <item name="cardElevation">4dp</item> + <item name="contentPadding">8dp</item> + <item name="cardBackgroundColor">?attr/elevationOverlayColor</item> </style> <style name="AppTheme.Dialog" parent="Theme.MaterialComponents.DayNight.Dialog.Alert"> |