ccx1070064553
ccx1070064553
2017-09-06 03:05

android开发中的fadein是什么意思?

  • android

private void init() {
initAnim();
mLaunchLayout.startAnimation(mFadeIn);
}

private void initAnim() {
    mFadeIn = AnimationUtils.loadAnimation(LauncherActivity.this,R.anim.welcome_fade_in);
    mFadeIn.setDuration(500);
    mFadeInScale = AnimationUtils.loadAnimation(LauncherActivity.this,R.anim.welcome_fade_in_scale);
    mFadeInScale.setDuration(1000);
    mFadeOut = AnimationUtils.loadAnimation(LauncherActivity.this,R.anim.welcome_fade_out);
    mFadeOut.setDuration(500);
}
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

3条回答

为你推荐

换一换