diff --git a/DroidFish/res/drawable/flip.png b/DroidFish/res/drawable/flip.png
new file mode 100644
index 0000000..503e8f1
Binary files /dev/null and b/DroidFish/res/drawable/flip.png differ
diff --git a/DroidFish/res/drawable/flip_large.png b/DroidFish/res/drawable/flip_large.png
new file mode 100644
index 0000000..5eeb2bc
Binary files /dev/null and b/DroidFish/res/drawable/flip_large.png differ
diff --git a/DroidFish/res/layout-land/main.xml b/DroidFish/res/layout-land/main.xml
index b1101c7..e9d64aa 100644
--- a/DroidFish/res/layout-land/main.xml
+++ b/DroidFish/res/layout-land/main.xml
@@ -18,7 +18,14 @@
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
-
+
+
-
+
+
+
+
- Long press left/right buttons for additional game navigation commands.
+ Long press mode/left/right buttons for additional commands.
diff --git a/DroidFish/res/values/strings.xml b/DroidFish/res/values/strings.xml
index 150711f..3ad5c69 100644
--- a/DroidFish/res/values/strings.xml
+++ b/DroidFish/res/values/strings.xml
@@ -359,8 +359,6 @@ you are not actively using the program.\
Playing Options
Player Name
Default player name in new games
- Flip Board
- View board from black side
Auto Swap Sides
Automatically swap sides when new game started. Also overrides Flip Board setting
Flip Board: Player
@@ -482,6 +480,7 @@ you are not actively using the program.\
Enable tablebase probing in engine, when supported. Takes effect next time engine is started
GTB Directory
Directory where Gaviota tablebases are installed. Leave blank to use default directory
+ Flip board button
Mode button
Backward button
Forward button
diff --git a/DroidFish/res/xml/preferences.xml b/DroidFish/res/xml/preferences.xml
index 268881b..a2f13d5 100644
--- a/DroidFish/res/xml/preferences.xml
+++ b/DroidFish/res/xml/preferences.xml
@@ -9,12 +9,6 @@
android:summary="@string/prefs_playerName_summary"
android:defaultValue="Player">
-
-
blackMatch)) ||
(!flipped && (whiteMatch < blackMatch))) {
flipped = !flipped;
- boardFlipped = flipped;
- Editor editor = settings.edit();
- editor.putBoolean("boardFlipped", boardFlipped);
- editor.commit();
+ setBoardFlipPrefs(flipped);
}
}
if (autoSwapSides) {