How can I animate composable position between composables?

  Kiến thức lập trình

My XML version

I am trying to create a translation game like duolingo, I already created it in xml by creating a hidden clone of the button but it is in the parent layout instead of the button list view. clicking on it disables the button and turns the clone visible and animate it to the parent location of the current cell inside a flexbox. That was not easy to figure out. However when it comes to compose I don’t even know where to begin
since there are no references and I don’t know if there is a flexbox alternative in compose either.

I don’t know if there is a way to move a composable across different composables. or how to locate it’s postion in the parent so I can move it up and down.

LEAVE A COMMENT