android - Using "setImageBitmap" and center image to point -


i have dialog box has bitmap image , 2 points it. setting image view using setimagebitmap(). works fine looking re-centre image point passed. ie user clicks on screen , dialog appears image centre of image user clicked

view.setimagebitmap(bitmap); view.setcroptopadding(false);   

thanks


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -