自定義一個(gè)ViewPagerIndicator自定義一個(gè)Indicator繼承LinearLayout,在構(gòu)造方法里面設(shè)置畫(huà)筆的一些屬性1 2 3 4 5 6 7 8 9 public ViewPagerIndicator(Context context, AttributeSet attrs) { super(context, attrs); mPaint = new Paint();//實(shí)例化
www.dbjr.com.cn/article/1066...htm 2025-5-28