main menu reorder
This commit is contained in:
parent
1fd8146b7e
commit
b6778f7615
@ -29,17 +29,10 @@ enum CalculatorMenu implements LabeledMenuItem<MenuItem> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
about(R.string.c_about) {
|
plotter(R.string.cpp_plotter) {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
||||||
CalculatorActivityLauncher.showAbout(context);
|
Locator.getInstance().getPlotter().plot();
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
help(R.string.c_help) {
|
|
||||||
@Override
|
|
||||||
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
|
||||||
CalculatorActivityLauncher.showHelp(context);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -50,10 +43,17 @@ enum CalculatorMenu implements LabeledMenuItem<MenuItem> {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
plotter(R.string.cpp_plotter) {
|
help(R.string.c_help) {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
||||||
Locator.getInstance().getPlotter().plot();
|
CalculatorActivityLauncher.showHelp(context);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
about(R.string.c_about) {
|
||||||
|
@Override
|
||||||
|
public void onClick(@NotNull MenuItem data, @NotNull Context context) {
|
||||||
|
CalculatorActivityLauncher.showAbout(context);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user