赞
踩
<declare-styleable name="QQStepView">
<attr name="outColor" format="color"/>
<attr name="outWidth" format="dimension"/>
<attr name="innerColor" format="color"/>
<attr name="innerWidth" format="dimension"/>
<attr name="step" format="string"/>
</declare-styleable>
package com.example.layoutdemo.widget; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; import android.graphics.RectF; import android.util.AttributeSet; import android.util.Log; import android.util.TypedValue; import android.view.View; import androidx.annotation.Nullable; import com.example.layoutdemo.R; public class QQStepView extends View { private static final String TAG = "QQStepView"; private int mOuterColor
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。