Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How drag and adjust the image in a imageView of android and then mask that imageview with another

 
Avnish Singh
Greenhorn
Posts: 2
Android
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to perform an action in android according to which we can drag and adjust the image in image View of android and then apply masking to it.
Below is my code for masking an image


But this code is only for masking .How can i drag and adjust the image first and then perform masking on it .like mask only the human face in image .
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This other thread about Touch should help you with moving things based on touch.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!