1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** Copyright 2011, The Android Open Source Project 5 ** 6 ** Licensed under the Apache License, Version 2.0 (the "License"); 7 ** you may not use this file except in compliance with the License. 8 ** You may obtain a copy of the License at 9 ** 10 ** http://www.apache.org/licenses/LICENSE-2.0 11 ** 12 ** Unless required by applicable law or agreed to in writing, software 13 ** distributed under the License is distributed on an "AS IS" BASIS, 14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 ** See the License for the specific language governing permissions and 16 ** limitations under the License. 17 */ 18 --> 19 20 <ScrollView 21 xmlns:android="http://schemas.android.com/apk/res/android" 22 android:layout_height="match_parent" 23 android:layout_width="match_parent"> 24 25 <LinearLayout 26 xmlns:android="http://schemas.android.com/apk/res/android" 27 android:paddingStart="16dip" 28 android:layout_height="match_parent" 29 android:layout_width="match_parent" 30 android:orientation="vertical"> 31 32 <TextView 33 android:id="@+id/message_caption" 34 android:layout_width="wrap_content" 35 android:layout_height="wrap_content" 36 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 37 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 38 android:layout_marginTop="@dimen/bluetooth_dialog_padding" 39 android:gravity="center_vertical" 40 android:textAppearance="@android:style/TextAppearance.Material.Body1" 41 android:textColor="@*android:color/secondary_text_material_light" /> 42 43 <TextView 44 android:id="@+id/message_subhead" 45 android:layout_width="wrap_content" 46 android:layout_height="wrap_content" 47 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 48 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 49 android:layout_marginBottom="@dimen/bluetooth_dialog_padding" 50 android:gravity="center_vertical" 51 android:textAppearance="@android:style/TextAppearance.Material.Subhead" /> 52 53 <TextView 54 android:id="@+id/pairing_caption" 55 android:layout_width="wrap_content" 56 android:layout_height="wrap_content" 57 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 58 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 59 android:gravity="center_vertical" 60 android:text="@string/bluetooth_pairing_key_msg" 61 android:visibility="gone" 62 android:textAppearance="@android:style/TextAppearance.Material.Body1" 63 android:textColor="@*android:color/secondary_text_material_light" /> 64 65 <TextView 66 android:id="@+id/pairing_subhead" 67 android:layout_width="wrap_content" 68 android:layout_height="wrap_content" 69 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 70 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 71 android:layout_marginBottom="@dimen/bluetooth_dialog_padding" 72 android:gravity="center_vertical" 73 android:visibility="gone" 74 android:textAppearance="@android:style/TextAppearance.Material.Headline" /> 75 76 <TextView 77 android:id="@+id/pairing_code_message" 78 android:layout_width="wrap_content" 79 android:layout_height="wrap_content" 80 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 81 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 82 android:layout_marginBottom="@dimen/bluetooth_dialog_padding" 83 android:gravity="center_vertical" 84 android:text="@string/bluetooth_enter_passkey_msg" 85 android:textAppearance="@android:style/TextAppearance.Material.Subhead" 86 android:textColor="@*android:color/secondary_text_material_light" 87 android:visibility="gone" /> 88 89 <TextView 90 android:id="@+id/phonebook_sharing_message" 91 android:layout_width="wrap_content" 92 android:layout_height="wrap_content" 93 android:layout_marginStart="@dimen/bluetooth_dialog_padding" 94 android:layout_marginEnd="@dimen/bluetooth_dialog_padding" 95 android:layout_marginBottom="@dimen/bluetooth_dialog_padding" 96 android:gravity="center_vertical" 97 android:text="@string/bluetooth_pairing_will_share_phonebook" 98 android:textSize="12sp" /> 99 100 </LinearLayout> 101 102 </ScrollView> 103