Playgroundを開けるようにした

This commit is contained in:
r-ca committed 2023-12-11 15:36:05 +09:00
1 parent 9dac625117
commit 1a86849463
2 files changed
+23 -3

No files matched your search

@@ -73,5 +73,9 @@ public class DebugMenuFragment extends Fragment {
view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> {
// SharedPrefClear
});
view.findViewById(R.id.btn_debug_menu_call_play_ground).setOnClickListener( v -> {
Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugPlayGroundFragment);
});
}
}
@@ -50,9 +50,9 @@
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Call Debug Events"
android:textSize="24sp"
android:padding="8dp" />
android:padding="8dp"
android:text="SharedPref"
android:textSize="24sp" />
<!-- android:textColor="@color/material_dynamic_primary10" />-->
<com.google.android.material.button.MaterialButton
@@ -72,6 +72,22 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginTop="8dp" />
<com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:text="SharedPref"
android:textSize="24sp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btn_debug_menu_call_play_ground"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:text="Playground" />
</LinearLayout>
</ScrollView>