From 15042687f89645d1fac99f811abbb258482ec386 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 6 Oct 2020 11:29:23 +0530 Subject: Fix Autofill publisher changed layout (#1136) * Fix Autofill publisher changed layout Signed-off-by: Harsh Shandilya * Tweak autofill publisher UI Signed-off-by: Aditya Wasan Co-authored-by: Aditya Wasan --- .../oreo/ui/AutofillPublisherChangedActivity.kt | 2 +- .../activity_oreo_autofill_publisher_changed.xml | 104 +++++++++++---------- 2 files changed, 58 insertions(+), 48 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillPublisherChangedActivity.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillPublisherChangedActivity.kt index 44ed3446..205452c4 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillPublisherChangedActivity.kt +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/oreo/ui/AutofillPublisherChangedActivity.kt @@ -66,7 +66,7 @@ class AutofillPublisherChangedActivity : AppCompatActivity() { with(binding) { okButton.setOnClickListener { finish() } advancedButton.setOnClickListener { - advancedButton.visibility = View.INVISIBLE + advancedButton.visibility = View.GONE warningAppAdvancedInfo.visibility = View.VISIBLE resetButton.visibility = View.VISIBLE } 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 92d4e094..8a735e5b 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 @@ -6,57 +6,69 @@ + app:layout_constraintTop_toTopOf="parent" /> + + + app:layout_constraintBottom_toBottomOf="@id/warningHeader" /> + app:layout_constraintStart_toEndOf="@id/warningSign" + app:layout_constraintTop_toBottomOf="@id/cover" /> -