NestedScrollView
来源:互联网 发布:英语教练淘宝没了 编辑:程序博客网 时间:2024/06/13 19:01
CoorDinatorLayout:官方文档上是这样描述:CoordinatorLayout is a super-powered FrameLayout,说明它是一个加强版的FrameLayout,这样他就和Fragment有共同之处。在CoorDinatorLayout中共有一个特殊的内部类CoordinatorLayout.Behavior关于该类,官方文档上大致是这样描述的:(The Behavior will have the opportunity to parse specially defined layout parameters. These parameters will appear on the child view tag.)个人理解(英语12级)就相当该类实现了CoorDinatorLayout中多个子View之间滑动、拖拽等时间的交互,将CoorDinatorLayout子View的滑动等事件的执行的状态和结果通知给其他的子View。这个类可以自定义,并实现一些特殊的效果,这也是有待研究的地方,这个Demo中用到的Behavior都是用系统定义好的。
注:此属性只能直接或者间接的使用在RecyclerView和NestedScrollView上才有效果(也许是官方还没有完善)
app:layout_behavior="@string/appbar_scrolling_view_behavior"
注:此属性只能直接或者间接的使用在RecyclerView和NestedScrollView上才有效果(也许是官方还没有完善)
阅读全文
0 0
- NestedScrollView
- NestedScrollView
- NestedScrollView
- NestedScrollView
- NestedScrollView实现
- NestedScrollView 嵌套 RecyclerView
- NestedScrollView嵌套ViewPager
- NestedScrollView中嵌套RecycleView
- NestedScrollView的使用
- android 控件 NestedScrollView
- NestedScrollView的基本解析
- CoordinatorLayout,AppBarLayout, NestedScrollView
- 从NestedScrollView解读NestedScroll
- NestedScrollView 中的 EditText 问题
- NestedScrollView的使用
- AppBarLayout+ToolBar+CollapsingToolbarLayout+NestedScrollView
- NestedScrollView嵌套ListView,RecyclerView
- NestedScrollView的使用
- “大超人”——基于医疗大数据的的人工智能医生CDSS
- 杂例子
- 04.奇特的一生(笔记)
- linux常用指令
- 初学Html5+CSS之表单的省级联动
- NestedScrollView
- Java死锁范例以及如何分析死锁
- excel中如何添加下拉选择框
- 算法与数据结构实验5:图的深度和广度优先遍历(邻接矩阵)
- jsp/servlet第四章第四节request范围实例
- viewpager无限轮播(从网络上获取图片小圆点)
- Java设计模式之命令模式
- linux目录结构
- PhpStorm2017获取注册码网址