Bug 855016 - Make the promobox show a focus highlight. r=sriram

This commit is contained in:
Kartikaya Gupta 2013-03-28 11:36:15 -04:00
parent eb296268de
commit b281451ab3
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,8 @@
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@drawable/abouthome_promo_box_pressed_bg"/>
<!-- TODO: create a new 9-patch for focused state (bug 855013). For now re-use the pressed state image -->
<item android:state_focused="true" android:drawable="@drawable/abouthome_promo_box_pressed_bg"/>
<item android:drawable="@drawable/abouthome_promo_box_bg"/>
</selector>

View File

@ -63,7 +63,8 @@
android:clickable="true"
android:textSize="15sp"
android:textColor="#FFFFFF"
android:visibility="gone"/>
android:visibility="gone"
android:focusable="true"/>
<org.mozilla.gecko.AboutHomeSection android:id="@+id/last_tabs"
android:layout_width="fill_parent"