I have been using Anko for development for quite a while, and I know I can use gravity this property just like in xml and it works fine. However I can't figure out how to set layout_gravity for items in layout, just like in xml.
Every time I try to set an item's position inside a big layout, I have to use some workaround method to achieve that. So if any one could tell me how to set this property I have been looking for, that would be very nice.
All right, just figure it out if I wrote gravity in lparams, that will be layout_gravity as I wish.
issue close.
Most helpful comment
All right, just figure it out if I wrote
gravityinlparams, that will belayout_gravityas I wish.issue close.