Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /*
      4 ** Copyright 2017, 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 <ScrollView
     20     xmlns:android="http://schemas.android.com/apk/res/android"
     21     android:layout_height="match_parent"
     22     android:layout_width="match_parent">
     23 
     24     <LinearLayout
     25         android:layout_height="match_parent"
     26         android:layout_width="match_parent"
     27         android:layout_marginStart="@dimen/car_keyline_1"
     28         android:layout_marginEnd="@dimen/car_keyline_1"
     29         android:orientation="vertical">
     30 
     31         <TextView
     32             android:id="@+id/message_below_pin"
     33             android:layout_width="wrap_content"
     34             android:layout_height="@dimen/car_single_line_list_item_height"
     35             android:gravity="center_vertical"
     36             style="@style/TextAppearance.Car.Body2"/>
     37 
     38         <FrameLayout
     39             android:layout_height="@dimen/car_double_line_list_item_height"
     40             android:layout_width="match_parent" >
     41             <LinearLayout
     42                 android:layout_width="match_parent"
     43                 android:layout_height="wrap_content"
     44                 android:orientation="vertical"
     45                 android:layout_gravity="center_vertical">
     46                 <EditText
     47                     android:id="@+id/text"
     48                     android:layout_width="match_parent"
     49                     android:layout_height="wrap_content"
     50                     style="@style/TextAppearance.Car.Body1"
     51                     android:inputType="textPassword"
     52                     android:maxLines="1" />
     53                 <TextView
     54                     android:id="@+id/pin_values_hint"
     55                     android:layout_width="match_parent"
     56                     android:layout_height="wrap_content"
     57                     android:layout_marginTop="@dimen/car_padding_2"
     58                     android:text="@string/bluetooth_pin_values_hint"
     59                     style="@style/TextAppearance.Car.Body2.SingleLine" />
     60             </LinearLayout>
     61         </FrameLayout>
     62 
     63         <RelativeLayout
     64             android:layout_height="@dimen/car_double_line_list_item_height"
     65             android:layout_width="match_parent" >
     66             <CheckBox
     67                 android:id="@+id/alphanumeric_pin"
     68                 android:layout_width="@dimen/car_primary_icon_size"
     69                 android:layout_height="@dimen/car_primary_icon_size"
     70                 android:button="@drawable/ic_check_box"
     71                 android:layout_alignParentStart="true"
     72                 android:layout_centerVertical="true" />
     73             <TextView
     74                 android:text="@string/bluetooth_enable_alphanumeric_pin"
     75                 android:layout_width="match_parent"
     76                 android:layout_height="wrap_content"
     77                 android:layout_alignParentStart="true"
     78                 android:layout_centerVertical="true"
     79                 android:layout_marginStart="@dimen/car_keyline_3"
     80                 android:layout_marginEnd="@dimen/car_keyline_3"
     81                 style="@style/TextAppearance.Car.Body2.SingleLine"
     82                 android:gravity="center_vertical"/>
     83         </RelativeLayout>
     84 
     85         <RelativeLayout
     86             android:layout_height="@dimen/car_double_line_list_item_height"
     87             android:layout_width="match_parent" >
     88             <CheckBox
     89                 android:id="@+id/phonebook_sharing_message_entry_pin"
     90                 android:layout_width="@dimen/car_primary_icon_size"
     91                 android:layout_height="@dimen/car_primary_icon_size"
     92                 android:button="@drawable/ic_check_box"
     93                 android:layout_alignParentStart="true"
     94                 android:layout_centerVertical="true" />
     95             <TextView
     96                 android:text="@string/bluetooth_pairing_shares_phonebook"
     97                 android:layout_width="match_parent"
     98                 android:layout_height="wrap_content"
     99                 android:layout_alignParentStart="true"
    100                 android:layout_centerVertical="true"
    101                 android:layout_marginStart="@dimen/car_keyline_3"
    102                 android:layout_marginEnd="@dimen/car_keyline_3"
    103                 style="@style/TextAppearance.Car.Body2.SingleLine"
    104                 android:gravity="center_vertical"/>
    105         </RelativeLayout>
    106     </LinearLayout>
    107 
    108 </ScrollView>
    109