From df22a754b7b5fce1807ee656f0d8e6d41a786aaa Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 20 Jan 2024 23:07:17 +0900 Subject: [PATCH] =?UTF-8?q?ProgressDialog=E3=82=92Show=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F=E3=81=AE=E3=81=A7?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/scanner/ScannerManagerActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java index 70654993..3603ff12 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerManagerActivity.java @@ -157,6 +157,9 @@ public class ScannerManagerActivity extends AppCompatActivity { // Deprecatedだが、中断機能が存在しないので操作をブロックする目的で(意図的に)使用 ProgressDialog dialog = new ProgressDialog(this); dialog.setMessage("保存中..."); // TODO-rca: テキストをリソースに移動 + dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); + dialog.setCancelable(false); + dialog.show(); DocumentMeta documentMeta = new DocumentMeta("Untitled"); // TODO-rca: デフォルトタイトルを指定できるようにする document.createDocument(documentMeta).thenAccept((documentDetail1) -> { Bitmap[] bitmaps = new Bitmap[this.croppedImages.size()];