Fixed
Status Update
Comments
an...@google.com <an...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Max Alfonso-Ying <
Link:
Implement full screen search bar using dialog
Expand for full commit details
Implement full screen search bar using dialog
Overview of new components:
* SearchBar - visually equivalent to previous overload, except does not
apply the padding/window insets of a top bar.
* CollapsedSearchBar - One half of SearchBar. Just a text field wrapped
in a Surface.
* FullScreenSearchBarLayout - private implementation. Equivalent to
existing SearchBarImpl + SearchBarLayout but slightly cleaned up.
Predictive back support will be added in future CL.
* ExpandedFullScreenSearchBar - FullScreenSearchBarLayout wrapped in a dialog.
Bug: b/283311462
Test: n/a
Relnote: n/a
Change-Id: I71145c5528a2c0c5ee97eca75dda0904ea91108b
Files:
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SearchBar.kt
Hash: 7ccfa611287f4388caf0b0224b4b662e9a5f44af
Date: Tue Nov 19 22:59:52 2024
Description
I'd like to implement the tab indicator shape in the screenshot. I tried using
RoundedCornerShape(100, 100)
, but that coerces the values to 50%.For now I've written my own using
GenericShape
, but it would be nice ifRoundedCornerShape
was more flexible.