diff options
Diffstat (limited to 'app/src/main/res/layout/decrypt_layout.xml')
| -rw-r--r-- | app/src/main/res/layout/decrypt_layout.xml | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/app/src/main/res/layout/decrypt_layout.xml b/app/src/main/res/layout/decrypt_layout.xml index 71566178..1c0c9b35 100644 --- a/app/src/main/res/layout/decrypt_layout.xml +++ b/app/src/main/res/layout/decrypt_layout.xml @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <ScrollView 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="match_parent" android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto" android:background="?android:attr/windowBackground" android:orientation="vertical" tools:context="com.zeapo.pwdstore.crypto.PgpActivity"> @@ -58,8 +58,8 @@ android:id="@+id/divider" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="16dp" android:layout_marginTop="16dp" + android:layout_marginBottom="16dp" android:src="@drawable/divider" app:layout_constraintTop_toBottomOf="@id/crypto_password_last_changed" tools:ignore="ContentDescription" /> @@ -70,8 +70,8 @@ android:layout_height="wrap_content" android:layout_marginTop="@dimen/activity_vertical_margin" android:visibility="invisible" - tools:visibility="visible" - app:layout_constraintTop_toBottomOf="@id/divider"> + app:layout_constraintTop_toBottomOf="@id/divider" + tools:visibility="visible"> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_password_show_label" @@ -79,9 +79,9 @@ android:layout_height="wrap_content" android:text="@string/password" android:textColor="?android:attr/textColor" + android:textStyle="bold" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - android:textStyle="bold" /> + app:layout_constraintTop_toTopOf="parent" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_password_show" @@ -90,16 +90,16 @@ android:layout_gravity="fill" android:gravity="bottom" android:textColor="?android:attr/textColor" - app:layout_constraintStart_toEndOf="@id/crypto_password_show_label" + android:typeface="monospace" app:layout_constraintBaseline_toBaselineOf="@id/crypto_password_show_label" - android:typeface="monospace" /> + app:layout_constraintStart_toEndOf="@id/crypto_password_show_label" /> <com.google.android.material.button.MaterialButton android:id="@+id/crypto_password_toggle_show" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="@string/show_password" android:layout_marginTop="8dp" + android:text="@string/show_password" app:layout_constraintTop_toBottomOf="@id/crypto_password_show_label" /> </androidx.constraintlayout.widget.ConstraintLayout> @@ -116,15 +116,15 @@ android:id="@+id/crypto_copy_username" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentEnd="true" android:layout_alignParentTop="true" + android:layout_alignParentEnd="true" android:background="?android:attr/windowBackground" android:contentDescription="@string/copy_username" android:src="@drawable/ic_content_copy" android:visibility="invisible" - app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toEndOf="parent" - tools:visibility="visible"/> + app:layout_constraintTop_toTopOf="parent" + tools:visibility="visible" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_username_show_label" @@ -139,84 +139,84 @@ android:visibility="invisible" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - tools:visibility="visible"/> + tools:visibility="visible" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_username_show" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentStart="true" android:layout_below="@id/crypto_username_show_label" + android:layout_alignParentStart="true" android:layout_toStartOf="@id/crypto_copy_username" android:textColor="?android:attr/textColor" android:textIsSelectable="true" android:typeface="monospace" android:visibility="invisible" - app:layout_constraintTop_toBottomOf="@id/crypto_username_show_label" app:layout_constraintStart_toStartOf="parent" - tools:visibility="visible"/> + app:layout_constraintTop_toBottomOf="@id/crypto_username_show_label" + tools:visibility="visible" /> <androidx.appcompat.widget.AppCompatImageView android:id="@+id/crypto_copy_otp" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentEnd="true" android:layout_below="@id/crypto_username_show" + android:layout_alignParentEnd="true" android:background="?android:attr/windowBackground" android:contentDescription="@string/copy_otp" android:src="@drawable/ic_content_copy" android:visibility="invisible" - app:layout_constraintTop_toTopOf="@id/crypto_otp_show_label" app:layout_constraintEnd_toEndOf="parent" - tools:visibility="visible"/> + app:layout_constraintTop_toTopOf="@id/crypto_otp_show_label" + tools:visibility="visible" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_otp_show_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentStart="true" android:layout_below="@id/crypto_username_show" + android:layout_alignParentStart="true" android:layout_toStartOf="@id/crypto_copy_otp" android:text="@string/otp" android:textColor="?android:attr/textColor" - app:layout_constraintTop_toBottomOf="@id/crypto_username_show" + android:textStyle="bold" app:layout_constraintStart_toStartOf="parent" - android:textStyle="bold" /> + app:layout_constraintTop_toBottomOf="@id/crypto_username_show" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_otp_show" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentStart="true" android:layout_below="@id/crypto_otp_show_label" + android:layout_alignParentStart="true" android:layout_toStartOf="@id/crypto_copy_otp" android:textColor="?android:attr/textColor" android:textIsSelectable="true" - app:layout_constraintTop_toBottomOf="@id/crypto_otp_show_label" - android:typeface="monospace" /> + android:typeface="monospace" + app:layout_constraintTop_toBottomOf="@id/crypto_otp_show_label" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_extra_show_label" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_alignParentStart="true" android:layout_below="@id/crypto_otp_show" + android:layout_alignParentStart="true" android:text="@string/extra_content" android:textColor="?android:attr/textColor" - app:layout_constraintTop_toBottomOf="@id/crypto_otp_show" + android:textStyle="bold" app:layout_constraintStart_toStartOf="parent" - android:textStyle="bold" /> + app:layout_constraintTop_toBottomOf="@id/crypto_otp_show" /> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/crypto_extra_show" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_alignParentStart="true" android:layout_below="@id/crypto_extra_show_label" + android:layout_alignParentStart="true" android:textColor="?android:attr/textColor" android:textIsSelectable="true" - app:layout_constraintTop_toBottomOf="@id/crypto_extra_show_label" - android:typeface="monospace" /> + android:typeface="monospace" + app:layout_constraintTop_toBottomOf="@id/crypto_extra_show_label" /> <ToggleButton android:id="@+id/crypto_extra_toggle_show" @@ -225,13 +225,13 @@ android:layout_height="wrap_content" android:layout_below="@id/crypto_extra_show" android:layout_alignParentStart="true" + android:backgroundTint="?attr/colorSecondary" android:checked="false" android:paddingTop="8dp" android:textColor="?android:attr/windowBackground" android:textOff="@string/show_extra" android:textOn="@string/hide_extra" - app:layout_constraintTop_toBottomOf="@id/crypto_extra_show" - android:backgroundTint="?attr/colorSecondary"/> + app:layout_constraintTop_toBottomOf="@id/crypto_extra_show" /> </androidx.constraintlayout.widget.ConstraintLayout> |
