I want to move, in an anmiated way, a TextView in a LinearLayout into another LinearLayout.
However, I can't get it to move outside its container view (the LinearLayout it is in), it only moves inside this. Can someone help me to get this done? Also see the following image:
I'm using the NineOldAndroids library and have tried with the ViewPropertyAnimator:
animate(myTextView).setDuration(500).x(?).y(?);
And also with:
animate(myTextView).setDuration(500).translationX(?).translationY(?);
Instead of the '?' in above I want to be able to find out the position of the LinearLayout I want to drop the TextViews in. (If it's not possible to move to a certain View by stating the View-object).