Android代码-通过拖拽重排View位置的一个库

时间:2022-08-26 00:06:36
【文件属性】:

文件名称:Android代码-通过拖拽重排View位置的一个库

文件大小:3.72MB

文件格式:ZIP

更新时间:2022-08-26 00:06:36

Android代码

Android Rearrangeable Layout An android layout to re-arrange child views via dragging Screencast Demo Layout Usage All the child views are draggable once the layout is added to an activity (activity_main.xml) <!-- add child views with `android:id` attr to save position during orientation change --> <!-- more child views --> Child Position Listener Add a ChildPositionListener to the root layout to receive updates whenever any child view is dragged (MainActivity.java) @


【文件预览】:
RearrangeableLayout-master
----gradlew(5KB)
----settings.gradle(28B)
----screencast.gif(3.77MB)
----demo()
--------src()
--------.gitignore(7B)
--------build.gradle(617B)
--------proguard-rules.pro(687B)
----library()
--------src()
--------.gitignore(7B)
--------build.gradle(539B)
--------proguard-rules.pro(687B)
----LICENSE(1KB)
----gradle()
--------wrapper()
----README.md(2KB)
----gradlew.bat(2KB)
----gradle.properties(853B)
----.gitignore(184B)
----build.gradle(436B)

网友评论