material-components / material-components/material-components-android
[MaterialRadioButton] Add support for setting the padding between the left edge of the layout and the radio button
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
I would like to be able to adjust the padding between the left edge of the layout and the radio button so that the area is clickable:

Using `paddingStart` adds space between the indicator and the title, which is not the desired effect to me.

Currently to achieve the desired effect I need to wrap that radio button into another layout and make it clickable or create a custom drawable:
https://stackoverflow.com/a/48153475/5479029
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by locating the MaterialRadioButton implementation and its existing padding behavior; done means callers can configure space between the layout edge and the indicator while preserving the indicator-to-title spacing and making that area clickable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100