-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fixit][Settings] Add padding to item instead of recycler view to mov…
…e scroll to end. We currently show scroll near the content instead of at edge of screen. This is because we have padding set for recycler view within settings content view. Updated this to set padding at item level to keep scroll at edge. Re-purposed existing item decorator (which was setting padded divider to set item padding + divider). For non-wide display (phones, narrow window width), we set the padding to Android's listPreferredItemPadding* attr to keep existing behavior. Demo: https://screencast.googleplex.com/cast/NTgyMjc2MTY1NzE3MTk2OHwzOTY3ZDg5My1kOA Bug: 1490327 Change-Id: Ida4f2aaf0fbff3b57fa969f9e8de0e0d15a6a005 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4916568 Reviewed-by: Theresa Sullivan <twellington@chromium.org> Commit-Queue: Sirisha Kavuluru <skavuluru@google.com> Reviewed-by: Wenyu Fu <wenyufu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1209957}
- Loading branch information
Sirisha Kavuluru
authored and
Chromium LUCI CQ
committed
Oct 16, 2023
1 parent
6545cba
commit 62b00a1
Showing
12 changed files
with
441 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.