I need to handle touch events only for scaled/translated/rotated ImageView (only resource part). Setting touch event on ImageView it handles the whole screen .not the resource part. Any ideas are appreciated.
Asked
Active
Viewed 39 times
1 Answers
0
By setting android:adjustViewBounds
to true the ImageView will resize to the size of the resource. Of course the layout needs to be adapted to that. If you want to center for example you could place your ImageView inside of a RelativeLayout with centerInParent
.

Christian
- 4,596
- 1
- 26
- 33