[TouchToFill][Android] Fix TouchToFill title alignment after rotation
Replaces how the title and the subtitle in the TouchToFill bottom sheet are aligned. Before, layout_width="match_parent" with textAlignment="center" were used. This has caused issues with device rotation (see bug). After this change, layout_width="wrap_content" and layout_gravity="center_horizontal" are used. Bug: 1012224 Change-Id: I98f7cdeab9be84eee80d2dc14cc29ae820af6b13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847285Reviewed-by:Friedrich [CET] <fhorschig@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#703769}
Showing
Please register or sign in to comment