Home | History | Annotate | Download | only in layout
      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:layout_height="match_parent"
     28         android:layout_width="match_parent"
     29         android:orientation="vertical">
     30 
     31         <EditText
     32             android:id="@+id/text"
     33             android:layout_height="wrap_content"
     34             android:layout_width="match_parent"
     35             android:layout_marginStart="@dimen/bluetooth_pairing_edittext_padding"
     36             android:layout_marginEnd="@dimen/bluetooth_pairing_padding"
     37             android:layout_marginTop="11dp"
     38             android:minHeight="48dp"
     39             android:inputType="textPassword"
     40             android:singleLine="true" />
     41 
     42         <TextView
     43             android:id="@+id/pin_values_hint"
     44             android:text="@string/bluetooth_pin_values_hint"
     45             android:layout_width="wrap_content"
     46             android:layout_height="wrap_content"
     47             android:layout_marginStart="@dimen/bluetooth_pairing_padding"
     48             android:layout_marginEnd="@dimen/bluetooth_pairing_padding"
     49             android:layout_marginBottom="6dp"
     50             android:gravity="center_vertical"
     51             android:textAppearance="?android:attr/textAppearanceSmall" />
     52 
     53         <CheckBox
     54             android:id="@+id/alphanumeric_pin"
     55             android:text="@string/bluetooth_enable_alphanumeric_pin"
     56             android:layout_width="wrap_content"
     57             android:layout_height="wrap_content"
     58             android:layout_marginStart="@dimen/bluetooth_pairing_padding"
     59             android:layout_marginEnd="@dimen/bluetooth_pairing_padding"
     60             android:layout_marginBottom="16dp"
     61             android:gravity="center"
     62             android:paddingStart="@dimen/bluetooth_checkbox_padding"
     63             android:textAppearance="@android:style/TextAppearance.Material.Body1"
     64             android:textColor="?android:attr/textColorSecondary"/>
     65 
     66         <TextView
     67             android:id="@+id/message_below_pin"
     68             android:layout_width="wrap_content"
     69             android:layout_height="wrap_content"
     70             android:layout_marginStart="@dimen/bluetooth_pairing_padding"
     71             android:layout_marginEnd="@dimen/bluetooth_pairing_padding"
     72             android:layout_marginBottom="12dp"
     73             android:gravity="center_vertical"
     74             android:textAppearance="@android:style/TextAppearance.Material.Subhead"
     75             android:textColor="?android:attr/textColorSecondary"/>
     76 
     77         <CheckBox
     78             android:id="@+id/phonebook_sharing_message_entry_pin"
     79             android:layout_width="wrap_content"
     80             android:layout_height="wrap_content"
     81             android:layout_marginStart="@dimen/bluetooth_pairing_padding"
     82             android:layout_marginEnd="@dimen/bluetooth_pairing_padding"
     83             android:layout_marginBottom="12dp"
     84             android:gravity="center_vertical"
     85             android:paddingStart="@dimen/bluetooth_checkbox_padding"
     86             android:text="@string/bluetooth_pairing_shares_phonebook"
     87             android:textAppearance="@android:style/TextAppearance.Material.Body1"
     88             android:textColor="?android:attr/textColorSecondary"/>
     89 
     90     </LinearLayout>
     91 
     92 </ScrollView>
     93