SlidingLayout

SlidingLayout_第1张图片

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。

更多相关文章

  1. android 安卓 开发 图片库获得图片的绝对路径
  2. TableRow 背景问题以及修改对话框标题高度或者图片
  3. Android 把从网络获取的图片缓存到内存中
  4. Android 的网络编程(17)-android显示网络图片
  5. androidSDK下的图片资源
  6. 自定义RadioButton 文字在下,图片在上
  7. 自定义progressbar使用图片
  8. Shape实现圆形图片
  9. Android 异步加载图片

随机推荐

  1. asp.net core mvc中如何把二级域名绑定到
  2. 使用一个WPF程序起调一个UWP程序
  3. 分享一些高效的LINQ语句代码
  4. 怎么操作 ASP.NET Web API ?
  5. System.Object是什么?如何使用System.Obj
  6. .net中非常有用的特性--反射
  7. 装箱与拆箱的实例教程
  8. WPF开发Surface Dial实例教程
  9. 对比select * 和 select 所有字段写出速
  10. 总结反射技术的实际应用。