1 <LinearLayoutxmlns:android= "Http://schemas.android.com/apk/res/android"2 xmlns:app= "Http://schemas.android.com/apk/res-auto" 3 Android:layout_width= "Match_parent"4 Android:layout_height= "Match_parent"5 Android:layout_margin= "20DP"6 android:orientation= "vertical">7 8 <!-- 9 app:backgroundtint= "#ff0000" Set background color app:fabsize= "Normal" also reserves some spacing, including pictures. app:elevation= "20DP" control (around the picture) shadow size app:ripplecolor= "#000000" button when clicked Color-- - <Android.support.design.widget.FloatingActionButton the Android:layout_width= "Wrap_content" - Android:layout_height= "Wrap_content" - android:src= "@drawable/ic_launcher" - app:backgroundtint= "#ff0000" app:fabsize= "normal"20 app:elevation= "20DP " app:ripplecolor= "#000000" 22 /> at - </LinearLayout>
58, General control (1) floating Action button-floating circular button