From 35a0e68e2d4598fe5f4767b0de61c4c386b6ed09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Sun, 10 Dec 2023 22:54:08 +0900 Subject: [PATCH] WIP --- .../feature/debug/DebugMenuFragment.java | 13 ++-- .../main/res/layout/fragment_debug_menu.xml | 75 +++++++++++++++++-- 2 files changed, 75 insertions(+), 13 deletions(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java index 5135617f..b7ffe97f 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuFragment.java @@ -80,11 +80,14 @@ public class DebugMenuFragment extends Fragment { public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); - Button button = view.findViewById(R.id.button_di_test); - // Lambda - button.setOnClickListener(v -> { - Toast.makeText(getContext(), deviceMeta.getDeviceId(), Toast.LENGTH_SHORT).show(); - }); +// Button button = view.findViewById(R.id.button_di_test); +// // Lambda +// button.setOnClickListener(v -> { +// Toast.makeText(getContext(), deviceMeta.getDeviceMeta().getAndroidApiLevel() +// + deviceMeta.getDeviceMeta().getAndroidVersion() +// + deviceMeta.getDeviceMeta().getDeviceManufacturer() +// + deviceMeta.getDeviceMeta().getDeviceModel(), Toast.LENGTH_SHORT).show(); +// }); } } \ No newline at end of file diff --git a/feature/debug/src/main/res/layout/fragment_debug_menu.xml b/feature/debug/src/main/res/layout/fragment_debug_menu.xml index 520e7d38..5ef3b7e9 100644 --- a/feature/debug/src/main/res/layout/fragment_debug_menu.xml +++ b/feature/debug/src/main/res/layout/fragment_debug_menu.xml @@ -1,22 +1,81 @@ - - - + android:text="Debug Menu" + android:textSize="36sp" + android:padding="16dp" + android:textColor="@color/material_dynamic_primary10" /> -