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/lock_screen_notifications_interstitial_title"
     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         android:paddingStart="?attr/side_margin"
     35         android:paddingEnd="?attr/side_margin">
     36 
     37         <TextView
     38             style="@style/SuwDescription"
     39             android:layout_width="wrap_content"
     40             android:layout_height="wrap_content"
     41             android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
     42             android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
     43             android:text="@string/lock_screen_notifications_interstitial_message" />
     44 
     45         <RadioGroup
     46             android:id="@+id/radio_group"
     47             android:layout_width="wrap_content"
     48             android:layout_height="wrap_content"
     49             android:layout_marginTop="@dimen/redaction_vertical_margins"
     50             android:layout_marginStart="?android:attr/listPreferredItemPaddingStart"
     51             android:layout_marginEnd="?android:attr/listPreferredItemPaddingEnd"
     52             android:checkedButton="@+id/redact_sensitive">
     53 
     54             <RadioButton
     55                 android:id="@+id/show_all"
     56                 style="@style/SuwRadioButton"
     57                 android:layout_width="wrap_content"
     58                 android:layout_height="wrap_content"
     59                 android:text="@string/lock_screen_notifications_summary_show" />
     60 
     61             <RadioButton
     62                 android:id="@+id/redact_sensitive"
     63                 style="@style/SuwRadioButton"
     64                 android:layout_width="wrap_content"
     65                 android:layout_height="wrap_content"
     66                 android:text="@string/lock_screen_notifications_summary_hide" />
     67 
     68             <RadioButton
     69                 android:id="@+id/hide_all"
     70                 style="@style/SuwRadioButton"
     71                 android:layout_width="wrap_content"
     72                 android:layout_height="wrap_content"
     73                 android:text="@string/lock_screen_notifications_summary_disable" />
     74 
     75         </RadioGroup>
     76 
     77     </LinearLayout>
     78 
     79 </com.android.setupwizardlib.SetupWizardLayout>
     80