12 Commits

Author SHA1 Message Date
pfthomas
1ee07687af [BottomSheet] Make handle respond to keyboard input
PiperOrigin-RevId: 775207544
2025-06-27 16:09:03 +00:00
Material Design Team
95e7b45208 [BottomSheet][A11y] Add half-expanded state description for accessibility
PiperOrigin-RevId: 765144604
2025-05-30 13:36:48 +00:00
Material Design Team
af7f254bf6 [Bottom Sheet] Prevent ACTION_DOWN events on the BottomSheetHandleDragView from setting touchingScrollChild to true.
Previously, a BottomSheetHandleDragView overlapping the nestedScrollingChildRef would not always be able to resize/drag the bottom sheet.

PiperOrigin-RevId: 752730372
2025-04-30 17:49:40 +00:00
hunterstich
8ded9f511d [BottomSheet] Added back the AccessibilityStateChangedListener implementation in drag handle component
PiperOrigin-RevId: 741553738
2025-03-31 14:45:32 +00:00
hunterstich
9b440028b8 Automated g4 rollback of changelist 694359774
PiperOrigin-RevId: 740806136
2025-03-27 15:42:02 +00:00
Material Design Team
95025c6728 [BottomSheet] Remove disruptive announcement "Drag handle double tapped"for BottomSheetDragHandleView.
PiperOrigin-RevId: 708956357
2024-12-23 18:56:36 +00:00
Material Design Team
9c1ae33fdb Automated g4 rollback of changelist 694223692
PiperOrigin-RevId: 694359774
2024-11-11 13:25:21 -08:00
hunterstich
7f2b363d8b [BottomSheet] Made the drag handle clickable to cycle through bottom sheet states.
Clicking on the drag handle will now cycle through the available states as an accessible alternative to swiping.

PiperOrigin-RevId: 694223692
2024-11-11 13:17:40 -08:00
pubiqq
510881a469 [Internal] Stop using deprecated androidx.core.view.* methods
Resolves https://github.com/material-components/material-components-android/pull/4117

GIT_ORIGIN_REV_ID=dd157e8360c2511810496693cec1616fce578655
PiperOrigin-RevId: 632284856
2024-05-13 17:37:38 +00:00
conradchen
080403173c [BottomSheet] Sync custom actions with drag handle views
Custom actions need to be set directly on the focused child views to make talkback announce the existence of those actions correctly, despite that when you open custom action menu you can actually see they are being inherited from the parent view.

Makes BottomSheetBehavior be aware of the existence of accessibility delegate views, and update the custom actions on it when needed.

PiperOrigin-RevId: 478804858
2022-10-04 20:46:34 +00:00
conradchen
ef8e9aa895 [BottomSheet] Handle half-expanded state when drag handle clicked
PiperOrigin-RevId: 461674745
2022-07-19 18:42:21 +00:00
conradchen
ac7b761294 [BottomSheet] Create a drag handle view which support accessibility control
PiperOrigin-RevId: 457939228
2022-06-29 14:38:43 +00:00