version:1.8.9
fix: update:密码界面统一,增加权限说明页面
This commit is contained in:
1 parent
d73f0f1371
commit
58b3e18727
47 files changed
+3415
-443
No files matched your search
@@ -2,7 +2,6 @@ package com.tuo.customview;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Paint;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
@@ -33,7 +32,6 @@ public class PwdTextView extends AppCompatTextView {
|
||||
super(context, attrs, defStyleAttr);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void onDraw(Canvas canvas) {
|
||||
super.onDraw(canvas);
|
||||
@@ -41,7 +39,7 @@ public class PwdTextView extends AppCompatTextView {
|
||||
if (hasPwd) {
|
||||
// 画一个黑色的圆
|
||||
Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
paint.setColor(Color.WHITE);
|
||||
paint.setColor(getResources().getColor(R.color.circle_f));
|
||||
paint.setStyle(Paint.Style.FILL);
|
||||
canvas.drawCircle(getWidth() / 2, getHeight() / 2, radius, paint);
|
||||
}else {
|
||||
|
||||
Reference in new issue
Block a user