FloatingActionButton
1.FAB包含在layout内部
android:layout_width="wrap_content" android:layout_height="wrap_content"
2.FAB名称
android:id="@+id/fab_setting"
3.FAB靠在parent的右下角
android:layout_alignParentRight="true" android:layout_alignParentBottom="true"
4.FAB离右下两边各15dp
android:layout_marginRight="15dp" android:layout_marginBottom="15dp"
5.FAB图标
android:src="@drawable/..."
option+command+L 整理代码
option+enter select methods to implement
@SuppressLint("RestrictedApi") 忽略的目标api的版本