Bug 1127237 - Text from history panel is not entirely displayed. r=liuche
authorAllison Naaktgeboren <ally@mozilla.com>
Tue, 03 Feb 2015 15:32:00 -0500
changeset 227659 5b82617f158dd3b608bcd876ac752c27ed7cbcdd
parent 227658 f0ff5147c6e1356c15860e72ccee47dc5babc07d
child 227660 434a86b48ee0068f71702af7d513b4424ffb361e
push id28236
push userryanvm@gmail.com
push dateThu, 05 Feb 2015 22:15:34 +0000
treeherdermozilla-central@71972672e292 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche
bugs1127237
milestone38.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 1127237 - Text from history panel is not entirely displayed. r=liuche
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"