BUg 1061508 - Use FadedTextView in the toolbar (r=bnicholson)
authorLucas Rocha <lucasr@mozilla.com>
Wed, 24 Sep 2014 18:27:44 +0100
changeset 206901 556258d3b939ad5f0ca82ba9810e78ad943662af
parent 206900 0f2bceed4532aca7e1368cd46b507c4c4cc67800
child 206902 36f08e5cfab0d9e780cac9e8d89d2b0b105a364e
push id27543
push userryanvm@gmail.com
push dateWed, 24 Sep 2014 20:02:22 +0000
treeherdermozilla-central@435732392989 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbnicholson
bugs1061508
milestone35.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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"