Skip to content
项目

关于

支持旋转和倾斜/缩放效果的可拖动视图

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

DraggableView

Draggable views with rotation and skew/scale effects.

animation animation

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

探索相关项目

加载中…