当前位置:网站首页>Auto.js 旋转图标
Auto.js 旋转图标
2022-07-26 19:39:00 【宴西笔记】

"ui";
importClass(android.animation.ObjectAnimator);
ui.layout(
<vertical>
<img id="图片"src="@drawable/ic_loop_black_48dp" h="80" margin="12" bg="?selectableItemBackgroundBorderless"/>
</vertical>
);
ui.图片.click(() => {
animator = ObjectAnimator.ofFloat(ui.图片, "rotation", 0, 720);
animator.setDuration(1000);
animator.start();
})
QQ群 568523841
边栏推荐
- SQL注入
- Jincang database kingbasees SQL language reference manual (21. Kes regular expression support)
- vs如何读取mysql中的数据(顺便通过代码解决了中文乱码问题)
- Vite configuration eslint specification code
- 一层节点训练5个坐标的超简单神经网络代码
- 猿辅导的科技硬实力:让AI从读懂孩子作业开始
- SQL优化的一些建议,希望可以帮到和我一样被SQL折磨的你
- 超强接口协作平台如何打造:细数Apifox的六把武器
- numpy.put()
- Strengthen supervision on secret room escape and script killing, and focus on strengthening fire safety and juvenile protection
猜你喜欢
随机推荐
为什么 ThreadLocal 可以做到线程隔离?
Kingbases SQL language reference manual of Jincang database (16. SQL statement: create sequence to delete)
Kotlin - 协程构建器 CoroutineBuilder
模拟身份验证
Exchange 2010 SSL certificate installation document
Servlet
Where are the single dogs in the evening of 5.20?
Typescrip异步函数Promise使用
three. JS tag and pop-up the earth
three.js 制作地球标注的两种方法
tf.GraphKeys
一文读懂 Kubernetes的四种服务类型!
cv2.resize()
EtherCAT 同步模式
Strengthen supervision on secret room escape and script killing, and focus on strengthening fire safety and juvenile protection
C# 客户端程序调用外部程序的3种实现方法
A little cool, explore space with.Net Maui
Is flush reliable? I just started to learn financial management. Is it safe to open a securities account?
Array operations add, delete, modify, and query
静音台式风扇芯片-DLTAP703SD-杰力科创









