diff --git a/powerbell/build.properties b/powerbell/build.properties index 3260ba2..397d8a7 100644 --- a/powerbell/build.properties +++ b/powerbell/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Sat Dec 20 19:28:00 HKT 2025 +#Sat Dec 20 13:21:44 GMT 2025 stageCount=12 libraryProject= baseVersion=15.14 publishVersion=15.14.11 -buildCount=0 +buildCount=14 baseBetaVersion=15.14.12 diff --git a/powerbell/src/main/assets/images/blank100x100.png b/powerbell/src/main/assets/images/blank100x100.png new file mode 100644 index 0000000..84e1003 Binary files /dev/null and b/powerbell/src/main/assets/images/blank100x100.png differ diff --git a/powerbell/src/main/assets/images/blank10x10.png b/powerbell/src/main/assets/images/blank10x10.png deleted file mode 100644 index a1916cc..0000000 Binary files a/powerbell/src/main/assets/images/blank10x10.png and /dev/null differ diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java index c187e1f..6c54926 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/utils/BackgroundSourceUtils.java @@ -1,6 +1,7 @@ package cc.winboll.studio.powerbell.utils; import android.content.Context; +import android.content.res.TypedArray; import android.graphics.Bitmap; import android.media.ExifInterface; import android.net.Uri; @@ -11,6 +12,7 @@ import androidx.core.content.FileProvider; import cc.winboll.studio.libappbase.LogUtils; import cc.winboll.studio.libappbase.ToastUtils; import cc.winboll.studio.powerbell.BuildConfig; +import cc.winboll.studio.powerbell.R; import cc.winboll.studio.powerbell.models.BackgroundBean; import java.io.BufferedOutputStream; import java.io.File; @@ -190,7 +192,7 @@ public class BackgroundSourceUtils { mCropSourceFile = new File(fCropCacheDir, newCropFileName + "." + fileSuffix); mCropResultFile = new File(fCropCacheDir, "SelectCompress_" + newCropFileName + "." + fileSuffix); - AssetsCopyUtils.copyAssetsFileToDir(mContext, "images/blank10x10.png", mCropSourceFile.getAbsolutePath()); + AssetsCopyUtils.copyAssetsFileToDir(mContext, "images/blank100x100.png", mCropSourceFile.getAbsolutePath()); try { mCropResultFile.createNewFile(); } catch (IOException e) { @@ -198,6 +200,7 @@ public class BackgroundSourceUtils { } loadSettings(); + previewBackgroundBean.setPixelColor(0xFFFFFFFF); previewBackgroundBean.setIsUseBackgroundFile(true); previewBackgroundBean.setIsUseBackgroundScaledCompressFile(false); previewBackgroundBean.setBackgroundFileName(mCropSourceFile.getName()); diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java index 08ad6ef..dec7eb1 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java @@ -15,6 +15,7 @@ import cc.winboll.studio.libappbase.LogUtils; import cc.winboll.studio.libappbase.ToastUtils; import cc.winboll.studio.powerbell.App; import cc.winboll.studio.powerbell.models.BackgroundBean; +import cc.winboll.studio.powerbell.utils.BackgroundSourceUtils; import java.io.File; /** @@ -289,5 +290,6 @@ public class BackgroundView extends RelativeLayout { super.onSizeChanged(w, h, oldw, oldh); adjustImageViewSize(); // 尺寸变化时重新调整 } + } diff --git a/powerbell/src/main/res/drawable/blank10x10.png b/powerbell/src/main/res/drawable/blank10x10.png deleted file mode 100644 index a1916cc..0000000 Binary files a/powerbell/src/main/res/drawable/blank10x10.png and /dev/null differ