mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
PlaceHolder入れたりした
This commit is contained in:
parent
35a0e68e2d
commit
031c755e1d
|
@ -80,14 +80,19 @@ 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.getDeviceMeta().getAndroidApiLevel()
|
||||
// + deviceMeta.getDeviceMeta().getAndroidVersion()
|
||||
// + deviceMeta.getDeviceMeta().getDeviceManufacturer()
|
||||
// + deviceMeta.getDeviceMeta().getDeviceModel(), Toast.LENGTH_SHORT).show();
|
||||
// });
|
||||
view.findViewById(R.id.btn_debug_menu_scan).setOnClickListener( v -> {
|
||||
// スキャン機能呼び出し
|
||||
Toast.makeText(getContext(), "testMessage", Toast.LENGTH_SHORT).show();
|
||||
});
|
||||
|
||||
view.findViewById(R.id.btn_debug_menu_shared_pref_editor).setOnClickListener( v -> {
|
||||
// SharedPrefEditor機能呼び出し
|
||||
Toast.makeText(getContext(), "textMessage", Toast.LENGTH_SHORT).show();
|
||||
});
|
||||
|
||||
view.findViewById(R.id.btn_debug_menu_clear_pref).setOnClickListener( v -> {
|
||||
// SharedPrefClear
|
||||
Toast.makeText(getContext(), "textMessage", Toast.LENGTH_SHORT).show();
|
||||
});
|
||||
}
|
||||
}
|
|
@ -66,10 +66,10 @@
|
|||
android:layout_marginTop="8dp" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btn_debug_menu_clear_storage"
|
||||
android:id="@+id/btn_debug_menu_shared_pref_editor"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Clear Storage"
|
||||
android:text="Shared Preferences Editor"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:layout_marginTop="8dp" />
|
||||
|
|
Loading…
Reference in New Issue
Block a user