Bug 1091673 - Use FadedTextView in new_tablet_tabs_item_cell.xml (r=lucasr)

This commit is contained in:
Martyn Haigh 2014-11-04 16:09:17 +00:00
parent bb787d958f
commit c799984835

View File

@ -4,6 +4,7 @@
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<org.mozilla.gecko.tabs.TabsLayoutItemView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:gecko="http://schemas.android.com/apk/res-auto"
style="@style/TabsItem"
android:focusable="true"
android:id="@+id/info"
@ -21,7 +22,7 @@
android:paddingRight="@dimen/new_tablet_tab_highlight_stroke_width"
android:paddingBottom="@dimen/new_tablet_tab_highlight_stroke_width">
<TextView android:id="@+id/title"
<org.mozilla.gecko.widget.FadedTextView android:id="@+id/title"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="1.0"
@ -29,7 +30,9 @@
android:textSize="14sp"
android:textColor="@color/new_tablet_tab_item_title"
android:singleLine="true"
android:duplicateParentState="true"/>
android:duplicateParentState="true"
gecko:fadeWidth="15dp"
android:paddingRight="5dp"/>
<ImageButton android:id="@+id/close"
style="@style/TabsItemClose"