summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:04:40 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:46 +0530
commit7e2a91733feab9fa5c7a1adbbae1d43ad8347163 (patch)
tree7029de269eea16e238764eda82b4048f431b2a08 /app/src/main
parent5f08c63bc778c12cff9039660f836567e9b9ee64 (diff)
app: fix hard-coded colors in AutofillFilterView
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/layout/activity_oreo_autofill_filter.xml4
-rw-r--r--app/src/main/res/layout/oreo_autofill_filter_row.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_oreo_autofill_filter.xml b/app/src/main/res/layout/activity_oreo_autofill_filter.xml
index 7903425c..5bace091 100644
--- a/app/src/main/res/layout/activity_oreo_autofill_filter.xml
+++ b/app/src/main/res/layout/activity_oreo_autofill_filter.xml
@@ -15,7 +15,7 @@
android:id="@+id/cover"
android:layout_width="0dp"
android:layout_height="60dp"
- android:background="@color/primary_color"
+ android:background="@android:color/transparent"
android:contentDescription="@string/app_name"
android:src="@mipmap/ic_launcher_foreground"
app:layout_constraintBottom_toTopOf="@id/origin"
@@ -75,7 +75,7 @@
android:layout_height="match_parent"
android:scrollbars="vertical"
tools:itemCount="5"
- tools:listitem="@layout/password_row_layout" />
+ tools:listitem="@layout/oreo_autofill_filter_row" />
<TextView
android:id="@+id/rvPasswordEmpty"
diff --git a/app/src/main/res/layout/oreo_autofill_filter_row.xml b/app/src/main/res/layout/oreo_autofill_filter_row.xml
index 9c3acfed..47d31492 100644
--- a/app/src/main/res/layout/oreo_autofill_filter_row.xml
+++ b/app/src/main/res/layout/oreo_autofill_filter_row.xml
@@ -24,7 +24,7 @@
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
- app:tint="?colorOnPrimary" />
+ app:tint="?attr/colorControlNormal" />
<TextView
android:id="@+id/title"