OSDN Git Service

Clear only keystore credential entires
[android-x86/packages-apps-Settings.git] / res / layout / setup_choose_lock_pattern.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3     Copyright (C) 2014 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:layout_width="match_parent"
22     android:layout_height="match_parent"
23     settings:suwBackgroundTile="@drawable/setup_illustration_tile"
24     settings:suwHeaderText="@string/wifi_setup_wizard_title"
25     settings:suwIllustrationHorizontalTile="@drawable/setup_illustration_horizontal_tile"
26     settings:suwIllustrationImage="@drawable/setup_illustration_lock_screen">
27
28     <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
29         android:id="@+id/topLayout"
30         style="@style/SuwContentFrame"
31         android:layout_width="match_parent"
32         android:layout_height="match_parent"
33         android:orientation="vertical">
34
35         <!-- takes up all space above button bar at bottom -->
36         <LinearLayout
37             android:layout_width="match_parent"
38             android:layout_height="0dip"
39             android:layout_weight="1"
40             android:gravity="center"
41             android:orientation="vertical">
42
43             <TextView android:id="@+id/headerText"
44                 android:layout_width="match_parent"
45                 android:layout_height="0dip"
46                 android:layout_weight="1"
47                 android:gravity="center"
48                 android:minHeight="50dip"
49                 android:textSize="18sp"/>
50
51             <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
52                 android:layout_width="match_parent"
53                 android:layout_height="0dip"
54                 android:layout_weight="4"
55                 android:background="@color/lock_pattern_background"/>
56
57         </LinearLayout>
58
59         <LinearLayout
60             android:layout_width="match_parent"
61             android:layout_height="wrap_content"
62             android:gravity="center_horizontal"
63             android:orientation="horizontal">
64
65             <Button android:id="@+id/retryButton"
66                 android:layout_width="wrap_content"
67                 android:layout_height="wrap_content"
68                 android:text="@string/lockpattern_retry_button_text"/>
69
70             <TextView android:id="@+id/footerText"
71                 android:layout_width="wrap_content"
72                 android:layout_height="wrap_content"
73                 android:minHeight="50dip"
74                 android:textSize="14sp"/>
75
76         </LinearLayout>
77
78         <!-- Buttons are hidden during setup, and use the buttons in setup navigation bar instead -->
79         <LinearLayout
80             android:layout_width="match_parent"
81             android:layout_height="wrap_content"
82             android:orientation="horizontal"
83             android:visibility="gone"
84             style="@style/SecurityPreferenceButtonContainer">
85
86             <!-- left : cancel, or re-try -->
87             <Button android:id="@+id/footerLeftButton"
88                 android:layout_width="0dip"
89                 android:layout_height="wrap_content"
90                 android:layout_weight="1"
91                 android:text="@string/lockpattern_tutorial_cancel_label"
92                 style="@style/SecurityPreferenceButton"/>
93
94             <!-- right : confirm or ok -->
95             <Button android:id="@+id/footerRightButton"
96                 android:layout_width="0dip"
97                 android:layout_height="wrap_content"
98                 android:layout_weight="1"
99                 android:text="@string/lockpattern_tutorial_continue_label"
100                 style="@style/SecurityPreferenceButton"/>
101
102         </LinearLayout>
103
104     </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
105
106 </com.android.setupwizardlib.SetupWizardLayout>