blob: 04c3e857b1843aa4d4e6d30bfb12c54a36ca44eb [file] [log] [blame]
Jim Miller17e9e192010-12-07 20:41:41 -08001<?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
17<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 android:id="@+id/topLayout"
20 android:orientation="horizontal"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent">
23
Jim Miller2e28ace2010-12-15 10:07:16 -080024 <RelativeLayout
Jim Miller17e9e192010-12-07 20:41:41 -080025 android:layout_width="0dip"
26 android:layout_height="match_parent"
Jim Miller2e28ace2010-12-15 10:07:16 -080027 android:layout_weight="1">
Jim Miller17e9e192010-12-07 20:41:41 -080028
Jim Miller2e28ace2010-12-15 10:07:16 -080029 <!-- left side: lock pattern -->
30 <com.android.internal.widget.LockPatternView android:id="@+id/lockPattern"
31 android:layout_width="354dip"
32 android:layout_height="354dip"
33 android:layout_gravity="center_horizontal"
34 android:layout_marginTop="72dip"
35 android:layout_marginLeft="111dip"
36 aspect="square"/>
37
38 <!-- right side: instructions and buttons -->
Jim Miller17e9e192010-12-07 20:41:41 -080039 <!-- header message -->
40 <TextView android:id="@+id/headerText"
Jim Miller2e28ace2010-12-15 10:07:16 -080041 android:layout_width="542dip"
Jim Miller17e9e192010-12-07 20:41:41 -080042 android:layout_height="wrap_content"
Jim Miller2e28ace2010-12-15 10:07:16 -080043 android:layout_marginTop="88dip"
44 android:layout_alignParentTop="true"
45 android:layout_toRightOf="@id/lockPattern"
46 android:layout_marginLeft="100dip"
Jim Miller17e9e192010-12-07 20:41:41 -080047 android:textSize="22sp"/>
48
49 <!-- footer message -->
50 <TextView android:id="@+id/footerText"
Jim Miller2e28ace2010-12-15 10:07:16 -080051 android:layout_width="542dip"
Jim Miller17e9e192010-12-07 20:41:41 -080052 android:layout_height="wrap_content"
Jim Miller2e28ace2010-12-15 10:07:16 -080053 android:layout_below="@id/headerText"
54 android:layout_marginTop="16dip"
55 android:layout_toRightOf="@id/lockPattern"
56 android:layout_marginLeft="100dip"
Jim Miller17e9e192010-12-07 20:41:41 -080057 android:textSize="22sp"/>
Jim Miller2e28ace2010-12-15 10:07:16 -080058
59 </RelativeLayout>
Jim Miller17e9e192010-12-07 20:41:41 -080060
61</com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient>
62