1.双击点赞和双击取消点赞如:在快手中双击屏幕之后就可以点赞,小红心就会变亮1.把白色和红色的心形图片复制到media下2.因为要双击屏幕才能点赞,所以还要给布局组件id代码实现:abilitymainMainAbilitySlicejavapackagecom.xdr630.listenerapplication6.slice;importcom.xdr630.listenerapplication6.ResourceTable;importohos.aafwk.ability.AbilitySlice;importohos.aafwk.content.Intent;importohos.agp.components.Compon...
2022-12-13 10:23:49 7875浏览 9点赞 5回复 7收藏