From 4932e44a9200799ac39480e233809015e31812fc Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Sun, 10 Jun 2012 08:28:34 +0000 Subject: [PATCH] DroidFish: Added a third configurable button. --- DroidFish/res/layout-land/main.xml | 10 +++- DroidFish/res/layout/main.xml | 6 +++ DroidFish/res/layout/main_left_handed.xml | 6 +++ DroidFish/res/values/strings.xml | 2 + DroidFish/res/xml/preferences.xml | 54 ++++++++++++++++++- .../src/org/petero/droidfish/DroidFish.java | 39 +++++++++----- 6 files changed, 102 insertions(+), 15 deletions(-) diff --git a/DroidFish/res/layout-land/main.xml b/DroidFish/res/layout-land/main.xml index e5bde2b..7b07ada 100644 --- a/DroidFish/res/layout-land/main.xml +++ b/DroidFish/res/layout-land/main.xml @@ -19,6 +19,12 @@ android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"> + + - - + + + + Menu Action 6 Custom Button 1 Custom Button 2 + Custom Button 3 Color Settings Change individual colors Chess Board @@ -343,6 +344,7 @@ you are not actively using the program.\ Directory where Gaviota tablebases are installed. Leave blank to use default directory @string/prefs_custom_button_1 @string/prefs_custom_button_2 + @string/prefs_custom_button_3 Mode button Backward button Forward button diff --git a/DroidFish/res/xml/preferences.xml b/DroidFish/res/xml/preferences.xml index 04bbea5..0141490 100644 --- a/DroidFish/res/xml/preferences.xml +++ b/DroidFish/res/xml/preferences.xml @@ -286,7 +286,59 @@ android:defaultValue=""> - + + + + + + + + + + + + + + + + +