2020-11-17 11:53:40 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?><!--
|
2020-11-30 21:04:11 +03:00
|
|
|
Nextcloud Android client application
|
2015-05-04 12:41:09 +03:00
|
|
|
|
2020-11-30 21:04:11 +03:00
|
|
|
Copyright (C) 2012 Bartek Przybylski
|
2015-05-04 12:41:09 +03:00
|
|
|
Copyright (C) 2015 ownCloud Inc.
|
2020-11-30 21:04:11 +03:00
|
|
|
Copyright (C) 2020 Andy Scherzinger
|
2015-05-04 12:41:09 +03:00
|
|
|
|
|
|
|
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/>.
|
|
|
|
-->
|
2020-11-17 11:53:40 +03:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-02-16 21:25:27 +03:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center_horizontal">
|
2018-12-20 16:17:50 +03:00
|
|
|
|
2020-11-30 21:04:11 +03:00
|
|
|
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2020-11-28 19:07:41 +03:00
|
|
|
android:id="@+id/card_view"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_width="match_parent"
|
2015-05-04 12:41:09 +03:00
|
|
|
android:layout_height="wrap_content"
|
2020-11-28 19:07:41 +03:00
|
|
|
android:layout_gravity="center"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_margin="@dimen/standard_double_margin"
|
|
|
|
card_view:cardCornerRadius="4dp"
|
|
|
|
card_view:cardElevation="@dimen/dialog_elevation">
|
2015-05-04 12:41:09 +03:00
|
|
|
|
2020-11-17 11:53:40 +03:00
|
|
|
<LinearLayout
|
2020-11-28 19:07:41 +03:00
|
|
|
android:layout_width="match_parent"
|
2020-11-17 11:53:40 +03:00
|
|
|
android:layout_height="wrap_content"
|
2020-12-01 00:37:07 +03:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="@dimen/standard_padding"
|
|
|
|
android:paddingTop="@dimen/standard_padding"
|
2020-12-01 00:38:41 +03:00
|
|
|
android:paddingEnd="@dimen/standard_padding"
|
|
|
|
android:paddingBottom="@dimen/standard_half_padding">
|
2020-11-28 19:07:41 +03:00
|
|
|
|
|
|
|
<LinearLayout
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_width="match_parent"
|
2020-11-28 19:07:41 +03:00
|
|
|
android:layout_height="wrap_content"
|
2020-12-01 00:37:07 +03:00
|
|
|
android:orientation="vertical">
|
2020-11-30 21:04:11 +03:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/header"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="@dimen/standard_padding"
|
|
|
|
android:text="@string/pass_code_enter_pass_code"
|
|
|
|
android:textColor="@color/text_color"
|
|
|
|
android:textSize="@dimen/two_line_primary_text_size"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/explanation"
|
2020-12-01 00:38:41 +03:00
|
|
|
android:layout_width="match_parent"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/pass_code_configure_your_pass_code_explanation"
|
|
|
|
android:textAppearance="@android:style/TextAppearance.Small"
|
|
|
|
android:textSize="@dimen/two_line_secondary_text_size" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/txt0"
|
|
|
|
style="@style/PassCodeStyle"
|
2021-02-16 21:25:27 +03:00
|
|
|
android:cursorVisible="false"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:focusable="true"
|
|
|
|
android:hint="@string/hidden_character"
|
|
|
|
android:imeOptions="flagNoExtractUi"
|
|
|
|
android:importantForAutofill="no"
|
2021-02-16 21:25:27 +03:00
|
|
|
tools:text="123">
|
2020-11-30 21:04:11 +03:00
|
|
|
|
|
|
|
<requestFocus />
|
|
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/txt1"
|
|
|
|
style="@style/PassCodeStyle"
|
2021-02-16 21:25:27 +03:00
|
|
|
android:cursorVisible="false"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:hint="@string/hidden_character"
|
|
|
|
android:imeOptions="flagNoExtractUi"
|
|
|
|
android:importantForAutofill="no" />
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/txt2"
|
|
|
|
style="@style/PassCodeStyle"
|
2021-02-16 21:25:27 +03:00
|
|
|
android:cursorVisible="false"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:hint="@string/hidden_character"
|
|
|
|
android:imeOptions="flagNoExtractUi"
|
|
|
|
android:importantForAutofill="no" />
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/txt3"
|
|
|
|
style="@style/PassCodeStyle"
|
2021-02-16 21:25:27 +03:00
|
|
|
android:cursorVisible="false"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:hint="@string/hidden_character"
|
|
|
|
android:imeOptions="flagNoExtractUi"
|
|
|
|
android:importantForAutofill="no" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-11-28 19:07:41 +03:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
|
|
android:id="@+id/cancel"
|
2020-11-30 21:04:11 +03:00
|
|
|
style="@style/Button.Borderless"
|
2020-11-28 19:07:41 +03:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-30 21:04:11 +03:00
|
|
|
android:layout_gravity="end"
|
|
|
|
android:text="@string/common_cancel" />
|
2020-11-17 11:53:40 +03:00
|
|
|
</LinearLayout>
|
|
|
|
|
2020-11-28 19:07:41 +03:00
|
|
|
</androidx.cardview.widget.CardView>
|
2020-11-28 19:48:12 +03:00
|
|
|
</ScrollView>
|