メニューに追加

This commit is contained in:
r-ca 2024-01-20 16:00:10 +09:00
parent b6307f67ce
commit b8f3b016b7
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -46,6 +46,33 @@ public class SettingTopFragment extends Fragment {
// Setting items // Setting items
ArrayList<SettingListItem> settingListItems = new ArrayList<>(); ArrayList<SettingListItem> settingListItems = new ArrayList<>();
settingListItems.add(
new SettingListItem(
"Display",
"Display settings",
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.save_24px),
R.id.action_settingTopFragment_to_settingDisplayPageFragment
)
);
settingListItems.add(
new SettingListItem(
"Data",
"Data settings",
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.save_24px),
R.id.action_settingTopFragment_to_settingDataPageFragment
)
);
settingListItems.add(
new SettingListItem(
"Scan",
"Scan settings",
ContextCompat.getDrawable(getContext(), one.nem.lacerta.shared.ui.R.drawable.save_24px),
R.id.action_settingTopFragment_to_settingScanPageFragment
)
);
settingListItems.add( settingListItems.add(
new SettingListItem( new SettingListItem(
"About", "About",