summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andrew Sapperstein <asapperstein@google.com> 2016-07-13 13:04:13 -0700
committer Andrew Sapperstein <asapperstein@google.com> 2016-07-13 13:04:13 -0700
commit418e09fc43beaad1b034ab5b840a74c38bf11204 (patch)
tree237e44942e8dd70a9c6b0a85137c71a7701b43c7
parent8b31db362116187b40e256a09f44254e8b3c437e (diff)
Use colorControlHighlight for print button ripple.
Instead of using #eeff41 (a random shade of yellow), use the default color for ripples. Change-Id: I32fc7e9a10a994deb2066941c96457ad8549dd11 Fixes: 30115080
-rw-r--r--packages/PrintSpooler/res/drawable/print_button.xml2
-rw-r--r--packages/PrintSpooler/res/values/colors.xml2
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/PrintSpooler/res/drawable/print_button.xml b/packages/PrintSpooler/res/drawable/print_button.xml
index b59afba80293..01141032e66f 100644
--- a/packages/PrintSpooler/res/drawable/print_button.xml
+++ b/packages/PrintSpooler/res/drawable/print_button.xml
@@ -16,7 +16,7 @@
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
- android:color="@color/print_button_tint_color">
+ android:color="?android:attr/colorControlHighlight">
<item
android:drawable="@drawable/print_button_background">
</item>
diff --git a/packages/PrintSpooler/res/values/colors.xml b/packages/PrintSpooler/res/values/colors.xml
index 47e616ef40c7..9464c678e59c 100644
--- a/packages/PrintSpooler/res/values/colors.xml
+++ b/packages/PrintSpooler/res/values/colors.xml
@@ -16,8 +16,6 @@
<resources>
- <color name="print_button_tint_color">#EEFF41</color>
-
<color name="print_preview_scrim_color">#99000000</color>
<color name="print_preview_background_color">#F2F1F2</color>