aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/password_row_layout.xml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-10-01 22:14:28 +0530
committerGitHub <noreply@github.com>2019-10-01 22:14:28 +0530
commit073346c157ec34b750d175c8543f346e6eae94de (patch)
treea55d24ef43563f3a2d03d7938a1e96c1f5cd1caf /app/src/main/res/layout/password_row_layout.xml
parentc9dc4034f12b62f4470f92fb13ecd72871f4a5b7 (diff)
downloadHardenedPass-073346c157ec34b750d175c8543f346e6eae94de.tar.gz
HardenedPass-073346c157ec34b750d175c8543f346e6eae94de.zip
Redesign UI and introduce dark theme (#519)
Caveats: - The openpgp preference had to be removed because the open-intents developers are too lazy to update their libraries. Over the coming weeks I will be reimplementing a local solution for this instead. - The autofill dialog is broken but I since it is being worked on in #410 already I'm not going to bother fixing it.
Diffstat (limited to 'app/src/main/res/layout/password_row_layout.xml')
-rw-r--r--app/src/main/res/layout/password_row_layout.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml
index 66616cc3..71ad8cf4 100644
--- a/app/src/main/res/layout/password_row_layout.xml
+++ b/app/src/main/res/layout/password_row_layout.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<com.zeapo.pwdstore.widget.MultiselectableLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:background="?android:attr/activatedBackgroundIndicator">
+ android:background="@drawable/password_row_background">
<LinearLayout
android:layout_width="match_parent"
@@ -15,7 +15,7 @@
android:paddingRight="16dp"
android:gravity="start">
- <ImageView
+ <androidx.appcompat.widget.AppCompatImageView
android:id="@+id/type_image"
android:layout_width="80dp"
android:layout_height="32dp"
@@ -24,7 +24,7 @@
android:alpha="0.5"
android:contentDescription="@string/folder_icon_hint"
android:paddingEnd="8dp"
- android:src="@drawable/ic_folder_grey600_24dp"
+ android:src="@drawable/ic_folder_tinted_24dp"
tools:ignore="RtlSymmetry" />
<LinearLayout
@@ -34,24 +34,24 @@
android:layout_gravity="bottom"
android:orientation="vertical">
- <TextView
+ <androidx.appcompat.widget.AppCompatTextView
android:id="@+id/type"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="start"
android:singleLine="true"
android:text="TYPE"
- android:textColor="@color/grey_500"
+ android:textColor="?android:attr/textColor"
android:textSize="14sp"
tools:ignore="HardcodedText" />
- <TextView
+ <androidx.appcompat.widget.AppCompatTextView
android:id="@+id/label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:text="FILE_NAME"
- android:textColor="@android:color/black"
+ android:textColor="?android:attr/textColor"
android:textSize="18sp"
tools:ignore="HardcodedText" />
@@ -59,4 +59,4 @@
</LinearLayout>
-</LinearLayout> \ No newline at end of file
+</com.zeapo.pwdstore.widget.MultiselectableLinearLayout> \ No newline at end of file