Add version 25.0.2 of dx.jar to sdk/build-tools.
[android_tools.git] / sdk / platforms / android-27 / data / res / layout / restrictions_pin_setup.xml
blob03ed696adfe13468a3159b6b576d68a231092611
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 The Android Open Source Project
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
8           http://www.apache.org/licenses/LICENSE-2.0
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 -->
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">
25     <LinearLayout
26         android:layout_width="match_parent"
27         android:layout_height="wrap_content"
28         android:padding="8dip"
29         android:orientation="vertical">
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" />
40         <EditText android:id="@+id/pin_text"
41             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_old_pin"
46             android:inputType="numberPassword"
47             android:textColor="?android:attr/textColorPrimary" />
49         <EditText android:id="@+id/pin_new_text"
50             style="?android:attr/textAppearanceMedium"
51             android:layout_marginBottom="16dp"
52             android:layout_width="match_parent"
53             android:layout_height="wrap_content"
54             android:hint="@string/restr_pin_enter_new_pin"
55             android:inputType="numberPassword"
56             android:textColor="?android:attr/textColorPrimary" />
58         <EditText android:id="@+id/pin_confirm_text"
59             style="?android:attr/textAppearanceMedium"
60             android:layout_marginBottom="16dp"
61             android:layout_width="match_parent"
62             android:layout_height="wrap_content"
63             android:hint="@string/restr_pin_confirm_pin"
64             android:inputType="numberPassword"
65             android:textColor="?android:attr/textColorPrimary" />
67         <TextView android:id="@+id/pin_error_message"
68             style="?android:attr/textAppearanceSmall"
69             android:layout_marginBottom="16dp"
70             android:layout_width="match_parent"
71             android:layout_height="wrap_content"
72             android:text="@string/restr_pin_error_doesnt_match"
73             android:textColor="#FFFF0000" />
75     </LinearLayout>
77 </ScrollView>