Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2015 The Android Open Source Project
      4   ~
      5   ~ Licensed under the Apache License, Version 2.0 (the "License");
      6   ~ you may not use this file except in compliance with the License.
      7   ~ You may obtain a copy of the License at
      8   ~
      9   ~      http://www.apache.org/licenses/LICENSE-2.0
     10   ~
     11   ~ Unless required by applicable law or agreed to in writing, software
     12   ~ distributed under the License is distributed on an "AS IS" BASIS,
     13   ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14   ~ See the License for the specific language governing permissions and
     15   ~ limitations under the License
     16   -->
     17 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:id="@+id/backup_container"
     19     android:layout_width="match_parent"
     20     android:layout_height="match_parent"
     21     android:paddingTop="16dp"
     22     android:paddingBottom="8dp">
     23 
     24     <FrameLayout
     25         android:id="@+id/description"
     26         android:layout_width="wrap_content"
     27         android:layout_height="wrap_content"
     28         android:layout_alignParentTop="true"
     29         android:layout_alignParentStart="true"
     30         android:layout_marginStart="24dp"
     31         android:layout_marginEnd="24dp"
     32         >
     33         <TextView
     34             android:layout_width="wrap_content"
     35             android:layout_height="wrap_content"
     36             android:textAppearance="@android:style/TextAppearance.Material.Subhead"
     37             android:text="@string/password_description"
     38             android:id="@+id/password_description"
     39             android:textColor="?android:attr/textColorSecondary" />
     40 
     41         <TextView
     42             android:layout_width="wrap_content"
     43             android:layout_height="wrap_content"
     44             android:textAppearance="@android:style/TextAppearance.Material.Subhead"
     45             android:text="@string/new_fingerprint_enrolled_description"
     46             android:id="@+id/new_fingerprint_enrolled_description"
     47             android:visibility="gone"
     48             android:textColor="?android:attr/textColorSecondary" />
     49     </FrameLayout>
     50 
     51     <EditText
     52         android:layout_width="wrap_content"
     53         android:layout_height="wrap_content"
     54         android:inputType="textPassword"
     55         android:ems="10"
     56         android:hint="@string/password"
     57         android:imeOptions="actionGo"
     58         android:id="@+id/password"
     59         android:layout_below="@+id/description"
     60         android:layout_marginTop="16dp"
     61         android:layout_marginStart="20dp"
     62         android:layout_marginEnd="20dp"
     63         android:layout_alignParentStart="true" />
     64 
     65     <CheckBox
     66         android:id="@+id/use_fingerprint_in_future_check"
     67         android:layout_width="wrap_content"
     68         android:layout_height="wrap_content"
     69         android:layout_below="@+id/password"
     70         android:layout_alignParentStart="true"
     71         android:layout_marginTop="16dp"
     72         android:layout_marginStart="20dp"
     73         android:layout_marginEnd="20dp"
     74         android:checked="true"
     75         android:visibility="gone"
     76         android:text="@string/use_fingerprint_in_future" />
     77 
     78 </RelativeLayout>