1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2023 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<LinearLayout 17 android:layout_width="fill_parent" 18 android:layout_height="fill_parent" 19 android:orientation="vertical" 20 xmlns:android="http://schemas.android.com/apk/res/android" > 21 <LinearLayout 22 android:layout_width="match_parent" 23 android:layout_height="0dp" 24 android:orientation="horizontal" 25 android:layout_weight="1" > 26 <Space 27 android:layout_width="3dp" 28 android:layout_height="match_parent" /> 29 <TextView 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:text="@string/select_zone_title" /> 33 <Space 34 android:layout_width="3dp" 35 android:layout_height="match_parent" /> 36 <Spinner 37 android:id="@+id/zone_one_spinner" 38 android:layout_width="wrap_content" 39 android:layout_height="wrap_content" /> 40 <Space 41 android:layout_width="3dp" 42 android:layout_height="match_parent" /> 43 <TextView 44 android:layout_width="wrap_content" 45 android:layout_height="wrap_content" 46 android:text="@string/select_zone_title" /> 47 <Space 48 android:layout_width="3dp" 49 android:layout_height="match_parent" /> 50 <Spinner 51 android:id="@+id/zone_two_spinner" 52 android:layout_width="wrap_content" 53 android:layout_height="wrap_content" /> 54 <Space 55 android:layout_width="3dp" 56 android:layout_height="match_parent" /> 57 <Button 58 android:id="@+id/enable_audio_mirror_button" 59 android:layout_width="wrap_content" 60 android:layout_height="wrap_content" 61 android:text="@string/enable_audio_mirror" /> 62 <Space 63 android:layout_width="3dp" 64 android:layout_height="match_parent" /> 65 </LinearLayout> 66 <LinearLayout 67 android:layout_width="match_parent" 68 android:layout_height="0dp" 69 android:orientation="horizontal" 70 android:layout_weight="1" > 71 <Space 72 android:layout_width="3dp" 73 android:layout_height="match_parent" /> 74 <TextView 75 android:layout_width="wrap_content" 76 android:layout_height="wrap_content" 77 android:text="@string/select_mirror_id_title" /> 78 <Space 79 android:layout_width="3dp" 80 android:layout_height="match_parent" /> 81 <Spinner 82 android:id="@+id/mirror_id_spinner" 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content" /> 85 <Space 86 android:layout_width="3dp" 87 android:layout_height="match_parent" /> 88 <Button 89 android:id="@+id/disable_audio_mirror_button" 90 android:layout_width="wrap_content" 91 android:layout_height="wrap_content" 92 android:text="@string/disable_audio_mirror" /> 93 <Space 94 android:layout_width="3dp" 95 android:layout_height="match_parent" /> 96 </LinearLayout> 97 <LinearLayout 98 android:layout_width="match_parent" 99 android:layout_height="0dp" 100 android:orientation="horizontal" 101 android:layout_weight="1" > 102 <Space 103 android:layout_width="3dp" 104 android:layout_height="match_parent" /> 105 <Button 106 android:id="@+id/update_zones_button" 107 android:layout_width="wrap_content" 108 android:layout_height="wrap_content" 109 android:text="@string/update_audio_zones" /> 110 <Space 111 android:layout_width="3dp" 112 android:layout_height="match_parent" /> 113 </LinearLayout> 114</LinearLayout> 115