BEGIN_PUBLIC
Adding ShadowKeyCharacterMap.nativeGetMatch(). Fixes#5110.
This makes it possible to enter text into number fields.
END_PUBLIC
PiperOrigin-RevId: 862805658
This change implements the Material 3 Expressive styles for SearchView, which includes updated toolbar shape, background color, and paddings.
PiperOrigin-RevId: 861835368
When a multiline title changes length (e.g. multi-line to single-line) while collapsed, the layout height decreases. If the previous scroll offset is deeper than the new valid range, the AppBarLayout can jump or get stuck in an invalid state.
This fix forces the AppBarLayout to `PENDING_ACTION_COLLAPSED` if the CollapsingToolbarLayout height changes while fully collapsed. This ensures it snaps correctly to the new collapsed offset.
PiperOrigin-RevId: 861133526
This change hides the divider on search view between the toolbar and content. It prepares for the contained style in Material 3 Expressive.
PiperOrigin-RevId: 859185807
This change removes the fitsSystemWindows attribute in the main search demo fragment, which allows the search view to span full-screen, like other demos.
PiperOrigin-RevId: 859163506
Without calling `syncState()`, the `ActionBarDrawerToggle` defaults to the "Navigate up" description, ignoring the custom "Show navigation drawer" description until the user interacts with the drawer.
PiperOrigin-RevId: 853203850
This change introduces pending states for icon and icon size. When a width animation is active, calls to setIcon and setIconSize are deferred and applied only after the animation completes, preventing layout conflicts.
PiperOrigin-RevId: 840343132
The gap between the thumb and track is now calculated on the fly for each thumb, considering whether the thumb is currently pressed.
PiperOrigin-RevId: 839683792
On D-Pad controlled devices like Android TV, pressing up or down on a focused horizontal slider would change its value instead of moving focus to an adjacent UI element. This trapped users in the slider.
This CL fixes the focus trap by removing the key handlers for DPAD_UP and DPAD_DOWN, allowing the Android system to handle focus navigation as expected.
PiperOrigin-RevId: 837044072
This change fixes a keyboard trap in MaterialDatePicker where the TAB key focus was stuck within the month grid. TAB navigation is now limited to the days within the current month, allowing focus to move out of the picker.
For navigating between months, this change introduces DPAD (left/right arrow key) navigation. When on the first or last valid day of the month, the arrow keys will navigate to the previous or next month.
This CL also prevents keyboard focus from landing on disabled dates. Since GridView does not natively support skipping disabled items, custom logic has been added to find and focus on the nearest valid day during keyboard navigation.
Finally, a bug that caused focus to incorrectly jump to a previous, non-visible month during TAB navigation has been fixed. This was caused by RecyclerView's view-recycling mechanism. The solution ensures that only the currently visible month is focusable, preventing focus from moving to off-screen months.
PiperOrigin-RevId: 834271529