From 596e839eec39fdd8dc33958608ce6af4bd2b055b Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sat, 5 Nov 2016 12:49:09 +0100 Subject: [PATCH] DroidFish: Added configurable button action to toggle arrow visibility. --- DroidFish/res/values/strings.xml | 3 +++ DroidFish/res/xml/preferences.xml | 2 +- .../src/org/petero/droidfish/DroidFish.java | 24 ++++++++++++++++++- 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/DroidFish/res/values/strings.xml b/DroidFish/res/values/strings.xml index 4fb7ef9..1890b0b 100644 --- a/DroidFish/res/values/strings.xml +++ b/DroidFish/res/values/strings.xml @@ -131,6 +131,7 @@ you are not actively using the program.\ Toggle Engine Analysis Toggle Large Buttons Toggle Blindfold Mode + Toggle Arrows Cancel Reset Yes @@ -650,6 +651,7 @@ you are not actively using the program.\ @string/toggle_pgn_headers @string/toggle_large_buttons @string/toggle_blind_mode + @string/toggle_arrows @string/load_last_file @string/select_engine @string/engine_options @@ -665,6 +667,7 @@ you are not actively using the program.\ viewHeaders largeButtons blindMode + toggleArrows loadLastFile selectEngine engineOptions diff --git a/DroidFish/res/xml/preferences.xml b/DroidFish/res/xml/preferences.xml index 0cdc938..bca2a8e 100644 --- a/DroidFish/res/xml/preferences.xml +++ b/DroidFish/res/xml/preferences.xml @@ -344,7 +344,7 @@ android:title="@string/prefs_button_action_3_title" android:entryValues="@array/button_action_values" android:entries="@array/button_action_texts" - android:defaultValue=""> + android:defaultValue="toggleArrows">