Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MaterialRadioButton] Add support for setting the padding between the left edge of the layout and the radio button #4198

Open
grzesiek2010 opened this issue Jun 4, 2024 · 0 comments

Comments

@grzesiek2010
Copy link

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:
Screenshot-from-2024-06-03-18-47-37
Using paddingStart adds space between the indicator and the title, which is not the desired effect to me.
Screenshot-from-2024-06-03-18-47-37 (1)
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

@grzesiek2010 grzesiek2010 changed the title [MaterialRadioButton] Adds support for setting the padding between the left edge of the layout and the radio button [MaterialRadioButton] Add support for setting the padding between the left edge of the layout and the radio button Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants