aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-11-09 17:35:33 -0800
committerScott Jackson <daneren2005@gmail.com>2015-11-09 17:35:33 -0800
commit69958bafdf2bf495a7ac3cd5888e5167cf9d8745 (patch)
tree1ec9932a434dc3725a681363c4c718ed7c74670b /app/src
parentd396e0120e6d8a910e2e36e80c2656c83b80d745 (diff)
downloaddsub-69958bafdf2bf495a7ac3cd5888e5167cf9d8745.tar.gz
dsub-69958bafdf2bf495a7ac3cd5888e5167cf9d8745.tar.bz2
dsub-69958bafdf2bf495a7ac3cd5888e5167cf9d8745.zip
Make notifications on L+ have ripple effect backgrounds
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/res/values-v21/styles.xml4
-rw-r--r--app/src/main/res/values/styles.xml4
2 files changed, 7 insertions, 1 deletions
diff --git a/app/src/main/res/values-v21/styles.xml b/app/src/main/res/values-v21/styles.xml
index f85d2f23..10f6ffc0 100644
--- a/app/src/main/res/values-v21/styles.xml
+++ b/app/src/main/res/values-v21/styles.xml
@@ -3,8 +3,12 @@
<style name="NotificationText.Title" parent="@android:style/TextAppearance.Material.Notification.Title"></style>
<style name="NotificationText.Content" parent="@android:style/TextAppearance.Material.Notification"></style>
+ <style name="NotificationButton" parent="NotificationButtonBase">
+ <item name="android:background">?android:selectableItemBackgroundBorderless</item>
+ </style>
<style name="NotificationButton.Expanded" parent="@style/NotificationButton.ExpandedBase">
<item name="android:padding">2dip</item>
+ <item name="android:background">?android:selectableItemBackgroundBorderless</item>
</style>
<style name="NotificationLayoutDivider">
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 30ca0315..0b45b69e 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -3,7 +3,7 @@
<style name="BasicButton">
<item name="android:background">?attr/selectableItemBackgroundBorderless</item>
</style>
- <style name="NotificationButton">
+ <style name="NotificationButtonBase">
<item name="android:background">?android:selectableItemBackground</item>
<item name="android:layout_width">46dip</item>
<item name="android:layout_height">fill_parent</item>
@@ -11,6 +11,8 @@
<item name="android:scaleType">fitCenter</item>
<item name="android:padding">2dip</item>
</style>
+ <style name="NotificationButton" parent="NotificationButtonBase">
+ </style>
<style name="NotificationButton.ExpandedBase">
<item name="android:background">?android:selectableItemBackground</item>