android-collage-views icon indicating copy to clipboard operation
android-collage-views copied to clipboard

Bottom image on top of other images

Open vikky001 opened this issue 10 years ago • 1 comments

Hi, Am using this library code to make collage ,but i don't know how to get selected bottom image on top of other image.Because the last image always comes under other images.

Thanks

vikky001 avatar Jan 19 '15 08:01 vikky001

Go to ScaleGestureDetector and add view.bringToFront to the ACTION_DOWN like below, if (action == MotionEvent.ACTION_DOWN) { reset(); // Start fresh view.bringToFront();//Add this line view.getParent().requestLayout(); }

ammarhameed avatar Apr 12 '15 20:04 ammarhameed