本文整理了Java中android.view.ViewPropertyAnimator.alphaBy()
方法的一些代码示例,展示了ViewPropertyAnimator.alphaBy()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ViewPropertyAnimator.alphaBy()
方法的具体详情如下:
包路径:android.view.ViewPropertyAnimator
类名称:ViewPropertyAnimator
方法名:alphaBy
暂无
代码示例来源:origin: commonsguy/cw-omnibus
@Override
public ViewPropertyAnimator alphaBy(float value) {
android.view.ViewPropertyAnimator n = mNative.get();
if (n != null) {
n.alphaBy(value);
}
return this;
}
}
代码示例来源:origin: com.nineoldandroids/library
@Override
public ViewPropertyAnimator alphaBy(float value) {
android.view.ViewPropertyAnimator n = mNative.get();
if (n != null) {
n.alphaBy(value);
}
return this;
}
}
代码示例来源:origin: Android500/AwesomeDrawer
@Override
public ViewPropertyAnimator alphaBy(float value) {
android.view.ViewPropertyAnimator n = mNative.get();
if (n != null) {
n.alphaBy(value);
}
return this;
}
}
代码示例来源:origin: kingargyle/adt-leanback-support
public static void alphaBy(View view, float value) {
view.animate().alphaBy(value);
}
代码示例来源:origin: JmStefanAndroid/PVCloudGroupn
@Override
public void run() {
runOnUiThread(() -> rootView.animate().scaleXBy(0.1f).scaleYBy(0.1f).alphaBy(0.1f).setDuration(1000).setListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animation) {
}
@Override
public void onAnimationEnd(Animator animation) {
startActivity(new Intent(mContext, MainActivity.class));
overridePendingTransition(0,0);
finish();
}
@Override
public void onAnimationCancel(Animator animation) {
}
@Override
public void onAnimationRepeat(Animator animation) {
}
}).start());
}
}, 3000);
内容来源于网络,如有侵权,请联系作者删除!