Closed appsdev85 closed 4 years ago
Even i have the same problem..
@samair I think its because of the frame layout that i use, check layout gravity its should work i will update once get solution
No, still not working even when change the layout and set the layout gravity to center!
Yep, found solution, put it in a relativelayout and make the buton "layout_CenterInParent " to true and then it works.. let me know.
Sorry that I took so long to answer that question. The button animation will respected the gravity of the ViewGroup it is inserted, so put it inside a LinearLayout with centre gravity would be the best idea for this view. Also, you can use relativelayout, like @samair suggested.
I'm closing this bug since there's no correction to be done, just fix the gravity of the ViewGroup that contains this button and everything should be fine.
Hi,
Is there a way to keep the button in the middle of the screen after animation start ? its going to the screen left side