Skip to content

[MaterialTimePicker] Buttons at the bottom are getting cut off #3584

@mck182

Description

@mck182

Description: MaterialTimePicker is getting its buttons cut off
at the bottom in the 1.11.x releases, this looks correct in 1.10.0-beta01
so it may be a regression.

I suspect this might improve if those two buttons are also constrained
to parent at their bottom edge.

Expected behavior: The expected behaviour is that those buttons
would not be clipped. Here are two screenshots - one from 1.10 and
one from 1.11, notice how the dialog's height is less than it was in 1.10
and the buttons are clipped:

1.10 1.11
Screenshot_1694795666 Screenshot_1694795666 copy

Source code: material_timepicker_dialog.xml; This may be due to
commit d10201d which updated the layout

Minimal sample app repro: n/a

Android API version: 33

Material Library version: 1.11.0-alpha02

Device: Pixel 6 emulator

To help us triage faster, please check to make sure you are using the latest version of the library.

We also happily accept pull requests.

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