mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
Playgroundを開けるようにした
This commit is contained in:
parent
9dac625117
commit
1a86849463
|
@ -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);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user