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
--- 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"