mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-13 02:49:20 +00:00
Update: Width/height factor of 1/2 for screenshots
This commit is contained in:
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user