1<layout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:app="http://schemas.android.com/apk/res-auto">
3
4 <androidx.coordinatorlayout.widget.CoordinatorLayout
5 android:layout_width="match_parent"
6 android:layout_height="match_parent">
7
8 <LinearLayout
9 android:layout_width="match_parent"
10 android:layout_height="match_parent"
11 android:orientation="vertical">
12
13 <RelativeLayout
14 android:id="@+id/overview_snackbar"
15 android:layout_width="fill_parent"
16 android:layout_height="wrap_content"
17 android:layout_above="@+id/context_preview"
18 android:layout_marginLeft="8dp"
19 android:layout_marginRight="8dp"
20 android:layout_marginBottom="4dp"
21 android:background="@drawable/snackbar"
22 android:minHeight="48dp"
23 android:visibility="gone">
24
25 <TextView
26 android:id="@+id/overview_snackbar_message"
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:layout_alignParentStart="true"
30 android:layout_centerVertical="true"
31 android:layout_marginStart="24dp"
32 android:layout_toStartOf="@+id/overview_snackbar_action"
33 android:textColor="?colorOnSurfaceInverse"
34 android:text="Warning" />
35
36 <TextView
37 android:id="@+id/overview_snackbar_action"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_alignParentEnd="true"
41 android:layout_centerVertical="true"
42 android:paddingLeft="24dp"
43 android:paddingTop="16dp"
44 android:paddingRight="24dp"
45 android:paddingBottom="16dp"
46 android:textAllCaps="true"
47 android:textColor="?colorOnSurfaceInverse"
48 android:textStyle="bold"
49 android:text="@string/action_fix" />
50 </RelativeLayout>
51
52 <com.cheogram.android.ContextMenuRecyclerView
53 android:id="@+id/list"
54 android:layout_width="match_parent"
55 android:layout_height="match_parent"
56 android:scrollbars="vertical" />
57
58 </LinearLayout>
59
60 <com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
61 android:id="@+id/fab"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:layout_gravity="end|bottom"
65 android:layout_margin="16dp"
66 android:text="@string/start_chat"
67 app:icon="@drawable/ic_chat_24dp" />
68 </androidx.coordinatorlayout.widget.CoordinatorLayout>
69
70</layout>