Bug 1091461 - Fix Tapping anywhere under the 'Private Browsing' tip in the History panel will open the Custom menu when it shouldn't. r=liuche, a=sledru
authorAllison Naaktgeboren <ally@mozilla.com>
Wed, 21 Jan 2015 15:10:11 -0800
changeset 243074 f9d1601a87b1
parent 243073 e26bc7acea8e
child 243075 a4e0de0e6aaa
push id4382
push userryanvm@gmail.com
push date2015-01-28 14:58 +0000
treeherdermozilla-beta@f35aa2298df8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersliuche, sledru
bugs1091461
milestone36.0
Bug 1091461 - Fix Tapping anywhere under the 'Private Browsing' tip in the History panel will open the Custom menu when it shouldn't. r=liuche, a=sledru
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
@@ -23,21 +23,24 @@
                android:gravity="top|center"
                android:scaleType="fitCenter"/>
 
     <TextView android:id="@+id/home_empty_text"
               android:layout_width="match_parent"
               android:layout_height="0dip"
               android:gravity="top|center"
               android:textAppearance="@style/TextAppearance.EmptyMessage"
-              android:layout_weight="2"/>
+              android:layout_weight="1"/>
 
     <TextView android:id="@+id/home_empty_hint"
               android:layout_width="match_parent"
-              android:layout_height="0dip"
+              android:layout_height="wrap_content"
               android:visibility="gone"
               android:gravity="top|center"
               android:textAppearance="@style/TextAppearance.EmptyHint"
-              android:textColorLink="#FFA62F"
-              android:layout_weight="4"/>
+              android:textColorLink="#FFA62F" />
+    <!-- Empty spacer view -->
+    <View android:layout_width="match_parent"
+          android:layout_height="0dip"
+          android:layout_weight="2"/>
 
 </LinearLayout>