Fixed crash when the device is turned while the warning dialog about server certifica...
[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 />
34
35 <LinearLayout
36 android:layout_width="fill_parent"
37 android:layout_height="wrap_content"
38 android:gravity="center_horizontal" >
39
40 <EditText
41 android:id="@+id/txt1"
42 android:focusable="true"
43 style="@style/PassCodeStyle"
44 android:cursorVisible="true"
45 ><requestFocus/></EditText>
46
47 <EditText
48 android:id="@+id/txt2"
49 style="@style/PassCodeStyle" />
50
51 <EditText
52 android:id="@+id/txt3"
53 style="@style/PassCodeStyle" />
54
55 <EditText
56 android:id="@+id/txt4"
57 style="@style/PassCodeStyle" />
58 </LinearLayout>
59
60 <Button android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:text="@android:string/cancel"
63 android:textColor="@android:color/black"
64 android:id="@+id/cancel"/>
65 </LinearLayout>