├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── xylitol │ │ └── luckydraw │ │ ├── LuckyDrawAdapter.kt │ │ ├── LuckyDrawConstraintView.kt │ │ ├── LuckyDrawView.kt │ │ └── MainActivity.kt │ └── res │ ├── drawable-v24 │ └── ic_launcher_foreground.xml │ ├── drawable │ └── ic_launcher_background.xml │ ├── layout │ ├── activity_main.xml │ ├── layout_lucky_draw.xml │ └── list_item_lucky_draw.xml │ ├── mipmap-anydpi-v26 │ ├── ic_launcher.xml │ └── ic_launcher_round.xml │ ├── mipmap-hdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-mdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── mipmap-xxhdpi │ ├── ac0.png │ ├── ac1.png │ ├── ac2.png │ ├── ac3.png │ ├── ac4.png │ ├── ac5.png │ ├── ac6.png │ ├── ac7.png │ ├── bg_lottery_item.png │ ├── ic_launcher.png │ ├── ic_launcher_round.png │ ├── icon_lottery.png │ └── icon_lottery_shadow.png │ ├── mipmap-xxxhdpi │ ├── ic_launcher.png │ └── ic_launcher_round.png │ ├── values-night │ └── themes.xml │ └── values │ ├── colors.xml │ ├── strings.xml │ └── themes.xml ├── gradle.properties ├── gradlew ├── gradlew.bat ├── settings.gradle └── 九宫格抽奖转盘demo.gif /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/.gitignore -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/xylitol/luckydraw/LuckyDrawAdapter.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/java/com/xylitol/luckydraw/LuckyDrawAdapter.kt -------------------------------------------------------------------------------- /app/src/main/java/com/xylitol/luckydraw/LuckyDrawConstraintView.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/java/com/xylitol/luckydraw/LuckyDrawConstraintView.kt -------------------------------------------------------------------------------- /app/src/main/java/com/xylitol/luckydraw/LuckyDrawView.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/java/com/xylitol/luckydraw/LuckyDrawView.kt -------------------------------------------------------------------------------- /app/src/main/java/com/xylitol/luckydraw/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/java/com/xylitol/luckydraw/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_lucky_draw.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/layout/layout_lucky_draw.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/list_item_lucky_draw.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/layout/list_item_lucky_draw.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac0.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac1.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac2.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac3.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac4.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac5.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac6.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ac7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ac7.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/bg_lottery_item.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/bg_lottery_item.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_lottery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/icon_lottery.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/icon_lottery_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxhdpi/icon_lottery_shadow.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name = "LuckyDraw" -------------------------------------------------------------------------------- /九宫格抽奖转盘demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riceeater/LuckyDrawView/HEAD/九宫格抽奖转盘demo.gif --------------------------------------------------------------------------------