Open passmanagerapp opened 3 years ago
I cannot answer bug reports when the template has been deleted. You haven't provided any of the requested information, particularly sample code, expected behaviour and screenshots of observed behaviour.
Here is the source code: It doesn't fit the screen
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView android:id="@+id/animalDrawable" android:layout_width="match_parent" android:layout_height="match_parent" />
binding.animalDrawable.setImage(ImageSource.resource(R.drawable.ant)
@davemorrissey
This is working correctly, as you've configured it. scaleType is not supported by SSIV because it is not an ImageView. You may want setMinimumScaleType(SCALE_TYPE_CENTER_CROP) but as you haven't described what you're expecting I'm not sure.
Sorry if I was bad to explain my problem. My problem is the image doesn't fit the screen when I don't specify any setMinimumScaleType. In normal ImageView when I use scaleType= fitXy it does fit the screen. But there is no feature like fitXy in your library, I think.
For example in tablets when I use CENTER_CROP, it doesn't fit the screen.
@davemorrissey
The image doesn't fit the imageView