SlidingLayout
16lz
2021-01-23
SlidingLayout
https://github.com/songhanghang/SlidingLayout
* SlidingLayout support ListView GridView (ScrollView need yourself…, so easy)
* this project was born in letv video android app http://www.letv.com/
usage
- set SlidingLayouut in your xml
- set handle view ( handle view is layout bar, everytime you can touch it)
<com.facefont.songhang.slidinglayout.slidingview.SlidingLayout android:id="@+id/slidingview" android:layout_width="match_parent" android:layout_height="400dp" android:orientation="vertical" app:handle_id="@+id/handler" > <RelativeLayout android:id="@+id/handler" android:layout_width="match_parent" android:layout_height="38dp"> RelativeLayout>com.facefont.songhang.slidinglayout.slidingview.SlidingLayout>
- in you activity or fragment find SlidingLayout
then you can dynamic replace contentView { setContentView(SlidingView contentView) } binding with SlidingLayout.
last, ContentView will Sliding with SlidingLayout without conflict。
更多相关文章
- android 安卓 开发 图片库获得图片的绝对路径
- TableRow 背景问题以及修改对话框标题高度或者图片
- Android 把从网络获取的图片缓存到内存中
- Android 的网络编程(17)-android显示网络图片
- androidSDK下的图片资源
- 自定义RadioButton 文字在下,图片在上
- 自定义progressbar使用图片
- Shape实现圆形图片
- Android 异步加载图片