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);

 <EditText
android:id="@+id/message"
android:layout_width="170dp"
android:layout_height="60dp"
android:layout_marginTop="70dp"
android:layout_marginLeft="10dp"
android:background="#B6AFB2"
android:hint="write message here"
android:inputType="textMultiLine"
android:nextFocusDown="@+id/test"
android:imeOptions="actionNext"
android:maxLength="300"
android:gravity="top"
android:duplicateParentState="true"/>

What is the problem when moving an EditText?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to