Bug 1279807 - History panel smartfolder icons are much too big on HDPI devices. r=JanH draft
authorChenxia Liu <liuche@mozilla.com>
Wed, 15 Jun 2016 11:26:07 +0100
changeset 378165 5a8056d4d61002a0de899539276a7f44dafcbee0
parent 378038 5003caf3aa25dad509e53c68d2ee39de58fe5ec5
child 523480 6a8c94608b7eb7a61d6b8595357b5452bf5ded25
push id20950
push usercliu@mozilla.com
push dateWed, 15 Jun 2016 10:38:04 +0000
reviewersJanH
bugs1279807
milestone50.0a1
Bug 1279807 - History panel smartfolder icons are much too big on HDPI devices. r=JanH MozReview-Commit-ID: 3QzOl0Fh4Cm
mobile/android/base/resources/layout/home_smartfolder.xml
--- a/mobile/android/base/resources/layout/home_smartfolder.xml
+++ b/mobile/android/base/resources/layout/home_smartfolder.xml
@@ -11,21 +11,20 @@
     style="@style/Widget.RemoteTabsClientView"
     android:gravity="center_vertical"
     android:layout_width="match_parent"
     android:layout_height="@dimen/home_header_item_height"
     android:minHeight="@dimen/home_header_item_height">
 
     <ImageView
         android:id="@+id/device_type"
-        android:layout_width="@dimen/favicon_bg"
-        android:layout_height="@dimen/favicon_bg"
-        android:layout_margin="16dp"
-        android:padding="2dp"
-        android:scaleType="center"
+        android:layout_width="26dp"
+        android:layout_height="18dp"
+        android:layout_margin="20dp"
+        android:scaleType="fitCenter"
         android:layout_gravity="center_vertical"
         tools:src="@drawable/cloud"/>
 
     <LinearLayout
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_weight="1"
         android:orientation="vertical">