use a better scaling type for widget previews
This commit is contained in:
parent
4964e7a933
commit
716b7fbfec
2 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,6 @@ class WidgetsAdapter(
|
|||
|
||||
Glide.with(activity)
|
||||
.load(widget.widgetPreviewImage)
|
||||
.fitCenter()
|
||||
.into(widgetPreview)
|
||||
|
||||
widgetPreview.setOnClickListener {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
android:layout_width="@dimen/widget_preview_size"
|
||||
android:layout_height="@dimen/widget_preview_size"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="centerInside"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@drawable/widget_preview_background"
|
||||
android:padding="@dimen/normal_margin"
|
||||
|
|
Loading…
Reference in a new issue