java - TextView goes behind another textview during animation -


i want use property animation moves view left right,like

objectanimator animator = objectanimator.offloat(textview1, "translationx", 400); 

but when animation starts, animation covered view on right of target view enter image description here

i want textview1 on top of textview2 when animation start.how can it?

try using textview1.bringtofront(); before starting animation.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -