mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-29 19:13:16 +00:00
メニューに追加
This commit is contained in:
parent
b6307f67ce
commit
b8f3b016b7
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user