OSDN Git Service

Import revised translations. DO NOT MERGE
[android-x86/packages-apps-Settings.git] / res / layout-sw600dp / choose_lock_pattern_tutorial.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16 <com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
17     xmlns:android="http://schemas.android.com/apk/res/android"
18     android:id="@+id/topLayout"
19     android:orientation="vertical"
20     android:layout_width="match_parent"
21     android:layout_height="match_parent"
22     android:gravity="center_horizontal">
23
24     <!-- top: instructions and buttons -->
25     <!-- header message -->
26     <ScrollView
27         android:layout_width="match_parent"
28         android:layout_height="wrap_content"
29         android:layout_marginTop="96dip">
30
31         <TextView android:id="@+id/headerText"
32             android:layout_width="wrap_content"
33             android:layout_height="wrap_content"
34             android:textAppearance="?android:attr/textAppearanceLarge"
35             android:text="@string/lock_intro_message"/>
36
37     </ScrollView>
38
39     <!-- bottom: lock pattern -->
40     <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
41          android:layout_width="354dip"
42          android:layout_height="354dip"
43          android:layout_marginTop="80dip"
44          aspect="square"/>
45
46     <View
47         android:layout_width="match_parent"
48         android:layout_height="0dip"
49         android:layout_weight="1"/>
50
51     <RelativeLayout
52         android:layout_width="match_parent"
53         android:layout_height="wrap_content">
54
55         <LinearLayout
56             style="@style/SecurityPreferenceButtonContainer"
57             android:layout_alignParentRight="true"
58             android:orientation="horizontal">
59
60             <!-- left / top button: skip, or re-try -->
61             <Button android:id="@+id/skip_button"
62                 style="@style/SecurityPreferenceButton"
63                 android:text="@string/lockpattern_tutorial_cancel_label"/>
64
65             <!-- right / bottom button: confirm or ok -->
66             <Button android:id="@+id/next_button"
67                 style="@style/SecurityPreferenceButton"
68                 android:text="@string/lockpattern_tutorial_continue_label"/>
69
70         </LinearLayout>
71
72     </RelativeLayout>
73
74 </com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>