Skip to content

lixiaopeng168/LuckyDrawView

Repository files navigation

LuckyDrawView

翻牌抽奖动画实现

先看一下效果

image

设置配置代码:

FlopTextView.Builder builder = new FlopTextView.Builder();
                builder.setmIsCustom(1).setmIsText(1).setmTextColor(Color.RED)
                        .setmTextSize(10).setmIsAnimType(1)
                        .setmPositiveBitmap(BitmapFactory.decodeResource(getResources(),R.mipmap.flop_03))
                        .setmOppositeBitmap(BitmapFactory.decodeResource(getResources(),R.mipmap.flop_04))
                        .setmText("是谁在用琵琶弹奏一曲东风破,歌声的旋律让人沉醉");
                flopTextView.setConfig(builder);

About

这是一个翻牌动画

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages