专栏名称: 程序员大咖
为程序员提供最优质的博文、最精彩的讨论、最实用的开发资源;提供最新最全的编程学习资料:PHP、Objective-C、Java、Swift、C/C++函数库、.NET Framework类库、J2SE API等等。并不定期奉送各种福利。
目录
相关文章推荐
稀土掘金技术社区  ·  用了三年 ... ·  昨天  
程序猿  ·  离谱!一边裁员,一边60K*15薪招人 ·  昨天  
蚂蚁技术AntTech  ·  蚂蚁交互智能实验室21篇论文入选CVPR2025 ·  3 天前  
51好读  ›  专栏  ›  程序员大咖

Android如何实现带有粘性头部的ScrollView

程序员大咖  · 公众号  · 程序员  · 2018-03-11 10:24

正文

请到「今天看啥」查看全文


"blocksDescendants" android:focusableInTouchMode = "true" android:orientation = "vertical" > //这里是header部分,可以随便自定义 LinearLayout > < LinearLayout android:id = "@+id/ll_stick_list" android:layout_width = "match_parent" android:layout_height = "wrap_content" android:orientation = "vertical" > < android.support.design.widget.TabLayout android:id = "@+id/order_manager_tabs" android:layout_width = "match_parent" android:layout_height = "50dp" android:background = "#FFFFFF" tools:tabGravity = "fill" tools:tabMode = "fixed" /> < android.support.v4.view.ViewPager android:id = "@+id/vp"





请到「今天看啥」查看全文