Android代码类似刮刮乐擦除效果做的挺逼真可以可以。
Scratchoff AsimplelibraryforimplementingscratchableViews. Installation repositories{ jcenter() } dependencies{ compile('com.jackpocket:scratchoff:1.3.0') } Usage Thegoalofthislibraryistocreateascratchoffinterface.BystoringandmanipulatingthedrawingcacheofaView,w