1<?xml version="1.0" encoding="utf-8"?>
2<androidx.coordinatorlayout.widget.CoordinatorLayout
3 xmlns:android="http://schemas.android.com/apk/res/android"
4 xmlns:app="http://schemas.android.com/apk/res-auto"
5 xmlns:tools="http://schemas.android.com/tools"
6 android:layout_width="match_parent"
7 android:layout_height="match_parent"
8 tools:context=".MainActivity">
9
10 <com.google.android.material.circularreveal.CircularRevealLinearLayout
11 android:id="@+id/dial"
12 android:layout_height="match_parent"
13 android:layout_width="match_parent"
14 android:orientation="horizontal"
15 android:layout_gravity="bottom|center_horizontal"
16 android:visibility="invisible"
17 android:layout_marginBottom="16dp"
18 app:layout_anchor="@id/fab"
19 app:layout_anchorGravity="top|center_horizontal"
20 android:background="@color/colorPrimary"
21 app:layout_behavior="com.google.android.material.transformation.FabTransformationSheetBehavior">
22
23 <ImageButton
24 android:id="@+id/back"
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content"
27 android:src="@drawable/back"/>
28
29 </com.google.android.material.circularreveal.CircularRevealLinearLayout>
30
31
32 <com.google.android.material.floatingactionbutton.FloatingActionButton
33 android:id="@+id/fab"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_gravity="bottom|end"
37 android:layout_margin="@dimen/fab_margin"
38 android:backgroundTint="@color/colorPrimary"
39 app:srcCompat="@android:drawable/ic_dialog_email"/>
40
41</androidx.coordinatorlayout.widget.CoordinatorLayout>