我是一名从事安卓开发的工作者。我希望将我的文本以动画的形式移动。
这是我正在使用的XML代码:
这是我正在使用的XML代码:
android:shareInterpolator="true">
<translate android:fromXDelta="0%p" android:toXDelta="-80%p"
android:fromYDelta="0%p" android:toYDelta="0%p"
android:duration="2000" />
android:pivotX="-70%p" android:pivotY="10%p" android:duration="1000"
android:startOffset="2000" />
android:fromXDelta="0%p" android:toXDelta="80%p"
android:fromYDelta="0%p" android:toYDelta="0%p" android:duration="2000"
android:startOffset="3000" />
Using above xml my TEXT is moving in this shape:-
But i want to move my text into this following way:-
means i want to move my text into Z format. please suggest me how should write xml code for this. You can provide me some links for this. if you can code this then this will be very great help for me.
Thank you in advance.
2000
毫秒后更改图像。 - Blundell