Skip to content

Customise spacing between action buttons in DatePicker #4345

@ashishg656

Description

@ashishg656

Description:
I want to customize the spacing between the action buttons (OK and Cancel buttons) and the dates in material3 date picker, but unable to do so.

Spacing between the action buttons (OK and Cancel buttons) and the dates is too high - how to reduce the spacing between the last row of dates and the action buttons.

In the screenshot, observe that spacing in left screenshot in much higher, whereas its smaller in the right screenshot.

Screenshot 2024-10-10 at 5 26 59 PM

Expected behavior:
Spacing between action buttons & dates should be customizable.

Android API version: Android 21

Material Library version: 1.8.0

Device: Pixel 8 Pro & other android devices

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions