blob: 110b9ad1211d11ffb12c04b7875c1db0cafbfdab [file] [log] [blame]
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -07001<?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="wrap_content"
21 android:layout_height="fill_parent"
22 android:background="@color/black">
23
24 <TextView android:id="@+id/headerText"
25 android:layout_width="fill_parent"
26 android:layout_height="0dip"
The Android Open Source Project1feaa852009-02-10 15:44:05 -080027 android:layout_weight="1"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070028 android:gravity="center"
29 android:textSize="18sp"/>
30
31 <View
32 android:background="@*android:drawable/code_lock_top"
33 android:layout_width="fill_parent"
34 android:layout_height="2dip" />
35 <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content" />
38 <View
39 android:background="@*android:drawable/code_lock_bottom"
40 android:layout_width="fill_parent"
41 android:layout_height="8dip" />
42
The Android Open Source Project1feaa852009-02-10 15:44:05 -080043 <!-- message just above the button bar -->
44 <TextView android:id="@+id/footerText"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_gravity="center_horizontal"
48 android:textSize="14sp"/>
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070049
The Android Open Source Project1feaa852009-02-10 15:44:05 -080050 <!-- confirm / restart buttons -->
51 <LinearLayout style="@android:style/ButtonBar"
52 android:orientation="horizontal"
53 android:layout_width="fill_parent"
54 android:layout_height="wrap_content">
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070055
56 <!-- left button: skip, or retry -->
57 <Button android:id="@+id/footerLeftButton"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070058 android:layout_height="wrap_content"
The Android Open Source Project1feaa852009-02-10 15:44:05 -080059 android:layout_width="0dip"
60 android:layout_weight="1"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070061 android:text="@string/lockpattern_restart_button_text"/>
62
The Android Open Source Project1feaa852009-02-10 15:44:05 -080063 <!-- Placeholder to get blank space between the two buttons -->
64 <View
65 android:visibility="invisible"
66 android:layout_height="0dip"
67 android:layout_width="1dip"
68 android:layout_weight="1" />
69
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070070 <!-- right button: confirm or ok -->
71 <Button android:id="@+id/footerRightButton"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070072 android:layout_height="wrap_content"
The Android Open Source Project1feaa852009-02-10 15:44:05 -080073 android:layout_width="0dip"
74 android:layout_weight="1"
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070075 android:drawableRight="@drawable/ic_btn_next"
76 android:drawablePadding="3dip"
77 android:text="@string/lockpattern_confirm_button_text"/>
78
The Android Open Source Project1feaa852009-02-10 15:44:05 -080079 </LinearLayout>
The Android Open Source Projectde2d9f52008-10-21 07:00:00 -070080
81</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>