KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I went through TranslateAnimation (float fromXDelta, float toXDelta, float fromYDelta, float toYDelta) but am still confused about how Translate animation works. Can someone please explain how it works? I read the docs which say fromXDelta Change in X coordinate to apply at the start of the animation toXDelta Change in X coordinate to apply at the end of the animation fromYDelta Change in Y coordinate to apply at the start of the animation toYDelta Change in Y coordinate to apply at the end of the animation but it is still not clear to me how it works. EDIT : I have a Button and a LinearLayout without any children. When I am clicking on the Button I want to dynamically generate a TextView and animate that TextView to appear in the LinearLayout . The number of TextView s will depend upon the number of clicks on the Button.
Tags (comma-separated)
Save Edits
Cancel