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

[SearchView] bad layout

Open
#3,980 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Screenshot_2024-01-08-13-28-31-856_Ninja coder Ghostemane code
Hello, I am using version 1.11.0, as you can see in the picture, the icons are not the same as the text and it does not look good.

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 layout shown in the screenshot with Material Components Android 1.11.0 and inspect the SearchView implementation and its related layout resources. Compare the icon and text alignment, then verify the result on the affected SearchView configuration; the issue provides no named file or test, so the relevant entry point must be located first.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.