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 - Ebean enhancement ignores a model -

ubuntu - How to disable Kernel Module Signing in linux -

SQL php on different pages to Insert (mysqli) -