• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout
3    xmlns:android="http://schemas.android.com/apk/res/android"
4    xmlns:app="http://schemas.android.com/apk/res-auto"
5    android:id="@+id/warningsBottomSheet"
6    android:layout_width="match_parent"
7    android:layout_height="match_parent"
8    android:orientation="vertical"
9    android:background="@android:color/white"
10    app:behavior_hideable="true"
11    app:behavior_peekHeight="80dp"
12    app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior">
13
14    <View
15        android:layout_width="match_parent"
16        android:layout_height="@dimen/divider_height"
17        android:background="@color/divider" />
18
19    <LinearLayout
20        android:layout_width="match_parent"
21        android:layout_height="wrap_content"
22        android:orientation="horizontal"
23        android:gravity="center_vertical">
24
25        <TextView
26            android:layout_width="0dp"
27            android:layout_height="wrap_content"
28            android:layout_weight="1"
29            android:textSize="20sp"
30            android:textStyle="bold"
31            android:layout_marginTop="24dp"
32            android:layout_marginBottom="24dp"
33            android:layout_marginLeft="24dp"
34            android:textColor="@android:color/black"
35            android:text="@string/warnings_title"/>
36
37        <ImageButton
38            android:id="@+id/warningsBottomSheetInfoButton"
39            android:layout_width="wrap_content"
40            android:layout_height="wrap_content"
41            android:layout_marginRight="16dp"
42            android:background="?attr/selectableItemBackgroundBorderless"
43            app:srcCompat="@drawable/ic_info_outline"/>
44
45        <ImageButton
46            android:id="@+id/closeWarningsBottomSheetButton"
47            android:layout_width="wrap_content"
48            android:layout_height="wrap_content"
49            android:layout_marginRight="16dp"
50            android:background="?attr/selectableItemBackgroundBorderless"
51            app:srcCompat="@drawable/ic_close"/>
52    </LinearLayout>
53
54    <LinearLayout
55        android:id="@+id/warningsContainer"
56        android:layout_width="match_parent"
57        android:layout_height="wrap_content"
58        android:orientation="vertical"/>
59
60</LinearLayout>