修改裁剪窗口默认背景颜色
- CropCanvasView背景设为蓝色 - ZoomContainerView背景设为黄色
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Tue Apr 28 09:10:54 CST 2026
|
||||
#Tue Apr 28 09:22:58 CST 2026
|
||||
stageCount=7
|
||||
libraryProject=
|
||||
baseVersion=15.0
|
||||
publishVersion=15.0.6
|
||||
buildCount=22
|
||||
buildCount=23
|
||||
baseBetaVersion=15.0.7
|
||||
|
||||
@@ -42,7 +42,7 @@ public class CropCanvasView extends View {
|
||||
private Bitmap displayBitmap;
|
||||
private RectF initialSpanRect;
|
||||
private float initialSpan;
|
||||
private int backgroundColor = Color.GREEN;
|
||||
private int backgroundColor = Color.BLUE;
|
||||
private boolean colorPickMode = false;
|
||||
private float pickX, pickY;
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ public class ZoomContainerView extends FrameLayout {
|
||||
|
||||
private void init() {
|
||||
setWillNotDraw(false);
|
||||
setBackgroundColor(Color.YELLOW);
|
||||
|
||||
borderPaint = new Paint();
|
||||
borderPaint.setColor(Color.parseColor("#333333"));
|
||||
|
||||
Reference in New Issue
Block a user