Bug 1127237 - Text from history panel is not entirely displayed. r=liuche, a=lmandel
authorAllison Naaktgeboren <ally@mozilla.com>
Tue, 03 Feb 2015 15:32:00 -0500
changeset 243711 6f3775d5c839
parent 243710 581876946dcf
child 243712 3347b3531c98
push id4449
push userryanvm@gmail.com
push date2015-02-09 15:46 +0000
treeherdermozilla-beta@130e59d97b15 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche, lmandel
bugs1127237
milestone36.0
Bug 1127237 - Text from history panel is not entirely displayed. r=liuche, a=lmandel
mobile/android/base/resources/layout/home_empty_panel.xml
--- a/mobile/android/base/resources/layout/home_empty_panel.xml
+++ b/mobile/android/base/resources/layout/home_empty_panel.xml
@@ -20,23 +20,22 @@
                android:layout_width="90dp"
                android:layout_height="90dp"
                android:layout_marginBottom="10dp"
                android:gravity="top|center"
                android:scaleType="fitCenter"/>
 
     <TextView android:id="@+id/home_empty_text"
               android:layout_width="match_parent"
-              android:layout_height="0dip"
+              android:layout_height="wrap_content"
               android:gravity="top|center"
-              android:textAppearance="@style/TextAppearance.EmptyMessage"
-              android:layout_weight="1"/>
+              android:textAppearance="@style/TextAppearance.EmptyMessage"/>
 
     <TextView android:id="@+id/home_empty_hint"
-              android:layout_width="match_parent"
+              android:layout_width="wrap_content"
               android:layout_height="wrap_content"
               android:visibility="gone"
               android:gravity="top|center"
               android:textAppearance="@style/TextAppearance.EmptyHint"
               android:textColorLink="#FFA62F" />
     <!-- Empty spacer view -->
     <View android:layout_width="match_parent"
           android:layout_height="0dip"