From d5ebc2c498427969981556994e93cb25d9b4ceb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 25 Jan 2024 15:00:03 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=A4=A7=E3=82=B5=E3=82=A4=E3=82=BA?= =?UTF-8?q?=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/component/common/LacertaSelectDirDialog.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectDirDialog.java b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectDirDialog.java index 414fe8a5..50b32166 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectDirDialog.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaSelectDirDialog.java @@ -47,6 +47,10 @@ public class LacertaSelectDirDialog extends DialogFragment { LayoutInflater inflater = requireActivity().getLayoutInflater(); View view = inflater.inflate(R.layout.lacerta_dialog_select_dir, null); + // 高さを画面の60%にする + int height = (int) (getResources().getDisplayMetrics().heightPixels * 0.6); + view.setMinimumHeight(height); + this.recyclerView = view.findViewById(R.id.select_dir_recycler_view); this.current_dir_text_view = view.findViewById(R.id.current_dir_text_view);