Bug 1023914 - Turn empty view image padding into margin. r=lucasr, a=lmandel
authorMargaret Leibovic <margaret.leibovic@gmail.com>
Fri, 13 Jun 2014 16:25:08 -0700
changeset 208220 1765a031396e7d7848cda57d2f4a7c6b122c23af
parent 208219 2e56e197cdbfc0d28a2b6772a0c28897491e9646
child 208221 f0e9e80048578ee445da7afe6e8a85a440cec0d4
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslucasr, lmandel
bugs1023914
milestone32.0a2
Bug 1023914 - Turn empty view image padding into margin. r=lucasr, 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
@@ -15,18 +15,17 @@
     <View android:layout_width="fill_parent"
           android:layout_height="0dip"
           android:layout_weight="1"/>
 
     <ImageView android:id="@+id/home_empty_image"
                android:layout_width="150dp"
                android:layout_height="150dp"
                android:gravity="top|center"
-               android:scaleType="center"
-               android:paddingBottom="10dp"/>
+               android:scaleType="fitCenter"/>
 
     <TextView android:id="@+id/home_empty_text"
               android:layout_width="fill_parent"
               android:layout_height="0dip"
               android:gravity="top|center"
               android:textAppearance="@style/TextAppearance.EmptyMessage"
               android:layout_weight="3"/>