当前位置:网站首页>Live online system source code, using valueanimator to achieve view zoom in and out animation effect
Live online system source code, using valueanimator to achieve view zoom in and out animation effect
2022-07-07 07:41:00 【Cloudleopard network technology】
Online live broadcast system source code , Use ValueAnimator Realization view Zoom in and out animation effect
ValueAnimator valueAnimator = ObjectAnimator.ofFloat(1f, 0.8f);
valueAnimator.addUpdateListener(valueAnimator1 -> {
valueAnimator1.setDuration(300);
valueAnimator1.setRepeatCount(INFINITE);
valueAnimator.setRepeatMode(ValueAnimator.REVERSE);
if (valueAnimator1.getAnimatedValue() instanceof Float && constraintLayout != null) {
constraintLayout.setScaleX((Float) valueAnimator1.getAnimatedValue());
constraintLayout.setScaleY((Float) valueAnimator1.getAnimatedValue());
}
});
valueAnimator.start();
That's all Online live broadcast system source code , Use ValueAnimator Realization view Zoom in and out animation effect , More content welcome to follow the article
边栏推荐
- Route jump in wechat applet
- How can a 35 year old programmer build a technological moat?
- Sqlmap tutorial (IV) practical skills three: bypass the firewall
- 抽丝剥茧C语言(高阶)指针进阶练习
- 1、 Go knowledge check and remedy + practical course notes youth training camp notes
- 聊聊异步编程的 7 种实现方式
- Role of virtual machine
- About binary cannot express decimals accurately
- [ANSYS] learning experience of APDL finite element analysis
- IPv4 exercises
猜你喜欢

MobaXterm

Summary of customer value model (RFM) technology for data analysis

Jenkins远程构建项目超时的问题

面试官:你都了解哪些开发模型?

After the interview, the interviewer roast in the circle of friends

抽丝剥茧C语言(高阶)指针进阶练习

Advanced practice of C language (high level) pointer

I failed in the postgraduate entrance examination and couldn't get into the big factory. I feel like it's over

BGP experiment (1)

UWB learning 1
随机推荐
[SUCTF 2019]Game
95后CV工程师晒出工资单,狠补了这个,真香...
leetcode:105. 从前序与中序遍历序列构造二叉树
Leetcode sword finger offer brush questions - day 20
《动手学深度学习》(四) -- 卷积神经网络 CNN
外包干了三年,废了...
Advanced practice of C language (high level) pointer
Blue Bridge Cup Netizen age (violence)
今日现货白银操作建议
解决:Could NOT find KF5 (missing: CoreAddons DBusAddons DocTools XmlGui)
Tongda injection 0day
JS get all date or time stamps between two time stamps
【云原生】内存数据库如何发挥内存优势
JSON introduction and JS parsing JSON
Differences between H5 architecture and native architecture
IPv4 exercises
Model application of time series analysis - stock price prediction
Outlier detection technology of time series data
Determining the full type of a variable
ASEMI整流桥RS210参数,RS210规格,RS210封装