12 2016 档案
摘要:Android 新引入的布局,百分比布局,Percent 布局 主要分为两种:PercentFrameLayout he PercentRelativeLayout 布局 通过 support 库引入, 在 module 的 gradle 中加入 compile:com.android.suppor
阅读全文
摘要:最近在写 TODO app,涉及到 Calendar 和 RecyclerView 的交互, 需求: 1. 往上滑动, Calendar 显示为周 2. 周显示模式下,往下滑动,显示为月 3. 列表下滑到第一个 item 的位置, Calendar 显示为周的时候,这时候改变为显示月 4. 列表上滑
阅读全文