DraggableView

Additional

Language
Java
Version
v1.0.1 (Sep 9, 2015)
Created
Sep 8, 2015
Updated
Sep 10, 2015 (Retired)
Owner
Eugene Levenetc (elevenetc)
Contributor
Eugene Levenetc (elevenetc)
1
Activity
Badge
Generate
Download
Source code
APK file

Blurb

DraggableView

Draggable views with rotation and skew/scale effects.

Usage

  1. Implement DragController.IDragViewGroup
  2. Create instance of DragController
  3. Override onTouchEvent of your ViewGroup and call DragController#onTouchEvent:
@Override public boolean onTouchEvent(MotionEvent event) {
 return dragController.onTouchEvent(event);
}

See full sample at SampleGridContainer

Animation adjustments

SkewView and RotateView containe multipliers which change rotation, skew and scale values.

Download

repositories {
    maven { url "https://jitpack.io" }
}
//...
dependencies {
    //...
    compile 'com.github.elevenetc:draggableview:v1.0.1'
}

Licence

http://www.apache.org/licenses/LICENSE-2.0