Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Rendering issue on mdpi devices #382

@othomas

Description

@othomas

Hi,

I am running better pickers library on two different Android devices that are both mdpi devices.
Device1 is an Android 4.4 device with a resolution of 432px * 320px, density 1.0. It's mdpi.
Device2 is an Android 6 device with a resolution of 480px * 320px, density 1.0. It's also mdpo.

I'm using Calendar and TimePicker features of the library. Calendar rendering is the same on both devices (see screenshots), but TimePicker are different and the two buttons "Cancel" and "OK" at the bottom are cropped on the Android 4.4 device.
Have a look at the screenshots, it seems that the margin of the window at top and bottom is bigger that on the Android 6 devices.
Is it possible to solve this issue ?

Date picker on Android 6 device : OK
device6_calendar

Time picker on Android 6 device : OK
device6_time

Date picker on Android 4 : OK
device4_calendar

Time picker on Android 4 : NOT OK
device4_time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions