Very nice extension @zainulhassan
What about giving gravity blocks for top-right.top-left, bottom-right, bottom-left, etc similar as other gravity blocks? Currently, will have to use three different block for adjusting any of the the gravity mentioned above. The same can be reduced to only one block if you can provide direct blocks for the same(for each one). Just a suggestion
@zainulhassan Congratulations !!!
I’m going to test it because I’m using blocks animation, but I have problems because certain areas of the screen are “inaccessible” (the problem may be that I’m doing something wrong, but I think your extension will solve it)
There is a space that I cannot reduce or use. ( Animations Component )
There is a trick to use one block only. Just use a number block from numbers panel to add the gravity. Like for top-left you can use ‘51’ . For more info head over to : Gravity | Android Developers.
Just plus the gravities you want to add. Example Below :
Top = 48
Left = 3
Top-Left = 51
and Hurray now you can use number block only
Oh that’s interesting!! I will surely check it out!
But then one has to remember those individual numbers I think
So still I guess the solution in the form of blocks will be the best
Wow, useful Extension @zainulhassan Keep it up
o great extension
Now thats something difficult but you can also refer to the link I have shared to find values of different locations
Please add padding option.
you can set padding using decoration component
Can you please tell the value for Bottom - Right ?
(using to show Green Online Dot for Chat UI)
I tried to use it in Vertical scroll arrangement, but a runtime error appeared stating:
ScrollView can host only one direct child,
Can’t it work with scroll arrangements?
Dont use scroll view
Actually I’ve registered one vertical scroll arng in bottom sheet. And I want that when the user scrolls a little bit, a button appears, clicking on which, the user can return to the top of the scroll view. So, I want that button as overlay.
Very Nice Extension
my design’s main arrangement is a vertical scroll arrangement. but verticle scroll arrangement can only host one child how can I use it?