项目
在 GitHub 查看
elevenetc/DraggableView
关于
支持旋转和倾斜/缩放效果的可拖动视图
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文DraggableView
Draggable views with rotation and skew/scale effects.

Usage
- Implement
DragController.IDragViewGroup - Create instance of
DragController - Override
onTouchEventof yourViewGroupand callDragController#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
探索相关项目
加载中…