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

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

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

java - Cannot secure connection using TLS -