Good Job, Thank you for your greate contribution
Wow, very nice. I will try it this week but I loved it already
Another awesome extension @Sumit1334 !
@Sumit1334 i am not able to add any child arrangement to the rectangle shape, is it not possible?
i even tried with dynamic component !
Yes. Definetly Its possible.
Can you post here your blocks? So I can check what you are doing wrong. And if you’re facing apk crash then make sure that you’re using the androidx version of the extension now, support version download links were removed when kodular fenix was launched but the extension was published before the kodular update then it may possible that you have downloaded the support version of the extension.
Hi, Sumit1334[Sumit Kumar]
How can we save layout shapes? in a phone gallery
plz share a block example with pic set in shapes
Thanks in advanced
Hi ! Thanks for this amazing extension !
However i’m also facing this problem ! As soon as I create a shape, the childs components disapears :
I’ve downloaded the latest version from this thread
ShapeableViewBug.aia (183,9 Ko)
Thanks for you help !
Hi, by seeing the video it seems that whole layout(that you’re using for shape) is disappearing.
I am not sure about the problem but I think it’s because of parent containers.
Let me check the aia file I will soon update you with a solution
Hi @Franck_G28 , I checked your aia found something that need to be corrected. The layout(that you are making layout of)'s height was fill parent. It worked when it set it to Automatic. It did not work with fill parent height and width(child component dissappear) because of some library view issue. However, You can always customize the view with it’s parent view. For ex, if layout is in a container then you should set the size property (height and width) of that parent layout instead of customising the view.
ShapeableViewBug.aia (183.9 KB)
I didn’t changed anything much in aia just some property of your parents and their child.
I hope you got my point.
Thanks a lot, it’s fixed
Yes, i will use the parent to customize it
Thank you again for this amazing extension !
Sorry to bother you again, I have another problem
I’m using this extension for a complex project, and i need a Fill parent (Shapeable) arrangement inside the one the first one that is also shapeable.
I have a first shape (the same as before) in which I try to create another arrangement that must fill its parent
I can’t set it to Fill Parent because it will make his children disapear, and it doesn’t fill the parent shape when I create this Shape2. Wrapping the Shape2 into a fill parent container doesn’t work either.
Here is the designer, i’ve put a fill parent label with a bg color to be able to visualize it
Here is the AIA :
ShapeableViewBug2.aia (184,1 Ko)
Is it possible to do or do you think there is no solution ?
Thanks in advance !
Ya even me 2 facing the same issue regarding this. The shapeable components is not taking the dimension exactly. Maybe @Sumit1334 bru can you please check the code one
Did you read the above post?
It is the recommended method for setting the size of the view. Why we need to do so? In extension, when you make shapes it creates a layout(height = Fill Parent, width = FIll Parent). And it covers your whole parent container. That’s why it can be set by setting the size of parents. Well, I think extension need a block to set the height and width of the view. I will add them ASAP then you will able to customise the size of layout without any limitations of the parent view.
And @Franck_G28 , can you try to specify
SHAPE2_layout in a container? Then see.
I’ve tried to put it into an arrangement set to Automatic and Fill parent, the result still the same as in the video
EDIT : I needed this only to set corners radius, and it works using your GradientDrawable extension
Version 2 of the Shapeable View extension is released now.
- Height and Width block are added. But you can still customize the view with it’s parent.
- This Property is not applicable to this shape is occuring while setting the stroke of the Circle view. This is fixed now.
Set the hieght of the view for id.
Set the width of the view for id.
Heigth and Width can be in pixel and Use
-2 for Fill Parent or
-1 for Automatic. And for percemtage use
screen.Height * (percent) / 100 to calculate the percentage.
Update the extension to latest from above download link on the top post.
Extension has 190+ downloads. Glad to see that.
Amazing work ! It’s working perfectly
Thank you for your amazing work and all your amazing extensions ! Keep it up !
Thank you so much for updating the extension to our convenient.
Can you please add an update to register the shape as draggable @Sumit1334
If I am right then I think there is no relation between Draggable and Shapeable thing.
But maybe this extension can help you achieving that you want.