一、Support Annotation Library 注解
@NonNull 作用于函数参数或者返回值,标记不可为空
等等注解
二、Percent Support Library 百分比
percentRelativelayout
percentFramelayout
app:layout_heightPercent="30%"
app:layout_widthPercent="70%"
app:layout_aspectratio 可以单独指定View的宽或者高,设置宽高比,设置一个值,另一个设置百分比为宽高比
三、Design Support Library
SnackBar
TextInputLayout
TabLayout
NavigationView 导航抽屉
FloatingActionButton
CoordinatorLayout
CollapsingToolBarLayout title动画
swipeRefreshLayout
recyclerView
BottomSeetBehavior
cardView
@NonNull 作用于函数参数或者返回值,标记不可为空
等等注解
二、Percent Support Library 百分比
percentRelativelayout
percentFramelayout
app:layout_heightPercent="30%"
app:layout_widthPercent="70%"
app:layout_aspectratio 可以单独指定View的宽或者高,设置宽高比,设置一个值,另一个设置百分比为宽高比
三、Design Support Library
SnackBar
TextInputLayout
TabLayout
NavigationView 导航抽屉
FloatingActionButton
CoordinatorLayout
CollapsingToolBarLayout title动画
swipeRefreshLayout
recyclerView
BottomSeetBehavior
cardView