可以设置吸顶的偏移量吗?
Opened this issue · 6 comments
iielse commented
rt。 比如我想距离顶部50dp的时候就 “定” 住
oubowu commented
不行哎 要是这样的话 再滑上去 那滑上去的头部item就露馅了
iielse commented
就是要这种效果
iielse commented
露馅的地方上面会有别的UI内容的,比如搜索框。不知道能否理解我的想法。
oubowu commented
那你把recycleview设置在搜索框下面不就行了 你搜索框遮住了上面那部分了吧 都看不到了
iielse commented
所以这样吸顶的位置就要补充一个搜索框的高度。
iielse commented
搜索框是底色透明 随recyclerView滑动 透明度渐变