1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 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="match_parent" 19 android:layout_height="wrap_content" 20 android:layout_gravity="center" 21 android:orientation="vertical" > 22 23 <TextView 24 android:id="@+id/categories" 25 android:layout_width="match_parent" 26 android:layout_height="wrap_content" 27 android:layout_gravity="center" 28 android:layout_marginTop="@dimen/qqs_layout_margin_top" 29 android:minHeight="@dimen/min_clickable_item_size" 30 android:minWidth="@dimen/min_clickable_item_size" 31 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" /> 32 33 <TextView 34 android:id="@+id/cpu_buffer_size" 35 android:layout_width="match_parent" 36 android:layout_height="wrap_content" 37 android:layout_gravity="center" 38 android:layout_marginTop="@dimen/qqs_layout_margin_top" 39 android:minHeight="@dimen/min_clickable_item_size" 40 android:minWidth="@dimen/min_clickable_item_size" 41 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" /> 42 43 <!-- Attach to Bugreport Switch --> 44 <LinearLayout 45 android:id="@+id/attach_to_bugreport_switch_container" 46 android:layout_width="match_parent" 47 android:layout_height="wrap_content" 48 android:layout_marginTop="@dimen/qqs_layout_margin_top" 49 android:orientation="horizontal"> 50 51 <TextView 52 android:id="@+id/attach_to_bugreport_switch_label" 53 android:layout_width="0dp" 54 android:layout_height="wrap_content" 55 android:minHeight="@dimen/screenrecord_option_icon_size" 56 android:layout_weight="1" 57 android:layout_gravity="fill_vertical" 58 android:gravity="start" 59 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" 60 android:importantForAccessibility="no" /> 61 62 <Switch 63 android:id="@+id/attach_to_bugreport_switch" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 android:gravity="end" 67 style="@style/ScreenRecord.Switch" 68 android:layout_gravity="fill_vertical" 69 android:layout_weight="0" /> 70 </LinearLayout> 71 72 <!-- Winscope Switch --> 73 <LinearLayout 74 android:id="@+id/winscope_switch_container" 75 android:layout_width="match_parent" 76 android:layout_height="wrap_content" 77 android:layout_marginTop="@dimen/qqs_layout_margin_top" 78 android:orientation="horizontal"> 79 80 <TextView 81 android:id="@+id/winscope_switch_label" 82 android:layout_width="0dp" 83 android:layout_height="wrap_content" 84 android:minHeight="@dimen/screenrecord_option_icon_size" 85 android:layout_weight="1" 86 android:layout_gravity="fill_vertical" 87 android:gravity="start" 88 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" 89 android:importantForAccessibility="no" /> 90 91 <Switch 92 android:id="@+id/winscope_switch" 93 android:layout_width="wrap_content" 94 android:layout_height="wrap_content" 95 android:gravity="end" 96 style="@style/ScreenRecord.Switch" 97 android:layout_gravity="fill_vertical" 98 android:layout_weight="0" /> 99 </LinearLayout> 100 101 <!-- Trace Debuggable Apps Switch --> 102 <LinearLayout 103 android:id="@+id/trace_debuggable_apps_switch_container" 104 android:layout_width="match_parent" 105 android:layout_height="wrap_content" 106 android:layout_marginTop="@dimen/qqs_layout_margin_top" 107 android:orientation="horizontal"> 108 109 <TextView 110 android:id="@+id/debuggable_apps_switch_label" 111 android:layout_width="0dp" 112 android:layout_height="wrap_content" 113 android:minHeight="@dimen/screenrecord_option_icon_size" 114 android:layout_weight="1" 115 android:layout_gravity="fill_vertical" 116 android:gravity="start" 117 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" 118 android:importantForAccessibility="no" /> 119 120 <Switch 121 android:id="@+id/trace_debuggable_apps_switch" 122 android:layout_width="wrap_content" 123 android:layout_height="wrap_content" 124 android:gravity="end" 125 style="@style/ScreenRecord.Switch" 126 android:layout_gravity="fill_vertical" 127 android:layout_weight="0" /> 128 </LinearLayout> 129 130 <!-- Long Traces Switch --> 131 <LinearLayout 132 android:id="@+id/long_traces_switch_container" 133 android:layout_width="match_parent" 134 android:layout_height="wrap_content" 135 android:layout_marginTop="@dimen/qqs_layout_margin_top" 136 android:orientation="horizontal"> 137 138 <TextView 139 android:id="@+id/long_traces_switch_label" 140 android:layout_width="0dp" 141 android:layout_height="wrap_content" 142 android:minHeight="@dimen/screenrecord_option_icon_size" 143 android:layout_weight="1" 144 android:layout_gravity="fill_vertical" 145 android:gravity="start" 146 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" 147 android:importantForAccessibility="no" /> 148 149 <Switch 150 android:id="@+id/long_traces_switch" 151 android:layout_width="wrap_content" 152 android:layout_height="wrap_content" 153 android:gravity="end" 154 style="@style/ScreenRecord.Switch" 155 android:layout_gravity="fill_vertical" 156 android:layout_weight="0" /> 157 </LinearLayout> 158 159 <TextView 160 android:id="@+id/long_trace_size" 161 android:layout_width="match_parent" 162 android:layout_height="wrap_content" 163 android:layout_gravity="center" 164 android:layout_marginTop="@dimen/qqs_layout_margin_top" 165 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" /> 166 167 <TextView 168 android:id="@+id/long_trace_duration" 169 android:layout_width="match_parent" 170 android:layout_height="wrap_content" 171 android:layout_gravity="center" 172 android:layout_marginTop="@dimen/qqs_layout_margin_top" 173 android:textAppearance="@style/TextAppearance.Dialog.Body.Message" /> 174</LinearLayout> 175 176