mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Update: Width/height factor of 1/2 for screenshots
This commit is contained in:
parent
0e3c36d3b2
commit
4c75a64927
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user