Android 自定义View(继承原生组件)实现拖动移位效果
自定义View实现拖拽移位效果
通过继承GridLayout实现的拖拽移位效果
首先创建Class类继承GridLayout并重写前三个构造方法
public class MyGridlayout extends GridLayout implements View.OnLongClickListener {
public MyGridlayout(Context context) ...
原创
2018-11-08 21:14:31 ·
460 阅读 ·
0 评论