刮奖效果库
来源:互联网 发布:linux目录树结构 编辑:程序博客网 时间:2024/04/27 18:11
https://github.com/cooltechworks/ScratchView
ScratchView
Intro
ScratchView repo is UX Design involving scratch cards like views which are scratched to reveal the information they conceal. There are two types of ScratchView
ScratchImageView
- A Child of ImageView which conceals the image. Scratching over the view will reveal the hidden image.
ScratchTextView
- A Child of TextView which conceals the text. Scratching over the view will reveal the hidden text.
Demo Screen
Useful Methods
Both the views have following three methods which are useful to reveal or determine whether revealed and listener during revealing the hidden text/image.
isRevealed()
- tells whether the text/image has been revealed.reveal()
- reveals the image/text if not revealed yet.setRevealListener(IRevealListener)
- a callback listener interface which gets called back when user reveals the text/image through onReveal() method.
0 0
- 刮奖效果库
- 刮奖效果
- android刮奖效果
- 刮奖效果
- 刮奖效果
- 刮奖效果
- Android刮奖效果
- 安卓 刮奖效果
- HTML5实现刮奖效果
- cocos2dx刮奖效果实现
- cocos2dx刮奖效果实现
- 刮奖效果控件--ScratchView
- 刮奖效果的实现
- HTML5 Canvas实战之刮奖效果
- HTML5 Canvas实战之刮奖效果
- android实现刮奖的效果
- html5 canvas 实现刮奖效果
- 手机 HTML5 Canvas 刮奖效果
- Netty5.x中新增和值得注意的点
- java中的匿名内部类总结
- 开博第一遍
- MySQL中支持emoji表情的存储
- 防止linux命令执行中断
- 刮奖效果库
- JS- 封装、继承、多态
- 关于PHP的in_array新发现
- 孪生素数
- 安卓OneNote登陆和同步问题
- 计蒜客-数正方形
- 创建一个Hibernate 的HelloWorld
- javascript简单工厂设计模式////javascript构造函数//////prototype原型介绍
- leetcode-String to Integer (atoi)-8