Add method to BottomSheetContent to allow custom peek height
This patch allows users of the BottomSheetContent api to choose the height that their feature peeks at. Supplementing this change are a number of height modes that the new getPeekHeight can return; namely DEFAULT and DISABLED. These changes roll two existing methods into a single, generic one. All users of the api have been updated and tests have been added for the new functionality. Bug: 986310, 968246, 1012231, 1006029 Change-Id: Ia4b4c2c2839909c3c8f9da39b1b35283dd47eb9d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832603 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Reviewed-by:
Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:
Friedrich [CET] <fhorschig@chromium.org> Cr-Commit-Position: refs/heads/master@{#705149}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment