DroidFish: Replaced tabs with spaces in xml files.

This commit is contained in:
Peter Osterlund 2011-12-17 09:23:49 +00:00
parent b789406ac7
commit 5bd3038de6
5 changed files with 576 additions and 576 deletions

View File

@ -7,8 +7,8 @@
<supports-screens android:largeScreens="true"
android:anyDensity="true" />
<application android:icon="@drawable/icon"
android:label="@string/app_name"
android:debuggable="false">
android:label="@string/app_name"
android:debuggable="false">
<activity android:name=".DroidFish"
android:label="@string/app_name"
android:configChanges="orientation|keyboardHidden">
@ -23,26 +23,26 @@
</intent-filter>
</activity>
<activity android:name=".activities.Preferences"
android:label="Preferences">
android:label="Preferences">
</activity>
<activity android:name=".activities.EditBoard"
android:label="@string/edit_board"
android:label="@string/edit_board"
android:configChanges="orientation">
</activity>
<activity android:name=".activities.EditPGNLoad"
android:label="@string/load_game_title"
android:configChanges="orientation">
android:label="@string/load_game_title"
android:configChanges="orientation">
</activity>
<activity android:name=".activities.EditPGNSave"
android:label="@string/save_game_title"
android:configChanges="orientation">
android:label="@string/save_game_title"
android:configChanges="orientation">
</activity>
<activity android:name=".activities.LoadScid"
android:label="@string/load_scid_game_title"
android:configChanges="orientation">
</activity>
<activity android:name=".activities.CPUWarning"
android:label="@string/cpu_warning_title">
android:label="@string/cpu_warning_title">
</activity>
</application>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item_delete_file"
android:title="@string/delete_file">
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item_delete_file"
android:title="@string/delete_file">
</item>
</menu>

View File

@ -1,54 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item_new_game"
android:title="@string/option_new_game"
android:icon="@android:drawable/ic_menu_add">
</item>
<item
android:id="@+id/item_file_menu"
android:title="@string/option_file"
android:icon="@android:drawable/ic_menu_save">
</item>
<item
android:id="@+id/item_resign"
android:title="@string/option_resign_game"
android:icon="@android:drawable/ic_menu_delete">
</item>
<item
android:id="@+id/item_editboard"
android:title="@string/option_edit_board"
android:icon="@android:drawable/ic_menu_edit">
</item>
<item
android:id="@+id/item_settings"
android:title="@string/option_settings"
android:icon="@android:drawable/ic_menu_preferences">
</item>
xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/item_new_game"
android:title="@string/option_new_game"
android:icon="@android:drawable/ic_menu_add">
</item>
<item
android:id="@+id/item_file_menu"
android:title="@string/option_file"
android:icon="@android:drawable/ic_menu_save">
</item>
<item
android:id="@+id/item_resign"
android:title="@string/option_resign_game"
android:icon="@android:drawable/ic_menu_delete">
</item>
<item
android:id="@+id/item_editboard"
android:title="@string/option_edit_board"
android:icon="@android:drawable/ic_menu_edit">
</item>
<item
android:id="@+id/item_settings"
android:title="@string/option_settings"
android:icon="@android:drawable/ic_menu_preferences">
</item>
<item
android:id="@+id/item_goto_move"
android:title="@string/option_goto_move"
android:icon="@android:drawable/ic_menu_mylocation">
</item>
<item
android:id="@+id/item_force_move"
android:title="@string/option_force_computer_move">
</item>
<item
android:id="@+id/item_draw"
android:title="@string/option_draw">
</item>
<item
android:id="@+id/select_book"
android:title="@string/option_select_book">
</item>
<item
android:id="@+id/set_color_theme"
android:title="@string/option_color_theme">
</item>
<item
android:id="@+id/item_about"
android:title="@string/option_about">
</item>
<item
android:id="@+id/item_force_move"
android:title="@string/option_force_computer_move">
</item>
<item
android:id="@+id/item_draw"
android:title="@string/option_draw">
</item>
<item
android:id="@+id/select_book"
android:title="@string/option_select_book">
</item>
<item
android:id="@+id/set_color_theme"
android:title="@string/option_color_theme">
</item>
<item
android:id="@+id/item_about"
android:title="@string/option_about">
</item>
</menu>

View File

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">DroidFish</string>
<string-array name="engine_texts">
<item>Stockfish</item>
<item>CuckooChess</item>
</string-array>
<string-array name="engine_values">
<item>stockfish</item>
<item>cuckoochess</item>
</string-array>
<string name="app_name">DroidFish</string>
<string-array name="engine_texts">
<item>Stockfish</item>
<item>CuckooChess</item>
</string-array>
<string-array name="engine_values">
<item>stockfish</item>
<item>cuckoochess</item>
</string-array>
<string-array name="engine_threads_texts">
<item>Automatic</item>
<item>1</item>
@ -23,128 +23,128 @@
<item>3</item>
<item>4</item>
</string-array>
<string-array name="moves_per_session_texts">
<item>Whole Game</item>
<item>1 move</item>
<item>10 moves</item>
<item>20 moves</item>
<item>30 moves</item>
<item>40 moves</item>
<item>50 moves</item>
<item>60 moves</item>
</string-array>
<string-array name="moves_per_session_values">
<item>0</item>
<item>1</item>
<item>10</item>
<item>20</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>60</item>
</string-array>
<string-array name="time_control_texts">
<item>15 seconds</item>
<item>30 seconds</item>
<item>1 minute</item>
<item>2 minutes</item>
<item>3 minutes</item>
<item>5 minutes</item>
<item>10 minutes</item>
<item>15 minutes</item>
<item>30 minutes</item>
<item>45 minutes</item>
<item>60 minutes</item>
<item>90 minutes</item>
<item>120 minutes</item>
</string-array>
<string-array name="time_control_values">
<item>15000</item>
<item>30000</item>
<item>60000</item>
<item>120000</item>
<item>180000</item>
<item>300000</item>
<item>600000</item>
<item>900000</item>
<item>1800000</item>
<item>2700000</item>
<item>3600000</item>
<item>5400000</item>
<item>7200000</item>
</string-array>
<string-array name="time_increment_texts">
<item>0s</item>
<item>1s</item>
<item>2s</item>
<item>3s</item>
<item>4s</item>
<item>5s</item>
<item>10s</item>
<item>12s</item>
<item>15s</item>
<item>30s</item>
<item>60s</item>
</string-array>
<string-array name="time_increment_values">
<item>0</item>
<item>1000</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>5000</item>
<item>10000</item>
<item>12000</item>
<item>15000</item>
<item>30000</item>
<item>60000</item>
</string-array>
<string-array name="font_size_texts">
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<string-array name="moves_per_session_texts">
<item>Whole Game</item>
<item>1 move</item>
<item>10 moves</item>
<item>20 moves</item>
<item>30 moves</item>
<item>40 moves</item>
<item>50 moves</item>
<item>60 moves</item>
</string-array>
<string-array name="moves_per_session_values">
<item>0</item>
<item>1</item>
<item>10</item>
<item>20</item>
<item>30</item>
<item>40</item>
<item>50</item>
<item>60</item>
</string-array>
<string-array name="time_control_texts">
<item>15 seconds</item>
<item>30 seconds</item>
<item>1 minute</item>
<item>2 minutes</item>
<item>3 minutes</item>
<item>5 minutes</item>
<item>10 minutes</item>
<item>15 minutes</item>
<item>30 minutes</item>
<item>45 minutes</item>
<item>60 minutes</item>
<item>90 minutes</item>
<item>120 minutes</item>
</string-array>
<string-array name="time_control_values">
<item>15000</item>
<item>30000</item>
<item>60000</item>
<item>120000</item>
<item>180000</item>
<item>300000</item>
<item>600000</item>
<item>900000</item>
<item>1800000</item>
<item>2700000</item>
<item>3600000</item>
<item>5400000</item>
<item>7200000</item>
</string-array>
<string-array name="time_increment_texts">
<item>0s</item>
<item>1s</item>
<item>2s</item>
<item>3s</item>
<item>4s</item>
<item>5s</item>
<item>10s</item>
<item>12s</item>
<item>15s</item>
<item>30s</item>
<item>60s</item>
</string-array>
<string-array name="time_increment_values">
<item>0</item>
<item>1000</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>5000</item>
<item>10000</item>
<item>12000</item>
<item>15000</item>
<item>30000</item>
<item>60000</item>
</string-array>
<string-array name="font_size_texts">
<item>Small</item>
<item>Medium</item>
<item>Large</item>
<item>Larger</item>
</string-array>
<string-array name="font_size_values">
<item>10</item>
<item>12</item>
<item>16</item>
</string-array>
<string-array name="font_size_values">
<item>10</item>
<item>12</item>
<item>16</item>
<item>21</item>
</string-array>
<string-array name="thinking_arrows_texts">
<item>No arrows</item>
<item>Max 1 Arrow</item>
<item>Max 2 Arrows</item>
<item>Max 3 Arrows</item>
<item>Max 4 Arrows</item>
<item>Max 5 Arrows</item>
<item>Max 6 Arrows</item>
</string-array>
<string-array name="thinking_arrows_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
</string-array>
<string-array name="scroll_sensitivity_texts">
<item>Off</item>
<item>Slowest</item>
<item>Slow</item>
<item>Normal</item>
<item>Fast</item>
<item>Fastest</item>
</string-array>
<string-array name="scroll_sensitivity_values">
<item>0</item>
<item>6</item>
<item>3</item>
<item>2</item>
<item>1</item>
<item>0.5</item>
</string-array>
</string-array>
<string-array name="thinking_arrows_texts">
<item>No arrows</item>
<item>Max 1 Arrow</item>
<item>Max 2 Arrows</item>
<item>Max 3 Arrows</item>
<item>Max 4 Arrows</item>
<item>Max 5 Arrows</item>
<item>Max 6 Arrows</item>
</string-array>
<string-array name="thinking_arrows_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
</string-array>
<string-array name="scroll_sensitivity_texts">
<item>Off</item>
<item>Slowest</item>
<item>Slow</item>
<item>Normal</item>
<item>Fast</item>
<item>Fastest</item>
</string-array>
<string-array name="scroll_sensitivity_values">
<item>0</item>
<item>6</item>
<item>3</item>
<item>2</item>
<item>1</item>
<item>0.5</item>
</string-array>
<string-array name="book_line_length_values">
<item>5</item>
<item>10</item>
@ -163,7 +163,7 @@
<item>50 moves</item>
<item>Unlimited</item>
</string-array>
<string name="about_info">\
<string name="about_info">\
<b>About</b>\n\
<i>DroidFish</i> is an Android port of the famous <i>stockfish 2.1</i> chess engine. \
<i>Stockfish</i> is one of the strongest chess engines in the world. \
@ -233,8 +233,8 @@ GNU GPL v3\n\
* <i>Stockfish</i> is developed by Tord Romstad, Marco Costalba and Joona Kiiski.\n\
* <i>Droidfish</i> is developed by Peter Österlund.\n\
* User interface improvements by Aaro Korhonen.\n\
</string>
<string name="cpu_warning">\
</string>
<string name="cpu_warning">\
<b>CPU Usage</b>\n\
If you leave DroidFish running in the background and <i>GameMode</i> is set to \
<i>Analysis</i> or <i>Computer vs Computer</i>, or if <i>Thinking Time</i> \
@ -244,99 +244,99 @@ a lot of CPU power.\n\
If you are running on battery power, it is recommended that you change settings to \
conserve battery power, or that you exit <i>DroidFish</i> using the back button when \
you are not actively using the program.\
</string>
<string name="offer_draw">Offer Draw</string>
<string name="queen">Queen</string>
<string name="rook">Rook</string>
<string name="bishop">Bishop</string>
<string name="knight">Knight</string>
<string name="promote_pawn_to">Promote pawn to?</string>
<string name="copy_game">Copy Game to Clipboard</string>
<string name="copy_position">Copy Position to Clipboard</string>
<string name="paste">Paste from Clipboard</string>
<string name="load_game">Load game from PGN file</string>
<string name="load_scid_game">Load game from Scid file</string>
<string name="save_game">Save game to PGN file</string>
<string name="truncate_gametree">Truncate Game Tree</string>
<string name="move_var_up">Move Variation Up</string>
<string name="move_var_down">Move Variation Down</string>
</string>
<string name="offer_draw">Offer Draw</string>
<string name="queen">Queen</string>
<string name="rook">Rook</string>
<string name="bishop">Bishop</string>
<string name="knight">Knight</string>
<string name="promote_pawn_to">Promote pawn to?</string>
<string name="copy_game">Copy Game to Clipboard</string>
<string name="copy_position">Copy Position to Clipboard</string>
<string name="paste">Paste from Clipboard</string>
<string name="load_game">Load game from PGN file</string>
<string name="load_scid_game">Load game from Scid file</string>
<string name="save_game">Save game to PGN file</string>
<string name="truncate_gametree">Truncate Game Tree</string>
<string name="move_var_up">Move Variation Up</string>
<string name="move_var_down">Move Variation Down</string>
<string name="add_null_move">Add Null Move</string>
<string name="tools_menu">Tools</string>
<string name="load_save_menu">Load/Save Game</string>
<string name="goto_move">Goto move</string>
<string name="goto_move">Goto move</string>
<string name="edit_strength">Edit Strength</string>
<string name="edit_randomization">Edit Randomization</string>
<string name="invalid_number_format">Invalid number format</string>
<string name="side_to_move">Side to Move</string>
<string name="clear_board">Clear Board</string>
<string name="initial_position">Initial Position</string>
<string name="castling_flags">Castling Flags</string>
<string name="en_passant_file">En Passant File</string>
<string name="move_counters">Move Counters</string>
<string name="paste_position">Paste Position</string>
<string name="edit_board">Edit Board</string>
<string name="select_side_to_move_first">Select side to move first</string>
<string name="white">White</string>
<string name="black">Black</string>
<string name="white_king_castle">White king castle</string>
<string name="white_queen_castle">White queen castle</string>
<string name="black_king_castle">Black king castle</string>
<string name="black_queen_castle">Black queen castle</string>
<string name="none">None</string>
<string name="select_en_passant_file">Select En Passant File</string>
<string name="edit_move_counters">Edit Move Counters</string>
<string name="internal_book">&lt;Internal Book&gt;</string>
<string name="select_opening_book_file">Select opening book file</string>
<string name="select_pgn_file">Select PGN file to open</string>
<string name="select_pgn_file_save">Save to PGN file</string>
<string name="invalid_number_format">Invalid number format</string>
<string name="side_to_move">Side to Move</string>
<string name="clear_board">Clear Board</string>
<string name="initial_position">Initial Position</string>
<string name="castling_flags">Castling Flags</string>
<string name="en_passant_file">En Passant File</string>
<string name="move_counters">Move Counters</string>
<string name="paste_position">Paste Position</string>
<string name="edit_board">Edit Board</string>
<string name="select_side_to_move_first">Select side to move first</string>
<string name="white">White</string>
<string name="black">Black</string>
<string name="white_king_castle">White king castle</string>
<string name="white_queen_castle">White queen castle</string>
<string name="black_king_castle">Black king castle</string>
<string name="black_queen_castle">Black queen castle</string>
<string name="none">None</string>
<string name="select_en_passant_file">Select En Passant File</string>
<string name="edit_move_counters">Edit Move Counters</string>
<string name="internal_book">&lt;Internal Book&gt;</string>
<string name="select_opening_book_file">Select opening book file</string>
<string name="select_pgn_file">Select PGN file to open</string>
<string name="select_pgn_file_save">Save to PGN file</string>
<string name="select_scid_file">Select Scid file to open</string>
<string name="select_pgn_game">Select game to open</string>
<string name="reading_pgn_file">Reading PGN file</string>
<string name="reading_scid_file">Reading Scid file</string>
<string name="new_file">&lt;New File&gt;</string>
<string name="please_wait">Please wait&#8230;</string>
<string name="no_pgn_files">No files found in directory DroidFish/pgn on the SD card</string>
<string name="no_scid_files">No files found in directory scid on the SD card</string>
<string name="select_color_theme">Select Color Theme</string>
<string name="select_game_mode">Select Game Mode</string>
<string name="edit_replay_game">Edit/re-play Game</string>
<string name="analysis_mode">Analysis Mode</string>
<string name="play_white">Play White</string>
<string name="play_black">Play Black</string>
<string name="two_players">Two Players</string>
<string name="comp_vs_comp">Computer vs Computer</string>
<string name="select_pgn_game">Select game to open</string>
<string name="reading_pgn_file">Reading PGN file</string>
<string name="reading_scid_file">Reading Scid file</string>
<string name="new_file">&lt;New File&gt;</string>
<string name="please_wait">Please wait&#8230;</string>
<string name="no_pgn_files">No files found in directory DroidFish/pgn on the SD card</string>
<string name="no_scid_files">No files found in directory scid on the SD card</string>
<string name="select_color_theme">Select Color Theme</string>
<string name="select_game_mode">Select Game Mode</string>
<string name="edit_replay_game">Edit/re-play Game</string>
<string name="analysis_mode">Analysis Mode</string>
<string name="play_white">Play White</string>
<string name="play_black">Play Black</string>
<string name="two_players">Two Players</string>
<string name="comp_vs_comp">Computer vs Computer</string>
<string name="analysis">Analysis</string>
<string name="edit_game">Edit Game</string>
<string name="edit_headers">Edit Headers</string>
<string name="edit_comments">Edit Comments</string>
<string name="go_back">Go Back</string>
<string name="go_forward">Go Forward</string>
<string name="goto_start_game">Goto Start of Game</string>
<string name="goto_start_variation">Goto Start of Variation</string>
<string name="goto_prev_variation">Goto Previous Variation</string>
<string name="load_prev_game">Load Previous Game</string>
<string name="goto_end_variation">Goto End of Variation</string>
<string name="goto_next_variation">Goto Next Variation</string>
<string name="load_next_game">Load Next Game</string>
<string name="no_prev_game">No previous game</string>
<string name="no_next_game">No next game</string>
<string name="ok">Ok</string>
<string name="cancel">Cancel</string>
<string name="move_number">Move number:</string>
<string name="filename">Filename:</string>
<string name="halfmove">Halfmove clock:</string>
<string name="fullmove">Fullmove counter:</string>
<string name="filter_text">Filter text</string>
<string name="value_percent">Value (%):</string>
<string name="header_event">Event:</string>
<string name="header_site">Site:</string>
<string name="header_date">Date:</string>
<string name="header_round">Round:</string>
<string name="header_white">White:</string>
<string name="header_black">Black:</string>
<string name="comment_before">Before:</string>
<string name="comment_move">Move:</string>
<string name="comment_after">After:</string>
<string name="edit_game">Edit Game</string>
<string name="edit_headers">Edit Headers</string>
<string name="edit_comments">Edit Comments</string>
<string name="go_back">Go Back</string>
<string name="go_forward">Go Forward</string>
<string name="goto_start_game">Goto Start of Game</string>
<string name="goto_start_variation">Goto Start of Variation</string>
<string name="goto_prev_variation">Goto Previous Variation</string>
<string name="load_prev_game">Load Previous Game</string>
<string name="goto_end_variation">Goto End of Variation</string>
<string name="goto_next_variation">Goto Next Variation</string>
<string name="load_next_game">Load Next Game</string>
<string name="no_prev_game">No previous game</string>
<string name="no_next_game">No next game</string>
<string name="ok">Ok</string>
<string name="cancel">Cancel</string>
<string name="move_number">Move number:</string>
<string name="filename">Filename:</string>
<string name="halfmove">Halfmove clock:</string>
<string name="fullmove">Fullmove counter:</string>
<string name="filter_text">Filter text</string>
<string name="value_percent">Value (%):</string>
<string name="header_event">Event:</string>
<string name="header_site">Site:</string>
<string name="header_date">Date:</string>
<string name="header_round">Round:</string>
<string name="header_white">White:</string>
<string name="header_black">Black:</string>
<string name="comment_before">Before:</string>
<string name="comment_move">Move:</string>
<string name="comment_after">After:</string>
<string name="whites_move">White\'s move</string>
<string name="blacks_move">Black\'s move</string>
<string name="ponder">ponder</string>

View File

@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="Playing Options">
<CheckBoxPreference
android:key="boardFlipped"
android:title="Flip Board"
android:summary="View board from black side"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="autoSwapSides"
android:title="Auto Swap Sides"
android:summary="Automatically swap sides when new game started. Also overrides Flip Board setting"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory
android:title="Playing Options">
<CheckBoxPreference
android:key="boardFlipped"
android:title="Flip Board"
android:summary="View board from black side"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="autoSwapSides"
android:title="Auto Swap Sides"
android:summary="Automatically swap sides when new game started. Also overrides Flip Board setting"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Engine Settings">
<ListPreference
@ -46,211 +46,211 @@
android:defaultValue="0">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Time Control">
<ListPreference
android:key="movesPerSession"
android:title="Moves"
android:summary="Number of moves between time controls"
android:entryValues="@array/moves_per_session_values"
android:entries="@array/moves_per_session_texts"
android:defaultValue="60">
</ListPreference>
<ListPreference
android:key="timeControl"
android:title="Time"
android:summary="Maximum thinking time between time controls"
android:entryValues="@array/time_control_values"
android:entries="@array/time_control_texts"
android:defaultValue="300000">
</ListPreference>
<ListPreference
android:key="timeIncrement"
android:title="Increment"
android:summary="Extra thinking time for each completed move"
android:entryValues="@array/time_increment_values"
android:entries="@array/time_increment_texts"
android:defaultValue="0">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Hints">
<CheckBoxPreference
android:key="showThinking"
android:title="Show Computer Thinking"
android:summary="Display computer algorithm information during search"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="whiteBasedScores"
android:title="White-based scores"
android:summary="Positive analysis scores are good for white"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="bookHints"
android:title="Show Book Hints"
android:summary="Display opening book move hints for human player"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="thinkingArrows"
android:title="Use Arrows"
android:summary="Use arrows to display moves on chess board"
android:entryValues="@array/thinking_arrows_values"
android:entries="@array/thinking_arrows_texts"
android:defaultValue="2">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="User Interface">
<CheckBoxPreference
android:key="animateMoves"
android:title="Animate Moves"
android:summary="Animate piece movements"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="oneTouchMoves"
android:title="One Touch Moves"
android:summary="Touching a square that corresponds to one unique move makes that move immediately"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="soundEnabled"
android:title="Enable Sounds"
android:summary="Play sound when computer makes a move"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="fullScreenMode"
android:title="Fullscreen Mode"
android:summary="Fullscreen mode hides the status bar"
android:defaultValue="false">
</CheckBoxPreference>
<PreferenceCategory
android:title="Time Control">
<ListPreference
android:key="movesPerSession"
android:title="Moves"
android:summary="Number of moves between time controls"
android:entryValues="@array/moves_per_session_values"
android:entries="@array/moves_per_session_texts"
android:defaultValue="60">
</ListPreference>
<ListPreference
android:key="timeControl"
android:title="Time"
android:summary="Maximum thinking time between time controls"
android:entryValues="@array/time_control_values"
android:entries="@array/time_control_texts"
android:defaultValue="300000">
</ListPreference>
<ListPreference
android:key="timeIncrement"
android:title="Increment"
android:summary="Extra thinking time for each completed move"
android:entryValues="@array/time_increment_values"
android:entries="@array/time_increment_texts"
android:defaultValue="0">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Hints">
<CheckBoxPreference
android:key="showThinking"
android:title="Show Computer Thinking"
android:summary="Display computer algorithm information during search"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="whiteBasedScores"
android:title="White-based scores"
android:summary="Positive analysis scores are good for white"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="bookHints"
android:title="Show Book Hints"
android:summary="Display opening book move hints for human player"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="thinkingArrows"
android:title="Use Arrows"
android:summary="Use arrows to display moves on chess board"
android:entryValues="@array/thinking_arrows_values"
android:entries="@array/thinking_arrows_texts"
android:defaultValue="2">
</ListPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="User Interface">
<CheckBoxPreference
android:key="animateMoves"
android:title="Animate Moves"
android:summary="Animate piece movements"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="oneTouchMoves"
android:title="One Touch Moves"
android:summary="Touching a square that corresponds to one unique move makes that move immediately"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="soundEnabled"
android:title="Enable Sounds"
android:summary="Play sound when computer makes a move"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="fullScreenMode"
android:title="Fullscreen Mode"
android:summary="Fullscreen mode hides the status bar"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="wakeLock"
android:title="Disable Screen Timeout"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="drawSquareLabels"
android:title="Square Labels"
android:summary="Display square labels: a-h and 1-8"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="scrollSensitivity"
android:title="Scrolling Speed"
android:summary="Scrolling speed for game navigation"
android:entryValues="@array/scroll_sensitivity_values"
android:entries="@array/scroll_sensitivity_texts"
android:defaultValue="2">
</ListPreference>
<CheckBoxPreference
android:key="invertScrollDirection"
android:title="Invert Scroll Direction"
android:summary="Enable this if you think scrolling moves in the wrong direction"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="fontSize"
android:title="Text Size"
android:summary="Font size for move list and game information"
android:entryValues="@array/font_size_values"
android:entries="@array/font_size_texts"
android:defaultValue="12">
</ListPreference>
<CheckBoxPreference
android:key="drawSquareLabels"
android:title="Square Labels"
android:summary="Display square labels: a-h and 1-8"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="scrollSensitivity"
android:title="Scrolling Speed"
android:summary="Scrolling speed for game navigation"
android:entryValues="@array/scroll_sensitivity_values"
android:entries="@array/scroll_sensitivity_texts"
android:defaultValue="2">
</ListPreference>
<CheckBoxPreference
android:key="invertScrollDirection"
android:title="Invert Scroll Direction"
android:summary="Enable this if you think scrolling moves in the wrong direction"
android:defaultValue="false">
</CheckBoxPreference>
<ListPreference
android:key="fontSize"
android:title="Text Size"
android:summary="Font size for move list and game information"
android:entryValues="@array/font_size_values"
android:entries="@array/font_size_texts"
android:defaultValue="12">
</ListPreference>
<CheckBoxPreference
android:key="largeButtons"
android:title="Large Buttons"
android:summary="Use large buttons for game navigation and mode setting"
android:defaultValue="false">
</CheckBoxPreference>
<PreferenceScreen
android:key="colors"
android:title="Color Settings"
android:summary="Change individual colors">
<PreferenceCategory
android:title="Chess Board">
<EditTextPreference
android:key="color_brightSquare"
android:title="Bright Squares"
android:defaultValue="#FFFFFFFA">
</EditTextPreference>
<EditTextPreference
android:key="color_darkSquare"
android:title="Dark Squares"
android:defaultValue="#FF83A5D2">
</EditTextPreference>
<EditTextPreference
android:key="color_selectedSquare"
android:title="Selected Square"
android:defaultValue="#FF3232D1">
</EditTextPreference>
<EditTextPreference
android:key="color_cursorSquare"
android:title="Trackball Cursor"
android:defaultValue="#FF5F5FFD">
</EditTextPreference>
<EditTextPreference
android:key="color_brightPiece"
android:title="White Pieces"
android:defaultValue="#FFF0F0F0">
</EditTextPreference>
<EditTextPreference
android:key="color_darkPiece"
android:title="Black Pieces"
android:defaultValue="#FF282828">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow0"
android:title="Arrow 1"
android:defaultValue="#A01F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow1"
android:title="Arrow 2"
android:defaultValue="#A01FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow2"
android:title="Arrow 3"
android:defaultValue="#501F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow3"
android:title="Arrow 4"
android:defaultValue="#501FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow4"
android:title="Arrow 5"
android:defaultValue="#1E1F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow5"
android:title="Arrow 6"
android:defaultValue="#281FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_squareLabel"
android:title="Square Labels"
android:defaultValue="#FFFF0000">
</EditTextPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Move List">
<EditTextPreference
android:key="color_currentMove"
android:title="Current Move"
android:defaultValue="#FF3333FF">
</EditTextPreference>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory
android:title="Other">
<PreferenceScreen
android:key="colors"
android:title="Color Settings"
android:summary="Change individual colors">
<PreferenceCategory
android:title="Chess Board">
<EditTextPreference
android:key="color_brightSquare"
android:title="Bright Squares"
android:defaultValue="#FFFFFFFA">
</EditTextPreference>
<EditTextPreference
android:key="color_darkSquare"
android:title="Dark Squares"
android:defaultValue="#FF83A5D2">
</EditTextPreference>
<EditTextPreference
android:key="color_selectedSquare"
android:title="Selected Square"
android:defaultValue="#FF3232D1">
</EditTextPreference>
<EditTextPreference
android:key="color_cursorSquare"
android:title="Trackball Cursor"
android:defaultValue="#FF5F5FFD">
</EditTextPreference>
<EditTextPreference
android:key="color_brightPiece"
android:title="White Pieces"
android:defaultValue="#FFF0F0F0">
</EditTextPreference>
<EditTextPreference
android:key="color_darkPiece"
android:title="Black Pieces"
android:defaultValue="#FF282828">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow0"
android:title="Arrow 1"
android:defaultValue="#A01F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow1"
android:title="Arrow 2"
android:defaultValue="#A01FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow2"
android:title="Arrow 3"
android:defaultValue="#501F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow3"
android:title="Arrow 4"
android:defaultValue="#501FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow4"
android:title="Arrow 5"
android:defaultValue="#1E1F1FFF">
</EditTextPreference>
<EditTextPreference
android:key="color_arrow5"
android:title="Arrow 6"
android:defaultValue="#281FFF1F">
</EditTextPreference>
<EditTextPreference
android:key="color_squareLabel"
android:title="Square Labels"
android:defaultValue="#FFFF0000">
</EditTextPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="Move List">
<EditTextPreference
android:key="color_currentMove"
android:title="Current Move"
android:defaultValue="#FF3333FF">
</EditTextPreference>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
<PreferenceCategory
android:title="Other">
<PreferenceScreen
android:key="bookSettings"
android:title="Opening Book Settings"
@ -280,98 +280,98 @@
android:defaultValue="500"
android:title="Book Randomization">
</org.petero.droidfish.SeekBarPreference>
<EditTextPreference
<EditTextPreference
android:key="bookFile"
android:title="Book Filename"
android:summary="Polyglot or CTG book file in DroidFish directory on SD Card"
android:defaultValue="">
</EditTextPreference>
</PreferenceScreen>
<PreferenceScreen
android:key="pgnSettings"
android:title="PGN Settings"
android:summary="Settings for import and export of portable game notation (PGN) data">
<PreferenceCategory
android:title="PGN viewer">
<CheckBoxPreference
android:key="viewVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewHeaders"
android:title="Headers"
android:summary="Show PGN header lines"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="PGN import">
<CheckBoxPreference
android:key="importVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="importComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="importNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="PGN export">
<CheckBoxPreference
android:key="exportVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportPlayerAction"
android:title="Player Actions"
android:summary="Include information about draw and resign actions"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportTime"
android:title="Clock"
android:summary="Include time information for each move"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>
<PreferenceScreen
android:key="pgnSettings"
android:title="PGN Settings"
android:summary="Settings for import and export of portable game notation (PGN) data">
<PreferenceCategory
android:title="PGN viewer">
<CheckBoxPreference
android:key="viewVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="viewHeaders"
android:title="Headers"
android:summary="Show PGN header lines"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="PGN import">
<CheckBoxPreference
android:key="importVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="importComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="importNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
</PreferenceCategory>
<PreferenceCategory
android:title="PGN export">
<CheckBoxPreference
android:key="exportVariations"
android:title="Variations"
android:summary="Include non-mainline moves"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportComments"
android:title="Comments"
android:summary="Include user written comments"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportNAG"
android:title="Annotations"
android:summary="Include numeric annotation glyphs (NAGs), such as ! and ?"
android:defaultValue="true">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportPlayerAction"
android:title="Player Actions"
android:summary="Include information about draw and resign actions"
android:defaultValue="false">
</CheckBoxPreference>
<CheckBoxPreference
android:key="exportTime"
android:title="Clock"
android:summary="Include time information for each move"
android:defaultValue="false">
</CheckBoxPreference>
</PreferenceCategory>
</PreferenceScreen>
</PreferenceCategory>
</PreferenceScreen>