BUg 1061508 - Use FadedTextView in the toolbar (r=bnicholson)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 24 Sep 2014 18:27:44 +0100
changeset 206830 556258d3b939ad5f0ca82ba9810e78ad943662af
parent 206829 0f2bceed4532aca7e1368cd46b507c4c4cc67800
child 206831 36f08e5cfab0d9e780cac9e8d89d2b0b105a364e
push id8965
push userlrocha@mozilla.com
push dateWed, 24 Sep 2014 17:28:17 +0000
treeherderfx-team@556258d3b939 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbnicholson
bugs1061508
milestone35.0a1
BUg 1061508 - Use FadedTextView in the toolbar (r=bnicholson)
mobile/android/base/resources/layout/toolbar_display_layout.xml
--- a/mobile/android/base/resources/layout/toolbar_display_layout.xml
+++ b/mobile/android/base/resources/layout/toolbar_display_layout.xml
@@ -18,22 +18,23 @@
                  style="@style/UrlBar.ImageButton"
                  android:layout_width="@dimen/browser_toolbar_lock_width"
                  android:scaleType="fitCenter"
                  android:layout_marginLeft="-4dip"
                  android:src="@drawable/site_security_level"
                  android:contentDescription="@string/site_security"
                  android:visibility="gone"/>
 
-    <org.mozilla.gecko.widget.ThemedTextView android:id="@+id/url_bar_title"
-                                             style="@style/UrlBar.Title"
-                                             android:layout_width="match_parent"
-                                             android:layout_height="match_parent"
-                                             android:layout_weight="1.0"
-                                             gecko:autoUpdateTheme="false"/>
+    <org.mozilla.gecko.widget.FadedTextView android:id="@+id/url_bar_title"
+                                            style="@style/UrlBar.Title"
+                                            android:layout_width="match_parent"
+                                            android:layout_height="match_parent"
+                                            android:layout_weight="1.0"
+                                            gecko:fadeWidth="40dip"
+                                            gecko:autoUpdateTheme="false"/>
 
     <org.mozilla.gecko.toolbar.PageActionLayout android:id="@+id/page_action_layout"
                                                 android:layout_width="wrap_content"
                                                 android:layout_height="match_parent"
                                                 android:visibility="gone"
                                                 android:orientation="horizontal"/>
 
     <ImageButton android:id="@+id/stop"