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

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -