不积跬步无以至千里:
1.activity切换效果:
overridePendingTransition(R.anim.fade, R.anim.hold);
void android.app.Activity.overridePendingTransition(int enterAnim, int exitAnim)
Call immediately after one of the flavors of startActivity(Intent)
orfinish
to specify an explicit transition animation to perform next.
-
Parameters:
- enterAnim A resource ID of the animation resource to use for the incoming activity. Use 0 for no animation.
- exitAnim A resource ID of the animation resource to use for the outgoing activity. Use 0 for no animation.
2.Title效果设置:
详见:http://www.cnblogs.com/salam/archive/2010/11/30/1892143.html