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 
     18 <com.android.setupwizardlib.SetupWizardLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     xmlns:settings="http://schemas.android.com/apk/res-auto"
     21     android:id="@+id/setup_wizard_layout"
     22     android:layout_width="match_parent"
     23     android:layout_height="match_parent"
     24     settings:suwBackgroundTile="@drawable/setup_illustration_tile"
     25     settings:suwHeaderText="@string/encryption_interstitial_header"
     26     settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
     27     settings:suwIllustrationImage="@drawable/setup_illustration_lock_screen">
     28 
     29     <LinearLayout
     30         style="@style/SuwContentFrame"
     31         android:layout_width="match_parent"
     32         android:layout_height="match_parent"
     33         android:orientation="vertical">
     34 
     35         <TextView
     36             android:id="@+id/encryption_message"
     37             style="@style/SuwDescription"
     38             android:layout_width="match_parent"
     39             android:layout_height="wrap_content" />
     40 
     41         <RadioGroup
     42             android:layout_width="match_parent"
     43             android:layout_height="wrap_content"
     44             android:layout_marginTop="16dp"
     45             android:checkedButton="@+id/encrypt_require_password">
     46 
     47             <RadioButton
     48                 android:id="@+id/encrypt_require_password"
     49                 style="@style/SuwRadioButton"
     50                 android:layout_width="match_parent"
     51                 android:layout_height="wrap_content" />
     52 
     53             <RadioButton
     54                 android:id="@+id/encrypt_dont_require_password"
     55                 style="@style/SuwRadioButton"
     56                 android:layout_width="match_parent"
     57                 android:layout_height="wrap_content" />
     58 
     59         </RadioGroup>
     60 
     61     </LinearLayout>
     62 
     63 </com.android.setupwizardlib.SetupWizardLayout>
     64