An application with a lot of images that you can drag and drop

I am creating an application that can basically select a set of images from the application gallery, place them on the screen, and then resize, drag and drop or something on the image.

Should I use a simple FrameLayout / RelativeLayout with ImageViews and OnTouchListener in ImageViews, or should I use the canvas and handle all this manually? Can someone show me some direction here?

0
android ontouchlistener
source share
1 answer

Use this lib https://github.com/thuytrinh/android-collage-views

<com.thuytrinh.android.collageviewsdemo.CollageView android:id="@+id/collageView2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:src="@drawable/green" /> 
+1
source share

All Articles