Fixed
Status Update
Comments
an...@google.com <an...@google.com>
le...@google.com <le...@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
na...@google.com <na...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
Author: Max Alfonso-Ying <
Link:
Introduce SearchBarState
Expand for full commit details
Introduce SearchBarState
This is part 1 of the search bar refactor. A new
InputField overload has been added to use this state.
Other component refactors will come in later CLs.
Bug: b/283311462
Test: n/a
Relnote: n/a
Change-Id: Ibb563b25de5ba76cec7612655b9b632c5f0e99d4
Files:
- M
compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/SearchBar.kt
Hash: 4f31090de77bee9f8e1e355e78125b8228e0985b
Date: Fri Aug 09 02:31:50 2024
Description
Jetpack Compose version: 1.6.7, 1.7.0-alpha08
Jetpack Compose component(s) used: HorizontalPager, VerticalPager
Android Studio Build: AI-233.14808.21.2331.11709847
Kotlin version: 1.9.23
When trying to scroll past the last page in a Pager (both Horizontal and Vertical), Pager performs the overscroll and then snaps to a place somewhere between the last and second last page. The place is not the same every time and seems to depend on fling speed.
PageSize.Fixed
, cannot reproduce with the defaultPageSize.Fill
Expected behavior: after overscroll, pager snaps to the last page
Code used to reproduce the issue: