nextcloud-android/res/layout/passcodelock.xml

90 lines
2.9 KiB
XML
Raw Normal View History

2015-05-04 12:41:09 +03:00
<?xml version="1.0" encoding="utf-8"?>
<!--
ownCloud Android client application
Copyright (C) 2012 Bartek Przybylski
Copyright (C) 2015 ownCloud Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:oc="http://schemas.android.com/apk/res/com.owncloud.android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="20dp" >
<TextView
android:id="@+id/header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pass_code_enter_pass_code"
android:textColor="@android:color/black"
android:gravity="center_horizontal"
/>
<TextView
android:id="@+id/explanation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/pass_code_configure_your_pass_code_explanation"
android:textAppearance="@android:style/TextAppearance.Small"
android:gravity="center_horizontal"
/>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal" >
<EditText
2015-05-05 01:07:24 +03:00
android:id="@+id/txt0"
2015-05-04 12:41:09 +03:00
android:focusable="true"
style="@style/PassCodeStyle"
android:cursorVisible="true"
android:imeOptions="flagNoExtractUi"
2015-05-04 12:41:09 +03:00
><requestFocus/></EditText>
<EditText
2015-05-05 01:07:24 +03:00
android:id="@+id/txt1"
style="@style/PassCodeStyle"
android:cursorVisible="true"
android:imeOptions="flagNoExtractUi"
/>
2015-05-04 12:41:09 +03:00
<EditText
2015-05-05 01:07:24 +03:00
android:id="@+id/txt2"
style="@style/PassCodeStyle"
android:cursorVisible="true"
android:imeOptions="flagNoExtractUi"
/>
2015-05-04 12:41:09 +03:00
<EditText
2015-05-05 01:07:24 +03:00
android:id="@+id/txt3"
style="@style/PassCodeStyle"
android:cursorVisible="true"
android:imeOptions="flagNoExtractUi"
/>
2015-05-04 12:41:09 +03:00
</LinearLayout>
2015-08-07 18:09:47 +03:00
<android.support.v7.widget.AppCompatButton
2015-05-04 12:41:09 +03:00
android:id="@+id/cancel"
2015-08-07 18:09:47 +03:00
style="@style/ownCloud.Button"
2015-05-04 12:41:09 +03:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/common_cancel" />
</LinearLayout>