-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
how to change padding of ButtonRectangle #45
Comments
I have the same problem, I studied the ButtonRectangle.class but I could not find a way how to solve that. I think the problem consists with the fact that this class extends a class which extends RelativeLayout. I managed to set padding by removing from comment some lines that were commented in this class, which handle the padding that you set from XML. |
Hi, sorry this is a pending bug to fix, I tried fix it, but I couldn't because set padding by XML don't working very well in the custom views, I'll try fix it. |
Maybe |
But these attributes only work in version 11 or higher |
Maybe, at this point of development, it will be enough to use margin and Height / Width for Button? |
+1, are there any workarounds for this padding bug? Thanks |
check my answer, I hope it helps you :) |
I want to change the radius and padding of the ButtonRectange in Xml but it doesn't work
The text was updated successfully, but these errors were encountered: