Added explanation in the view for PIN Code creation
[pub/Android/ownCloud.git] / res / layout / pincodelock.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 ownCloud Android client application
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 -->
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:oc="http://schemas.android.com/apk/res/com.owncloud.android"
20 android:layout_width="fill_parent"
21 android:layout_height="fill_parent"
22 android:gravity="center_horizontal"
23 android:orientation="vertical"
24 android:padding="20dp" >
25
26
27 <TextView
28 android:id="@+id/pinHdr"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:text="@string/pincode_enter_pin_code"
32 android:textColor="@android:color/black"
33 android:gravity="center_horizontal"
34 />
35 <TextView
36 android:id="@+id/pinHdrExpl"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:text="@string/pincode_configure_your_pin_explanation"
40 android:textAppearance="@android:style/TextAppearance.Small"
41 android:gravity="center_horizontal"
42 />
43
44 <LinearLayout
45 android:layout_width="fill_parent"
46 android:layout_height="wrap_content"
47 android:gravity="center_horizontal" >
48
49 <EditText
50 android:id="@+id/txt1"
51 android:focusable="true"
52 style="@style/PassCodeStyle"
53 android:cursorVisible="true"
54 ><requestFocus/></EditText>
55
56 <EditText
57 android:id="@+id/txt2"
58 style="@style/PassCodeStyle" />
59
60 <EditText
61 android:id="@+id/txt3"
62 style="@style/PassCodeStyle" />
63
64 <EditText
65 android:id="@+id/txt4"
66 style="@style/PassCodeStyle" />
67 </LinearLayout>
68
69 <Button android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:text="@android:string/cancel"
72 android:textColor="@android:color/black"
73 android:id="@+id/cancel"/>
74 </LinearLayout>