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.GlifLayout
     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     android:icon="@drawable/ic_lock"
     25     settings:suwFooter="@layout/redaction_interstitial_footer"
     26     settings:suwHeaderText="@string/lock_screen_notifications_interstitial_title">
     27 
     28     <LinearLayout
     29         style="@style/SuwContentFrame"
     30         android:layout_width="match_parent"
     31         android:layout_height="match_parent"
     32         android:clipChildren="false"
     33         android:clipToPadding="false"
     34         android:orientation="vertical">
     35 
     36         <TextView
     37             android:id="@+id/message"
     38             style="@style/SuwDescription.Glif"
     39             android:layout_width="match_parent"
     40             android:layout_height="wrap_content"
     41             android:text="@string/lock_screen_notifications_interstitial_message" />
     42 
     43         <RadioGroup
     44             android:id="@+id/radio_group"
     45             android:layout_width="match_parent"
     46             android:layout_height="wrap_content"
     47             android:layout_marginTop="@dimen/redaction_vertical_margins"
     48             android:checkedButton="@+id/redact_sensitive">
     49 
     50             <com.android.settings.RestrictedRadioButton
     51                 android:id="@+id/show_all"
     52                 style="@style/SuwRadioButton"
     53                 android:layout_width="wrap_content"
     54                 android:layout_height="wrap_content"
     55                 android:text="@string/lock_screen_notifications_summary_show" />
     56 
     57             <com.android.settings.RestrictedRadioButton
     58                 android:id="@+id/redact_sensitive"
     59                 style="@style/SuwRadioButton"
     60                 android:layout_width="wrap_content"
     61                 android:layout_height="wrap_content"
     62                 android:text="@string/lock_screen_notifications_summary_hide" />
     63 
     64             <RadioButton
     65                 android:id="@+id/hide_all"
     66                 style="@style/SuwRadioButton"
     67                 android:layout_width="wrap_content"
     68                 android:layout_height="wrap_content"
     69                 android:text="@string/lock_screen_notifications_summary_disable" />
     70 
     71         </RadioGroup>
     72 
     73     </LinearLayout>
     74 
     75 </com.android.setupwizardlib.GlifLayout>
     76