Skip to content

Commit e1aacdf

Browse files
Peter NgAndroid (Google) Code Review
authored andcommitted
Merge "Added focused state to quickcontacts shortcut" into ics-mr1
2 parents 4d8ecc6 + d52ec9f commit e1aacdf

8 files changed

+12
-12
lines changed
721 Bytes
Loading
653 Bytes
Loading
456 Bytes
Loading
396 Bytes
Loading
765 Bytes
Loading
639 Bytes
Loading

core/res/res/drawable/quickcontact_badge_overlay_dark.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
-->
1616

1717
<selector xmlns:android="http://schemas.android.com/apk/res/android">
18-
<item
19-
android:state_focused="false"
20-
android:state_selected="false"
21-
android:state_pressed="false"
22-
android:drawable="@drawable/quickcontact_badge_overlay_normal_dark" />
23-
2418
<item
2519
android:state_pressed="true"
2620
android:drawable="@drawable/quickcontact_badge_overlay_pressed_dark" />
21+
<item
22+
android:state_pressed="false"
23+
android:state_focused="true"
24+
android:drawable="@drawable/quickcontact_badge_overlay_focused_dark" />
25+
<item
26+
android:drawable="@drawable/quickcontact_badge_overlay_normal_dark" />
2727

2828
</selector>

core/res/res/drawable/quickcontact_badge_overlay_light.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
-->
1616

1717
<selector xmlns:android="http://schemas.android.com/apk/res/android">
18-
<item
19-
android:state_focused="false"
20-
android:state_selected="false"
21-
android:state_pressed="false"
22-
android:drawable="@drawable/quickcontact_badge_overlay_normal_light" />
23-
2418
<item
2519
android:state_pressed="true"
2620
android:drawable="@drawable/quickcontact_badge_overlay_pressed_light" />
21+
<item
22+
android:state_pressed="false"
23+
android:state_focused="true"
24+
android:drawable="@drawable/quickcontact_badge_overlay_focused_light" />
25+
<item
26+
android:drawable="@drawable/quickcontact_badge_overlay_normal_light" />
2727

2828
</selector>

0 commit comments

Comments
 (0)