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 
     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         android:layout_marginStart="@dimen/car_keyline_1"
     27         android:layout_marginEnd="@dimen/car_keyline_1"
     28         android:layout_height="match_parent"
     29         android:layout_width="match_parent"
     30         android:orientation="vertical">
     31 
     32         <RelativeLayout
     33             android:layout_height="@dimen/car_double_line_list_item_height"
     34             android:layout_width="match_parent" >
     35             <LinearLayout
     36                 android:layout_width="match_parent"
     37                 android:layout_height="wrap_content"
     38                 android:orientation="vertical"
     39                 android:layout_centerVertical="true"
     40                 android:gravity="center_vertical"
     41                 android:layout_alignParentStart="true">
     42                 <TextView
     43                     android:id="@+id/pairing_caption"
     44                     android:layout_width="match_parent"
     45                     android:layout_height="wrap_content"
     46                     android:text="@string/bluetooth_pairing_key_msg"
     47                     android:visibility="gone"
     48                     style="@style/TextAppearance.Car.Body2.SingleLine" />
     49                 <TextView
     50                     android:id="@+id/pairing_subhead"
     51                     android:layout_width="match_parent"
     52                     android:layout_height="wrap_content"
     53                     android:visibility="gone"
     54                     style="@style/TextAppearance.Car.Body1.SingleLine"
     55                     android:layout_marginTop="@dimen/car_padding_1" />
     56             </LinearLayout>
     57         </RelativeLayout>
     58 
     59         <TextView
     60             android:id="@+id/pairing_code_message"
     61             android:layout_width="wrap_content"
     62             android:layout_height="@dimen/car_single_line_list_item_height"
     63             android:gravity="center_vertical"
     64             android:text="@string/bluetooth_enter_passkey_msg"
     65             style="@style/TextAppearance.Car.Body2"
     66             android:visibility="gone" />
     67 
     68         <RelativeLayout
     69             android:id="@+id/phonebook_sharing_message_confirm_pin_container"
     70             android:layout_height="@dimen/car_double_line_list_item_height"
     71             android:layout_width="match_parent" >
     72             <CheckBox
     73                 android:id="@+id/phonebook_sharing_message_confirm_pin"
     74                 android:layout_width="@dimen/car_primary_icon_size"
     75                 android:layout_height="@dimen/car_primary_icon_size"
     76                 android:button="@drawable/ic_check_box"
     77                 android:layout_alignParentStart="true"
     78                 android:layout_centerVertical="true" />
     79             <TextView
     80                 android:id="@+id/phonebook_sharing_message_confirm_pin_text"
     81                 android:layout_width="match_parent"
     82                 android:layout_height="wrap_content"
     83                 android:layout_alignParentStart="true"
     84                 android:layout_centerVertical="true"
     85                 android:layout_marginStart="@dimen/car_keyline_3"
     86                 android:layout_marginEnd="@dimen/car_keyline_3"
     87                 style="@style/TextAppearance.Car.Body2.SingleLine"
     88                 android:gravity="center_vertical"/>
     89         </RelativeLayout>
     90 
     91     </LinearLayout>
     92 
     93 </ScrollView>
     94