summaryrefslogtreecommitdiff
path: root/app/src/nonFree
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-07-22 13:37:36 +0530
committerGitHub <noreply@github.com>2020-07-22 13:37:36 +0530
commitfb5f4e421d8b958ba7fcfa0e6bcaaf1ff350de4b (patch)
tree605c0861dde547e68cff2e27e9343824643430c8 /app/src/nonFree
parent511bfb0a9a8241d9ff93dbfa47cfe211629a112e (diff)
Add pt-BR translations and cleanup resources (#947)
Diffstat (limited to 'app/src/nonFree')
-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>