From 4c75a64927d6ccc1f24300f30beec5663db903d0 Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Wed, 20 Oct 2021 00:42:59 +0200 Subject: [PATCH] Update: Width/height factor of 1/2 for screenshots --- src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt b/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt index 4a1ee7d9..1ee9d6c5 100644 --- a/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt +++ b/src/main/kotlin/com/looker/droidify/screen/ProductAdapter.kt @@ -471,7 +471,7 @@ class ProductAdapter(private val callbacks: Callbacks, private val columns: Int) image = object : ShapeableImageView(context) { override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { super.onMeasure(widthMeasureSpec, heightMeasureSpec) - setMeasuredDimension(measuredWidth, measuredWidth) + setMeasuredDimension(measuredWidth, 2 * measuredWidth) } }