OSDN Git Service

aosp fixes
[android-x86/external-koush-Superuser.git] / Superuser / res / layout / pin.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     android:layout_width="match_parent"
3     android:layout_height="match_parent"
4     android:orientation="vertical" >
5
6     <EditText
7         android:id="@+id/password"
8         style="@android:style/TextAppearance.Large"
9         android:layout_width="match_parent"
10         android:layout_height="wrap_content"
11         android:editable="false"
12         android:enabled="false"
13         android:gravity="center"
14         android:hint="@string/enter_pin"
15         android:maxLines="1"
16         android:padding="@dimen/section_padding"
17         android:password="true"
18         android:textColor="@color/holo_blue_dark" />
19
20     <LinearLayout
21         android:layout_width="match_parent"
22         android:layout_height="wrap_content" >
23
24         <Button
25             android:id="@+id/p1"
26             style="@style/PinButton" />
27
28         <Button
29             android:id="@+id/p2"
30             style="@style/PinButton" />
31
32         <Button
33             android:id="@+id/p3"
34             style="@style/PinButton" />
35     </LinearLayout>
36
37     <LinearLayout
38         android:layout_width="match_parent"
39         android:layout_height="wrap_content" >
40
41         <Button
42             android:id="@+id/p4"
43             style="@style/PinButton" />
44
45         <Button
46             android:id="@+id/p5"
47             style="@style/PinButton" />
48
49         <Button
50             android:id="@+id/p6"
51             style="@style/PinButton" />
52     </LinearLayout>
53
54     <LinearLayout
55         android:layout_width="match_parent"
56         android:layout_height="wrap_content" >
57
58         <Button
59             android:id="@+id/p7"
60             style="@style/PinButton" />
61
62         <Button
63             android:id="@+id/p8"
64             style="@style/PinButton" />
65
66         <Button
67             android:id="@+id/p9"
68             style="@style/PinButton" />
69     </LinearLayout>
70
71     <LinearLayout
72         android:layout_width="match_parent"
73         android:layout_height="wrap_content" >
74
75         <Button
76             style="@style/PinButton"
77             android:enabled="false" />
78
79         <Button
80             android:id="@+id/p0"
81             style="@style/PinButton" />
82
83         <ImageButton
84             android:id="@+id/pd"
85             style="@style/PinButton"
86             android:scaleType="fitCenter"
87             android:src="@drawable/ic_delete" />
88     </LinearLayout>
89
90     <LinearLayout
91         android:layout_width="match_parent"
92         android:layout_height="wrap_content"
93         android:background="@color/background_dark" >
94
95         <Button
96             android:id="@+id/cancel"
97             style="@style/FlatButton"
98             android:layout_width="wrap_content"
99             android:layout_height="wrap_content"
100             android:layout_weight="1"
101             android:text="@android:string/cancel" />
102
103         <LinearLayout
104             android:layout_width="wrap_content"
105             android:layout_height="match_parent"
106             android:paddingBottom="10dp"
107             android:paddingTop="10dp" >
108
109             <LinearLayout
110                 android:layout_width="1dp"
111                 android:layout_height="match_parent"
112                 android:background="@android:color/darker_gray" >
113             </LinearLayout>
114         </LinearLayout>
115
116         <Button
117             android:id="@+id/ok"
118             style="@style/FlatButton"
119             android:layout_width="wrap_content"
120             android:layout_height="wrap_content"
121             android:layout_weight="1"
122             android:text="@android:string/ok" />
123     </LinearLayout>
124
125 </LinearLayout>