Can we change background of card view to gradients with this extension ?
Very nice extension
I will use it like I have mentioned in this post, thanks
Superb extension… Most valuable one…
I have tried your extension and the circle shape seems not to be circle
(the black component is a circle card view)
This happens because the circle is not being set as a background of cardview. The function set drawable sets the background of the Linear Layout ( a container which holds card view ) and not the actual cardview.
How can I solve it?
I set them to “Automatic”
Try to set them equal with pixel for ex.200px by 200px
Yes now works and the circle shape is actually circle
But the card view is not circle even if height and width are set both to 200px, but this is another issue and I will open another topic for this
Nice extension
2 posts were merged into an existing topic: [Freee/OS] Custom Image Extension || An extension for creating image in shape
how to use?
The documentation of all block is provided in the topic above. And also, there is a usage example is given that tells you how to use it on a vertical arrangement. Please read the topic first so you can understand the extension better.
not changing color of component?
It gives me an error: “Id not exists”.
I think I have to create an Id, but I don’t know how to do it.
You need to create the drawable first then you can use it on any layout and can customise it.
I have already posted the example in above post you can see there CreateDrawable
block
it is very nice , Thank you
but i cant find the Extantion