R
R
RusSanta2017-08-01 18:54:48
Android
RusSanta, 2017-08-01 18:54:48

How can I make a scaling image view?

I need to make custom image view scaling using scalegesture, I'm just trying to do scaleX, scaleY in the onScale event handling, it works, but not very high quality, the view twitches, does anyone have a solution? In addition to this, my view should also be moved with the movement of a finger, but I did it normally

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shamsudin Serderov, 2017-08-01
@Steein

android:adjustViewBounds="true"
android:scaleType="centerCrop"

there is also a git library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question