mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
GO_BACK action is not implemented yet
This commit is contained in:
parent
9ea10c77e1
commit
9b225d9682
1 changed files with 4 additions and 2 deletions
|
@ -390,13 +390,15 @@ public class PreferenceActivity extends ZLPreferenceActivity {
|
|||
cancelMenuScreen.addOption(fbReader.ShowPositionsInCancelMenuOption, "positions");
|
||||
final ZLKeyBindings bindings = fbReader.keyBindings();
|
||||
final String[] backKeyActions =
|
||||
{ ActionCode.EXIT, ActionCode.GO_BACK, ActionCode.SHOW_CANCEL_MENU };
|
||||
//{ ActionCode.EXIT, ActionCode.GO_BACK, ActionCode.SHOW_CANCEL_MENU };
|
||||
{ ActionCode.EXIT, ActionCode.SHOW_CANCEL_MENU };
|
||||
cancelMenuScreen.addPreference(new ZLStringChoicePreference(
|
||||
this, cancelMenuScreen.Resource, "backKeyAction",
|
||||
bindings.getOption("<Back>", false), backKeyActions
|
||||
));
|
||||
final String[] backKeyLongPressActions =
|
||||
{ ActionCode.EXIT, ActionCode.GO_BACK, ActionCode.SHOW_CANCEL_MENU, FBReaderApp.NoAction };
|
||||
//{ ActionCode.EXIT, ActionCode.GO_BACK, ActionCode.SHOW_CANCEL_MENU, FBReaderApp.NoAction };
|
||||
{ ActionCode.EXIT, ActionCode.SHOW_CANCEL_MENU, FBReaderApp.NoAction };
|
||||
cancelMenuScreen.addPreference(new ZLStringChoicePreference(
|
||||
this, cancelMenuScreen.Resource, "backKeyLongPressAction",
|
||||
bindings.getOption("<Back>", true), backKeyLongPressActions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue