开发者

Is there any way to application animation to the text of TextView only?

Currently I have the following code:

Animation anim = AnimationUtils.loadAnimation(BridgesCloseActivity.this, R.anim.slide_in_up); 
m开发者_Python百科yTextView.startAnimation(anim);

But this animation is applied to TextView background picture also, when I want to apply that to the text only.


There might be a way simpler method, but if everything else fails, you could try embedding a TextView and a BitmapDrawable in a FrameLayout, then apply the animation to the TextView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜