Commit c8e84919 authored by Clemens Arbesser's avatar Clemens Arbesser Committed by Commit Bot

[Autofill Assistant] Onboarding buttons are now aligned with the Terms&Conditions box.

Before: https://screenshot.googleplex.com/ESkLNquDXJd.png
After: https://screenshot.googleplex.com/tEssthOhzV9.png

Bug: 806868
Change-Id: I628e6aaa3bf11f453096c80dfc05266393db6ede
Reviewed-on: https://chromium-review.googlesource.com/c/1365435Reviewed-by: default avatarTheresa <twellington@chromium.org>
Commit-Queue: Clemens Arbesser <arbesser@google.com>
Cr-Commit-Position: refs/heads/master@{#614384}
parent 7e7e4790
......@@ -94,7 +94,7 @@
<Space android:layout_width="0dp" android:layout_height="25dp"/>
<!-- Terms and Conditions message and link -->
<FrameLayout
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:paddingStart="12dp"
......@@ -113,16 +113,17 @@
android:layout_gravity="center"
android:textAppearance="@style/BlackBodyDefault"
android:text="@string/autofill_assistant_google_terms_description" />
</FrameLayout>
</LinearLayout>
<!-- Horizontal layout for the buttons -->
<!-- Layout for the buttons -->
<Space android:layout_width="0dp" android:layout_height="32dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_height="wrap_content"
android:gravity="bottom|center"
android:orientation="horizontal"
android:paddingTop="32dp">
android:orientation="horizontal">
<!-- 'No' button -->
<org.chromium.ui.widget.ButtonCompat
......@@ -140,6 +141,11 @@
android:text="@string/no_thanks"
style="@style/TextButton" />
<Space
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
<!-- 'Yes' button -->
<org.chromium.ui.widget.ButtonCompat
android:id="@+id/button_init_ok"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment