Files
packages_apps_Settings/res/layout/keyguard_password.xml
The Android Open Source Project de2d9f5f10 Initial Contribution
2008-10-21 07:00:00 -07:00

103 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/Settings/res/layout/keyguard_password.xml
**
** Copyright 2007, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<LinearLayout
style="@style/info_layout"
android:orientation="vertical">
<TextView
style="@style/info_label"
android:text="@string/keyguard_password_old_label"
/>
<EditText android:id="@+id/old_password"
android:singleLine="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollHorizontally="true"
android:autoText="false"
android:capitalize="none"
android:password="true"
android:maxLength="32"
/>
<TextView android:id="@+id/old_password_error"
style="@style/info_label"
android:visibility="gone"
android:text="@string/keyguard_password_old_password_error_text"
/>
<TextView
style="@style/info_label"
android:text="@string/keyguard_password_new_label"
/>
<EditText android:id="@+id/new_password_1"
android:singleLine="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollHorizontally="true"
android:autoText="false"
android:capitalize="none"
android:password="true"
android:maxLength="32"
/>
<TextView
style="@style/info_label"
android:text="@string/keyguard_password_confirm_new_label"
/>
<EditText android:id="@+id/new_password_2"
android:singleLine="true"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollHorizontally="true"
android:autoText="false"
android:capitalize="none"
android:password="true"
android:maxLength="32"
/>
<TextView android:id="@+id/mismatch_error"
style="@style/info_label"
android:visibility="gone"
android:text="@string/keyguard_password_mismatch_error_text"
/>
<Button android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/keyguard_password_button_text"
/>
</LinearLayout>
</ScrollView>