blob: 954af92c60b75d4577d936041dac013c23374403 [file] [log] [blame]
Amith Yamasani655d0e22013-06-12 14:19:10 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 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<!-- Layout used as the dialog's content View for EditTextPreference. -->
18<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="match_parent"
20 android:layout_height="match_parent"
21 android:layout_marginTop="48dp"
22 android:layout_marginBottom="48dp"
23 android:overScrollMode="ifContentScrolls">
24
25 <LinearLayout
26 android:layout_width="match_parent"
27 android:layout_height="wrap_content"
28 android:padding="8dip"
29 android:orientation="vertical">
30
31 <TextView android:id="@+id/pin_message"
32 style="?android:attr/textAppearanceMedium"
33 android:layout_marginTop="16dp"
34 android:layout_marginBottom="16dp"
35 android:layout_width="match_parent"
36 android:layout_height="wrap_content"
37 android:text="@string/restr_pin_create_pin"
38 android:textColor="?android:attr/textColorSecondary" />
39
Amith Yamasani1a7472e2013-07-02 11:17:30 -070040 <EditText android:id="@+id/pin_text"
Amith Yamasani655d0e22013-06-12 14:19:10 -070041 style="?android:attr/textAppearanceMedium"
42 android:layout_marginBottom="16dp"
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content"
45 android:hint="@string/restr_pin_enter_pin"
Amith Yamasani1a7472e2013-07-02 11:17:30 -070046 android:inputType="numberPassword"
Amith Yamasani655d0e22013-06-12 14:19:10 -070047 android:textColor="?android:attr/textColorPrimary" />
48
49 <TextView android:id="@+id/pin_error_message"
50 style="?android:attr/textAppearanceSmall"
51 android:layout_marginBottom="16dp"
52 android:layout_width="match_parent"
53 android:layout_height="wrap_content"
54 android:text="@string/restr_pin_error_doesnt_match"
55 android:textColor="#FFFF0000" />
56
57 </LinearLayout>
58
59</ScrollView>