summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-04-15 14:24:18 -0700
committerAlan Viverette <alanv@google.com>2015-04-15 14:24:18 -0700
commitddb78b894154b4ddfbf04ad5f86df5d2f1105182 (patch)
treec1c95f0d24255b587fb7f02bd1ca4b45eb766544
parent4b46ed3b425493b56d4c32b0a45f5338b2674889 (diff)
downloadframeworks_base-ddb78b894154b4ddfbf04ad5f86df5d2f1105182.zip
frameworks_base-ddb78b894154b4ddfbf04ad5f86df5d2f1105182.tar.gz
frameworks_base-ddb78b894154b4ddfbf04ad5f86df5d2f1105182.tar.bz2
Add focused state color to rating bar
Bug: 20257862 Change-Id: I76a9aade5cb116278293e49fe3a817945eee6d1c
-rw-r--r--core/res/res/color/ratingbar_background_material.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/res/res/color/ratingbar_background_material.xml b/core/res/res/color/ratingbar_background_material.xml
index e6f7488..5af6de1 100644
--- a/core/res/res/color/ratingbar_background_material.xml
+++ b/core/res/res/color/ratingbar_background_material.xml
@@ -20,6 +20,10 @@
android:color="?attr/colorControlActivated"
android:alpha="?attr/disabledAlpha" />
<item
+ android:state_focused="true"
+ android:color="?attr/colorControlActivated"
+ android:alpha="?attr/disabledAlpha" />
+ <item
android:color="?attr/colorControlNormal"
android:alpha="?attr/disabledAlpha" />
</selector>