Playgroundを開けるようにした

This commit is contained in:
ろむねこ 2023-12-11 15:36:05 +09:00
parent 9dac625117
commit 1a86849463
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 23 additions and 3 deletions

View File

@ -73,5 +73,9 @@ public class DebugMenuFragment extends Fragment {
view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> { view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> {
// SharedPrefClear // SharedPrefClear
}); });
view.findViewById(R.id.btn_debug_menu_call_play_ground).setOnClickListener( v -> {
Navigation.findNavController(view).navigate(R.id.action_debugMenuFragment_to_debugPlayGroundFragment);
});
} }
} }

View File

@ -50,9 +50,9 @@
<com.google.android.material.textview.MaterialTextView <com.google.android.material.textview.MaterialTextView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="Call Debug Events" android:padding="8dp"
android:textSize="24sp" android:text="SharedPref"
android:padding="8dp" /> android:textSize="24sp" />
<!-- android:textColor="@color/material_dynamic_primary10" />--> <!-- android:textColor="@color/material_dynamic_primary10" />-->
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
@ -72,6 +72,22 @@
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginTop="8dp" /> 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> </LinearLayout>
</ScrollView> </ScrollView>