commit | 8ba0b6b0ea02afbf257354dd101d3c698e774d01 | [log] [tgz] |
---|---|---|
author | Zachary Tan <tanzachary@chromium.org> | Mon Dec 02 21:20:40 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 02 21:20:40 2024 |
tree | 4880bbe59317e7a22ab353158f5ef93c0e4393a6 | |
parent | 2e58a3b7b6316aae0ede4045250698152cd07fb5 [diff] |
[FedCM] Fix header horizontal margins on Android active mode Screenshot https://issues.chromium.org/action/issues/381525869/attachments/61239638?download=false Bug: 381525869 Change-Id: I1d2bf15cabb1d81628fe3106ad88d6899c69f3a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6064521 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Zachary Tan <tanzachary@chromium.org> Cr-Commit-Position: refs/heads/main@{#1390582}
diff --git a/chrome/browser/ui/android/webid/internal/java/res/layout/account_selection_active_mode_header_item.xml b/chrome/browser/ui/android/webid/internal/java/res/layout/account_selection_active_mode_header_item.xml index 86901eb..2de8abe6 100644 --- a/chrome/browser/ui/android/webid/internal/java/res/layout/account_selection_active_mode_header_item.xml +++ b/chrome/browser/ui/android/webid/internal/java/res/layout/account_selection_active_mode_header_item.xml
@@ -8,6 +8,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_marginHorizontal="@dimen/account_selection_active_mode_sheet_header_horizontal_margin" android:layout_height="wrap_content" android:layout_width="match_parent" android:orientation="vertical">
diff --git a/chrome/browser/ui/android/webid/internal/java/res/values/dimens.xml b/chrome/browser/ui/android/webid/internal/java/res/values/dimens.xml index d1b7cc3d..f90f490 100644 --- a/chrome/browser/ui/android/webid/internal/java/res/values/dimens.xml +++ b/chrome/browser/ui/android/webid/internal/java/res/values/dimens.xml
@@ -29,6 +29,7 @@ <dimen name="account_selection_active_mode_sheet_icon_padding">8dp</dimen> <dimen name="account_selection_active_mode_sheet_continue_button_top_margin">24dp</dimen> <dimen name="account_selection_active_mode_sheet_title_padding">10dp</dimen> + <dimen name="account_selection_active_mode_sheet_header_horizontal_margin">24dp</dimen> <dimen name="account_selection_active_mode_sheet_add_account_button_top_margin">12dp</dimen> <dimen name="account_selection_active_mode_sheet_plus_icon_horizontal_margin">18dp</dimen> <dimen name="account_selection_active_mode_sheet_account_row_padding">2dp</dimen>