Bug 1389342 - Use value of 'favicon_small_size' as width/height for device icon in history page. r?nechen,walkingice draft
authorJing-wei Wu <topwu.tw@gmail.com>
Wed, 16 Aug 2017 14:40:03 +0800
changeset 647891 97e902d8ca933fe625887cb2ebb4876a982517d2
parent 647890 8df0ff32928a88bd8805ca3aa2a33e2d992bea04
child 647892 8cc156c8b7cd4aad85eb3431b2e243baefd61a00
push id74569
push userbmo:topwu.tw@gmail.com
push dateThu, 17 Aug 2017 01:40:57 +0000
reviewersnechen, walkingice
bugs1389342
milestone57.0a1
Bug 1389342 - Use value of 'favicon_small_size' as width/height for device icon in history page. r?nechen,walkingice The size of favicon in TwoLinePageRow has been changed to refer 'favicon_small_size', device icons in history page should use it as width and height to keep all icons have identical size. MozReview-Commit-ID: AdU52fUUUCr
mobile/android/app/src/main/res/layout/home_remote_tabs_group.xml
--- a/mobile/android/app/src/main/res/layout/home_remote_tabs_group.xml
+++ b/mobile/android/app/src/main/res/layout/home_remote_tabs_group.xml
@@ -11,20 +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_marginLeft="12dp"
-        android:layout_marginRight="12dp"
+        android:layout_width="@dimen/favicon_small_size"
+        android:layout_height="@dimen/favicon_small_size"
+        android:layout_marginLeft="20dp"
+        android:layout_marginRight="20dp"
         android:layout_gravity="center_vertical"
         android:scaleType="center"
         tools:src="@drawable/sync_mobile"/>
 
     <LinearLayout
         android:layout_width="0dp"
         android:layout_height="wrap_content"
         android:layout_weight="1"