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 android:layout_width="wrap_content" 19 android:layout_height="wrap_content" 20 android:background="@drawable/rounded_bg_full" 21 android:elevation="@dimen/bubble_manage_menu_elevation" 22 android:orientation="vertical"> 23 24 <LinearLayout 25 android:id="@+id/bubble_manage_menu_dismiss_container" 26 android:background="@drawable/bubble_manage_menu_row" 27 android:layout_width="match_parent" 28 android:layout_height="48dp" 29 android:gravity="center_vertical" 30 android:paddingStart="16dp" 31 android:paddingEnd="16dp" 32 android:orientation="horizontal"> 33 34 <ImageView 35 android:layout_width="24dp" 36 android:layout_height="24dp" 37 android:src="@drawable/ic_remove_no_shadow" 38 android:tint="@color/global_actions_text"/> 39 40 <TextView 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 android:layout_marginStart="16dp" 44 android:textAppearance="@*android:style/TextAppearance.DeviceDefault" 45 android:text="@string/bubble_dismiss_text" /> 46 47 </LinearLayout> 48 49 <LinearLayout 50 android:id="@+id/bubble_manage_menu_dont_bubble_container" 51 android:background="@drawable/bubble_manage_menu_row" 52 android:layout_width="match_parent" 53 android:layout_height="48dp" 54 android:gravity="center_vertical" 55 android:paddingStart="16dp" 56 android:paddingEnd="16dp" 57 android:orientation="horizontal"> 58 59 <ImageView 60 android:layout_width="24dp" 61 android:layout_height="24dp" 62 android:src="@drawable/ic_stop_bubble" 63 android:tint="@color/global_actions_text"/> 64 65 <TextView 66 android:layout_width="wrap_content" 67 android:layout_height="wrap_content" 68 android:layout_marginStart="16dp" 69 android:textAppearance="@*android:style/TextAppearance.DeviceDefault" 70 android:text="@string/bubbles_dont_bubble_conversation" /> 71 72 </LinearLayout> 73 74 <LinearLayout 75 android:id="@+id/bubble_manage_menu_settings_container" 76 android:background="@drawable/bubble_manage_menu_row" 77 android:layout_width="match_parent" 78 android:layout_height="48dp" 79 android:gravity="center_vertical" 80 android:paddingStart="16dp" 81 android:paddingEnd="16dp" 82 android:orientation="horizontal"> 83 84 <ImageView 85 android:id="@+id/bubble_manage_menu_settings_icon" 86 android:layout_width="24dp" 87 android:layout_height="24dp" 88 android:src="@drawable/ic_remove_no_shadow"/> 89 90 <TextView 91 android:id="@+id/bubble_manage_menu_settings_name" 92 android:layout_width="wrap_content" 93 android:layout_height="wrap_content" 94 android:layout_marginStart="16dp" 95 android:textAppearance="@*android:style/TextAppearance.DeviceDefault" /> 96 97 </LinearLayout> 98 99</LinearLayout>