aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:29:53 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2021-11-03 15:51:47 +0530
commit8757e4427247db2e6dfc2f36e652f6480b06e72b (patch)
treec5b4ff003d66132c3d778c8439f84c9a44715785 /app
parent7e2a91733feab9fa5c7a1adbbae1d43ad8347163 (diff)
app: fix hard-coded colors in AutofillPublisherChangedActivity
Diffstat (limited to 'app')
-rw-r--r--app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml b/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml
index 685799eb..f0e9efbb 100644
--- a/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml
+++ b/app/src/main/res/layout/activity_oreo_autofill_publisher_changed.xml
@@ -18,7 +18,7 @@
android:id="@+id/cover"
android:layout_width="60dp"
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/warningSign"
@@ -107,7 +107,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/okButton"
- style="@style/AppTheme.OutlinedButton"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_horizontal_margin"
@@ -122,7 +122,7 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/advancedButton"
- style="@style/AppTheme.OutlinedButton"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_horizontal_margin"
@@ -137,14 +137,13 @@
<com.google.android.material.button.MaterialButton
android:id="@+id/resetButton"
- style="@style/AppTheme.OutlinedButton"
+ style="?attr/materialButtonOutlinedStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_horizontal_margin"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:minWidth="240dp"
android:text="@string/oreo_autofill_warning_publisher_reenable_button"
- android:textColor="?attr/colorOnSurface"
android:textSize="12sp"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"