# LotteryView **Repository Path**: yt511652502/LotteryView ## Basic Information - **Project Name**: LotteryView - **Description**: 仿QQ运动积分抽奖,原始界面View是在WebView中展示,这里使用Android自定义View实现类似效果 - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LotteryView 因为会关注QQ运动的步数,偶然间在QQ运动主页--> 个人中心 --> 积分抽奖 看到抽奖的界面比较美观, 于是自行实现一下,原界面是在WebView中显示, 这里尝试使用Android自定义View实现类似的界面和操作逻辑。 支持Padding属性 抽离出以下自定义属性,如果有需要还可以自行添加更多自定义属性 ```XML ``` 如下是效果截图 ,如果看不清楚gif图 在demoVideo文件夹下中有一段演示视频供参考。 ![image](https://github.com/aquarius520/LotteryView/blob/master/images/Screenshot_20170417-221618.jpg?raw=true) ![image](https://github.com/aquarius520/LotteryView/blob/master/images/Screenshot_20170417-221611.jpg?raw=true) ![image](https://github.com/aquarius520/LotteryView/blob/master/images/Screenshot_20170417-221603.jpg?raw=true) ![image](https://github.com/aquarius520/LotteryView/blob/master/images/demo.gif?raw=true)