aboutsummaryrefslogtreecommitdiff
path: root/app/src/nonFree/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/nonFree/res')
-rw-r--r--app/src/nonFree/res/layout/activity_oreo_autofill_sms.xml61
-rw-r--r--app/src/nonFree/res/values/strings.xml9
2 files changed, 70 insertions, 0 deletions
diff --git a/app/src/nonFree/res/layout/activity_oreo_autofill_sms.xml b/app/src/nonFree/res/layout/activity_oreo_autofill_sms.xml
new file mode 100644
index 00000000..d7a87c8e
--- /dev/null
+++ b/app/src/nonFree/res/layout/activity_oreo_autofill_sms.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
+ -->
+
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingHorizontal="10dp"
+ tools:context="com.zeapo.pwdstore.autofill.oreo.ui.AutofillFilterView">
+
+ <ImageView
+ android:id="@+id/cover"
+ android:layout_width="0dp"
+ android:layout_height="50dp"
+ android:layout_margin="10dp"
+ android:contentDescription="@string/app_name"
+ android:src="@mipmap/ic_launcher_foreground"
+ app:layout_constraintBottom_toTopOf="@id/text"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_bias="0.0" />
+
+ <TextView
+ android:id="@+id/text"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ android:text="@string/oreo_autofill_waiting_for_sms"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/cover" />
+
+ <ProgressBar
+ android:id="@+id/progress"
+ style="@style/Widget.MaterialComponents.ProgressIndicator.Circular.Indeterminate"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ app:layout_constraintBottom_toTopOf="@id/cancelButton"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/text" />
+
+ <Button
+ android:id="@+id/cancelButton"
+ style="@style/Widget.MaterialComponents.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ android:text="@string/dialog_cancel"
+ android:textColor="?attr/colorSecondary"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/progress" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/app/src/nonFree/res/values/strings.xml b/app/src/nonFree/res/values/strings.xml
new file mode 100644
index 00000000..33f258dc
--- /dev/null
+++ b/app/src/nonFree/res/values/strings.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright 2014-2020 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
+ -->
+
+<resources>
+
+ <string name="oreo_autofill_waiting_for_sms">Waiting for SMS…</string>
+</resources>