material-components / material-components/material-components-android

[TimePicker] MaterialTimePicker :The time selection box is out of alignment

Open
#4,911 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: TimePicker
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

In ANDROID studio, when using MaterialTimePicker, the number in the time selection input box is higher than the center. What could be the reason? I haven't modified the theme style. The version is 1.14.0-alpha04. I checked in android studio and found it to be the latest version.

API is 33.
Phone:Xiaomi14pro

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the alignment issue through the MaterialTimePicker entry point using Android API 33 and the reported 1.14.0-alpha04 version. Compare the time selection input box with the attached screenshot and verify the result on the reported Xiaomi 14 Pro environment; done means the number is vertically centered without modifying the theme.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
design, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.