Bug 996708 - Set an explicit width/height for images in dynamic panel empty views. r=lucasr
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Wed, 28 May 2014 12:06:55 -0700
changeset 185322 25bad10a57c4e8d41bb792cf45022e2534f18dbe
parent 185321 a3f38364796686fb7787fb2868dd0ed25a20089a
child 185323 d0088930759447f92d9a1773c6e20329254b049e
push id7017
push usermleibovic@mozilla.com
push dateWed, 28 May 2014 19:07:11 +0000
treeherderfx-team@626f73b5a4f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr
bugs996708
milestone32.0a1
Bug 996708 - Set an explicit width/height for images in dynamic panel empty views. r=lucasr
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
@@ -12,18 +12,18 @@
               android:paddingRight="50dp">
 
     <!-- Empty spacer view -->
     <View android:layout_width="fill_parent"
           android:layout_height="0dip"
           android:layout_weight="1"/>
 
     <ImageView android:id="@+id/home_empty_image"
-               android:layout_width="wrap_content"
-               android:layout_height="wrap_content"
+               android:layout_width="150dp"
+               android:layout_height="150dp"
                android:gravity="top|center"
                android:scaleType="center"
                android:paddingBottom="10dp"/>
 
     <TextView android:id="@+id/home_empty_text"
               android:layout_width="fill_parent"
               android:layout_height="0dip"
               android:gravity="top|center"