1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2020 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<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 android:id="@+id/dialog_scrollview" 19 android:layout_width="wrap_content" 20 android:layout_height="wrap_content" 21 android:fadeScrollbars="false" 22 android:scrollIndicators="top|bottom"> 23 24 <LinearLayout 25 android:id="@+id/l_adbwirelessdialog" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:orientation="vertical" 29 android:paddingBottom="8dip"> 30 31 <LinearLayout android:id="@+id/l_pairing_six_digit" 32 android:layout_width="match_parent" 33 android:layout_height="wrap_content" 34 style="@style/adb_wireless_section" 35 android:visibility="gone"> 36 37 <LinearLayout 38 android:layout_width="match_parent" 39 android:layout_height="wrap_content" 40 style="@style/adb_wireless_item" > 41 <TextView 42 android:layout_width="wrap_content" 43 android:layout_height="wrap_content" 44 style="@style/adb_wireless_item_label" 45 android:text="@string/adb_pairing_device_dialog_pairing_code_label" 46 android:textDirection="locale" /> 47 48 <TextView 49 android:id="@+id/pairing_code" 50 android:layout_width="wrap_content" 51 android:layout_height="wrap_content" 52 style="@style/adb_wireless_item_content" /> 53 54 <TextView 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 style="@style/adb_wireless_item_label" 58 android:text="@string/adb_wireless_ip_addr_preference_title" 59 android:textDirection="locale" 60 android:paddingTop="8dip"/> 61 62 <TextView 63 android:id="@+id/ip_addr" 64 android:layout_width="wrap_content" 65 android:layout_height="wrap_content" 66 style="@style/adb_wireless_item_label" 67 android:text="@string/summary_placeholder" 68 android:textDirection="locale" /> 69 </LinearLayout> 70 </LinearLayout> 71 72 <LinearLayout android:id="@+id/l_pairing_failed" 73 android:layout_width="match_parent" 74 android:layout_height="wrap_content" 75 style="@style/adb_wireless_section" 76 android:visibility="gone"> 77 78 <LinearLayout 79 android:layout_width="match_parent" 80 android:layout_height="wrap_content" 81 style="@style/adb_wireless_item" > 82 <TextView 83 android:id="@+id/pairing_failed_label" 84 android:layout_width="wrap_content" 85 android:layout_height="wrap_content" 86 style="@style/adb_wireless_item_label" 87 android:textDirection="locale" /> 88 </LinearLayout> 89 </LinearLayout> 90 91 <LinearLayout android:id="@+id/l_qrcode_pairing_failed" 92 android:layout_width="match_parent" 93 android:layout_height="wrap_content" 94 style="@style/adb_wireless_section" 95 android:visibility="gone"> 96 97 <LinearLayout 98 android:layout_width="match_parent" 99 android:layout_height="wrap_content" 100 style="@style/adb_wireless_item" > 101 <TextView 102 android:layout_width="wrap_content" 103 android:layout_height="wrap_content" 104 style="@style/adb_wireless_item_label" 105 android:textDirection="locale" 106 android:text="@string/adb_qrcode_pairing_device_failed_msg"/> 107 </LinearLayout> 108 </LinearLayout> 109 110 </LinearLayout> 111</ScrollView> 112 113