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
.
精彩评论