use a better scaling type for widget previews

This commit is contained in:
tibbi 2022-09-14 19:42:26 +02:00
parent 4964e7a933
commit 716b7fbfec
2 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,6 @@ class WidgetsAdapter(
Glide.with(activity)
.load(widget.widgetPreviewImage)
.fitCenter()
.into(widgetPreview)
widgetPreview.setOnClickListener {

View File

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