mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-14 03:19:19 +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) {
|
image = object : ShapeableImageView(context) {
|
||||||
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
|
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
|
||||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec)
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec)
|
||||||
setMeasuredDimension(measuredWidth, measuredWidth)
|
setMeasuredDimension(measuredWidth, 2 * measuredWidth)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user