rukey7 / dragsloplayout Goto Github PK
View Code? Open in Web Editor NEWA UI library for Android
Home Page: http://blog.csdn.net/github_35180164/article/details/52606923
A UI library for Android
Home Page: http://blog.csdn.net/github_35180164/article/details/52606923
<com.dl7.drag.DragSlopLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/dsl_drag"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
app:mode="drag_outside">
<!-- Content View -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!--..............-->
</LinearLayout>
<!-- Drag View -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:gravity="center_vertical"
android:text="title" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_member"
android:layout_width="match_parent"
android:layout_height="600dp"
android:background="@color/white2" />
</LinearLayout>
</com.dl7.drag.DragSlopLayout>
如果RecyclerView 数据量多的时候,展开dragview后RecyclerView 滑动事件失效,数据只展示一部分,如何解决dragview的滑动和RecyclerView滑动,当RecyclerView滑到顶部在触发dragview下滑 ,当dargview上滑到最大位置在触发RecyclerView上滑。
hello , please can you help me in two things : firstly: the implementation of te library not work on te gradle
Could not find com.github.Rukey7:DragSlopLayout:{lastest-version}-blur
second please can you explain to me more how you are doing the collapse text layout flexible with the view and how you made the height changin by the touch of user , look this photo 👍 https://ibb.co/cjUVSo , wish to answer me soon regards
比如我再layout中设置了fix_height是200dp。但是viewpage中一个item的dragView大小不足200dp。这时候会出现其他的item的fix_height都变成了最小的那个了
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.