学习Material Design Support
来源:互联网 发布:程序员之路 编辑:程序博客网 时间:2024/05/17 07:38
- 读Blog,学会使用控件
http://android-developers.blogspot.com/2015/05/android-design-support-library.html- cheesesquare,使用5.0控件项目
https://github.com/chrisbanes/cheesesquare
- DrawerLayout,NavigationView.用于侧边栏实现。
CoordinatorLayout:最外层用于滑动控制app:layout_scrollFlags=“”
- scroll: this flag should be set for all views that want to scroll off the screen - for views that do not use this flag, they’ll remain pinned to the top of the screen
- enterAlways: this flag ensures that any downward scroll will cause this view to become visible, enabling the ‘quick return’ pattern
- enterAlwaysCollapsed: When your view has declared a minHeight and you use this flag, your View will only enter at its minimum height (i.e., ‘collapsed’), only re-expanding to its full height when the scrolling view has reached it’s top.
- exitUntilCollapsed: this flag causes the view to scroll off until it is ‘collapsed’ (its minHeight) before exiting
AppBarLayout:
using an AppBarLayoutallows your Toolbar and other views (such as tabs provided by TabLayout) to react to scroll events in a sibling view marked with a ScrollingViewBehavior.ToolBar:
using a Toolbar in your layout, allowing you to more easily customize the look and integration of that iconic part of an app with the rest of your layout.CollapsingToolBarLayout:
Adding a Toolbar directly to an AppBarLayout gives you access to the enterAlwaysCollapsed andexitUntilCollapsed scroll flags, but not the detailed control on how different elements react to collapsing. For that, you can use CollapsingToolbarLayout:
处理子元素相应不同的collapsing。
app:layout_collapseMode=“pin” 或者”parallax”
- 学习Material Design Support
- Material Design Support 学习笔记
- Material Design support
- Android Material Design support library
- Material Design:Android Design Support Library
- Material Design Support 8大控件介绍
- Material design学习笔记
- Material Design学习
- Material Design学习地址
- Material Design学习摘录
- Material Design学习
- Material design学习笔记
- material design学习笔记
- Material Design学习
- Material Design的学习
- Material Design学习(三)
- Material Design学习1
- Material Design学习2
- 欢迎使用CSDN-markdown编辑器
- SpringMVC源码总结(一)HandlerMapping和HandlerAdapter入门
- 从源码角度看for循环和foreach的区别
- PHP生成pdf
- CHARINDEX:显示包含"A"的所有雇员的姓名及"A"在姓名字段中的位置
- 学习Material Design Support
- 16个Linux服务器监控命令
- 编译原理读书笔记之"虎书"
- 1071. Speech Patterns (25)【字符串操作】——PAT (Advanced Level) Practise
- 如何获取彩色图像中的主色彩
- The Maximum-Subarray Problem
- [天文与科学]黄金眼
- iOS SEL(@selector)原理
- PHP定时执行任务的实现