From c4430939243877460606fe705c7a02e202886f4b Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 17 Dec 2023 15:44:25 +0900 Subject: [PATCH] =?UTF-8?q?=E9=A0=85=E7=9B=AE=E3=82=92=E8=BF=BD=E5=8A=A0,?= =?UTF-8?q?=20=E3=83=AC=E3=82=A4=E3=82=A2=E3=82=A6=E3=83=88=E5=BE=AE?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/feature/debug/DebugMenuTopFragment.java | 3 +++ .../src/main/res/layout/fragment_debug_menu_container.xml | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java index 893a24af..26cb3c3b 100644 --- a/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java +++ b/feature/debug/src/main/java/one/nem/lacerta/feature/debug/DebugMenuTopFragment.java @@ -45,7 +45,10 @@ public class DebugMenuTopFragment extends Fragment { RecyclerView recyclerView = view.findViewById(R.id.debug_menu_recycler_view); recyclerView.setLayoutManager(new androidx.recyclerview.widget.LinearLayoutManager(getContext())); List debugMenuListItems = new ArrayList<>(); + debugMenuListItems.add(new DebugMenuListItem("Meta Data", "View meta data", R.id.action_debugMenuTopFragment_to_debugMenuMetaDataFragment, true)); + debugMenuListItems.add(new DebugMenuListItem("Document Tester", "placeholder", R.id.action_debugMenuTopFragment_to_debugMenuDocumentTesterTopFragment, true)); + DebugMenuListItemAdapter adapter = new DebugMenuListItemAdapter(debugMenuListItems); recyclerView.setAdapter(adapter); return view; diff --git a/feature/debug/src/main/res/layout/fragment_debug_menu_container.xml b/feature/debug/src/main/res/layout/fragment_debug_menu_container.xml index 5f8d4f4e..4ac68a28 100644 --- a/feature/debug/src/main/res/layout/fragment_debug_menu_container.xml +++ b/feature/debug/src/main/res/layout/fragment_debug_menu_container.xml @@ -11,7 +11,9 @@ android:id="@+id/debug_menu_top_toolbar" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?attr/colorPrimary" + android:background="@color/colorPrimaryContainerLight" + app:titleTextColor="@color/colorOnPrimaryContainerLight" + app:title="Debug Menu" android:minHeight="?attr/actionBarSize" android:theme="?attr/actionBarTheme" app:layout_constraintEnd_toEndOf="parent"