Bug 1388554 - Adjust smart folder icon size to prevent icon cropped. r=maliu,nechen

The size of smart folder icon should be identical to favicon in TwoLinePageRow.
Also change scaleType from 'center' to 'centerInside' to prevent icon cropped.

MozReview-Commit-ID: 62vazt7EW4B

--HG--
extra : rebase_source : 3e2acfe3eea087a2a201dbf2bf47e6981380c7b8
This commit is contained in:
Jing-wei Wu 2017-08-09 15:14:29 +08:00
Родитель bf76d9f860
Коммит 795d1f97fc
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -16,12 +16,12 @@
<ImageView
android:id="@+id/device_type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="@dimen/favicon_small_size"
android:layout_height="@dimen/favicon_small_size"
android:layout_margin="20dp"
android:scaleType="center"
android:scaleType="centerInside"
android:layout_gravity="center_vertical"
tools:src="@drawable/cloud"/>
tools:src="@drawable/icon_recent"/>
<LinearLayout
android:layout_width="0dp"