views:

17

answers:

0

Hello,

At the end of a TranslateAnimation, when I write into my EditText that started that animation, it looks like I'm trying to write into the initial EditText. So It happens that I see a part of my text, sometimes I can see nothing. The EditText was well translated but not the rectangle where the text should appears.

Here is my simple code:

TranslateAnimation tr = new
TranslateAnimation(0, 0, 0,100);
tr.setStartOffset(0);
tr.setDuration(1000); 
tr.setFillAfter(true);
myEditText.startAnimation(tr);

Do you have an idea to solve this problem?