1<!-- 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 17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 18 android:layout_width="match_parent" 19 android:layout_height="match_parent" 20 android:baselineAligned="false" 21 android:orientation="horizontal"> 22 <LinearLayout 23 android:layout_width="wrap_content" 24 android:layout_height="match_parent" 25 android:layout_weight="3" 26 android:orientation="vertical"> 27 <TextView 28 android:layout_width="wrap_content" 29 android:layout_height="wrap_content" 30 android:text="Discoverer" 31 android:textSize="36sp"/> 32 <Button 33 android:id="@+id/register_state_callback" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:textAllCaps="false" 37 android:text="registerStateCallback()"/> 38 <Button 39 android:id="@+id/unregister_state_callback" 40 android:layout_width="wrap_content" 41 android:layout_height="wrap_content" 42 android:textAllCaps="false" 43 android:text="unregisterStateCallback()"/> 44 <TextView 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:text="List of peer zones:"/> 48 <LinearLayout 49 android:id="@+id/peer_zones" 50 android:layout_width="wrap_content" 51 android:layout_height="match_parent" 52 android:orientation="vertical"> 53 </LinearLayout> 54 </LinearLayout> 55 <LinearLayout 56 android:layout_width="wrap_content" 57 android:layout_height="match_parent" 58 android:layout_weight="1" 59 android:orientation="vertical"> 60 <TextView 61 android:layout_width="wrap_content" 62 android:layout_height="wrap_content" 63 android:text="Receivers" 64 android:textSize="36sp"/> 65 <Button 66 android:id="@+id/text_receiver" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:textAllCaps="false" 70 android:text="TextReceiver"/> 71 <Button 72 android:id="@+id/progress_bar_receiver" 73 android:layout_width="wrap_content" 74 android:layout_height="wrap_content" 75 android:textAllCaps="false" 76 android:text="ProgressBarReceiver"/> 77 </LinearLayout> 78</LinearLayout> 79