package com.bwie.zp;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Rect;
import android.graphics.RectF;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.LinearInterpolator;
import android.view.animation.RotateAnimation;
/**
* date:2018/11/2
* author:mxy(M)
* function:
*/
public class DiscView extends View implements View.OnClickListener {
private RotateAnimation rotateAnimation;
private Paint mPaint;
private Paint strPaint;
private int mWidth;
private int mPadding;
private boolean isStart = false;
private RectF rectF;
private String str="start";
private String[] contents = new String[]{"美 女","女 神","热 舞","
自定义转盘 按下旋转 再次按下停止
最新推荐文章于 2021-05-28 23:21:40 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)