-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[MaterialShapeDrawable] Unable to add gradient to MaterialShapeDrawable #1167
Comments
"A have a lot of cases when I need to use a gradient with material shapes", could you please explain what they are? |
Would be great if FloatingActionButton supported custom backgrounds like MaterialButton and ExtendedFloatingButton (which extends MaterialButton) |
FloatingActionButton does not supports custom backgrounds. (for example gradient background) |
I found a workaround to get it with not too much work |
can you add a link or sample code? |
R.drawable.btn_extendedfab_shrinked_gradient
btn_shape_extendedfab_shrinked_gradient
|
Still waiting for this... Have to use AppCompatButton to implement simple button with gradient background... |
still waiting |
Is your feature request related to a problem? Please describe.
A have a lot of cases when I need to use a gradient with material shapes, but I can't do it because
MaterialShapeDrawable used the only fillColor.
If I want to use gradient or another drawable view with MaterialShapeDrawable becomes black.
Describe the solution you'd like
Add the possibility to use drawables with MaterialShapeDrawable.
The text was updated successfully, but these errors were encountered: