1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2020 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
19    android:layout_width="wrap_content"
20    android:layout_height="wrap_content"
21    android:background="@drawable/bubble_manage_menu_bg"
22    android:elevation="@dimen/bubble_manage_menu_elevation"
23    android:orientation="vertical">
24
25    <LinearLayout
26        android:id="@+id/bubble_manage_menu_dismiss_container"
27        android:background="@drawable/bubble_manage_menu_row"
28        android:layout_width="match_parent"
29        android:layout_height="@dimen/bubble_menu_item_height"
30        android:gravity="center_vertical"
31        android:paddingStart="@dimen/bubble_menu_padding"
32        android:paddingEnd="@dimen/bubble_menu_padding"
33        android:orientation="horizontal">
34
35        <ImageView
36            android:layout_width="@dimen/bubble_menu_icon_size"
37            android:layout_height="@dimen/bubble_menu_icon_size"
38            android:src="@drawable/ic_remove_no_shadow"
39            android:tint="@color/bubbles_icon_tint"/>
40
41        <TextView
42            android:layout_width="wrap_content"
43            android:layout_height="wrap_content"
44            android:layout_marginStart="16dp"
45            android:textColor="?androidprv:attr/materialColorOnSurface"
46            android:textAppearance="@*android:style/TextAppearance.DeviceDefault"
47            android:text="@string/bubble_dismiss_text" />
48
49    </LinearLayout>
50
51    <LinearLayout
52        android:id="@+id/bubble_manage_menu_dont_bubble_container"
53        android:background="@drawable/bubble_manage_menu_row"
54        android:layout_width="match_parent"
55        android:layout_height="@dimen/bubble_menu_item_height"
56        android:gravity="center_vertical"
57        android:paddingStart="@dimen/bubble_menu_padding"
58        android:paddingEnd="@dimen/bubble_menu_padding"
59        android:orientation="horizontal">
60
61        <ImageView
62            android:layout_width="@dimen/bubble_menu_icon_size"
63            android:layout_height="@dimen/bubble_menu_icon_size"
64            android:src="@drawable/bubble_ic_stop_bubble"
65            android:tint="@color/bubbles_icon_tint"/>
66
67        <TextView
68            android:layout_width="wrap_content"
69            android:layout_height="wrap_content"
70            android:layout_marginStart="16dp"
71            android:textColor="?androidprv:attr/materialColorOnSurface"
72            android:textAppearance="@*android:style/TextAppearance.DeviceDefault"
73            android:text="@string/bubbles_dont_bubble_conversation" />
74
75    </LinearLayout>
76
77    <LinearLayout
78        android:id="@+id/bubble_manage_menu_settings_container"
79        android:background="@drawable/bubble_manage_menu_row"
80        android:layout_width="match_parent"
81        android:layout_height="@dimen/bubble_menu_item_height"
82        android:gravity="center_vertical"
83        android:paddingStart="@dimen/bubble_menu_padding"
84        android:paddingEnd="@dimen/bubble_menu_padding"
85        android:orientation="horizontal">
86
87        <ImageView
88            android:id="@+id/bubble_manage_menu_settings_icon"
89            android:layout_width="@dimen/bubble_menu_icon_size"
90            android:layout_height="@dimen/bubble_menu_icon_size"
91            android:src="@drawable/ic_remove_no_shadow"/>
92
93        <TextView
94            android:id="@+id/bubble_manage_menu_settings_name"
95            android:layout_width="wrap_content"
96            android:layout_height="wrap_content"
97            android:layout_marginStart="16dp"
98            android:textColor="?androidprv:attr/materialColorOnSurface"
99            android:textAppearance="@*android:style/TextAppearance.DeviceDefault" />
100
101    </LinearLayout>
102
103</LinearLayout>