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

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

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