зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
bf76d9f860
Коммит
795d1f97fc
|
@ -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"
|
||||
|
|
Загрузка…
Ссылка в новой задаче