mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-12-18 16:16:32 +01:00
410 lines
19 KiB
XML
410 lines
19 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_playing_options">
|
|
<CheckBoxPreference
|
|
android:key="boardFlipped"
|
|
android:title="@string/prefs_boardFlipped_title"
|
|
android:summary="@string/prefs_boardFlipped_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="autoSwapSides"
|
|
android:title="@string/prefs_autoSwapSides_title"
|
|
android:summary="@string/prefs_autoSwapSides_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_engine_settings">
|
|
<org.petero.droidfish.SeekBarPreference
|
|
android:key="strength"
|
|
android:title="@string/prefs_strength_title"
|
|
android:summary="@string/prefs_strength_summary"
|
|
android:defaultValue="1000">
|
|
</org.petero.droidfish.SeekBarPreference>
|
|
<CheckBoxPreference
|
|
android:key="ponderMode"
|
|
android:title="@string/prefs_ponderMode_title"
|
|
android:summary="@string/prefs_ponderMode_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<ListPreference
|
|
android:key="threads"
|
|
android:title="@string/prefs_threads_title"
|
|
android:summary="@string/prefs_threads_summary"
|
|
android:entryValues="@array/engine_threads_values"
|
|
android:entries="@array/engine_threads_texts"
|
|
android:defaultValue="@string/engine_threads_default">
|
|
</ListPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_time_control">
|
|
<ListPreference
|
|
android:key="movesPerSession"
|
|
android:title="@string/prefs_movesPerSession_title"
|
|
android:summary="@string/prefs_movesPerSession_summary"
|
|
android:entryValues="@array/moves_per_session_values"
|
|
android:entries="@array/moves_per_session_texts"
|
|
android:defaultValue="@string/moves_per_session_default">
|
|
</ListPreference>
|
|
<ListPreference
|
|
android:key="timeControl"
|
|
android:title="@string/prefs_timeControl_title"
|
|
android:summary="@string/prefs_timeControl_summary"
|
|
android:entryValues="@array/time_control_values"
|
|
android:entries="@array/time_control_texts"
|
|
android:defaultValue="@string/time_control_default">
|
|
</ListPreference>
|
|
<ListPreference
|
|
android:key="timeIncrement"
|
|
android:title="@string/prefs_timeIncrement_title"
|
|
android:summary="@string/prefs_timeIncrement_summary"
|
|
android:entryValues="@array/time_increment_values"
|
|
android:entries="@array/time_increment_texts"
|
|
android:defaultValue="@string/time_increment_default">
|
|
</ListPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_hints">
|
|
<CheckBoxPreference
|
|
android:key="showThinking"
|
|
android:title="@string/prefs_showThinking_title"
|
|
android:summary="@string/prefs_showThinking_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="whiteBasedScores"
|
|
android:title="@string/prefs_whiteBasedScores_title"
|
|
android:summary="@string/prefs_whiteBasedScores_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="bookHints"
|
|
android:title="@string/prefs_bookHints_title"
|
|
android:summary="@string/prefs_bookHints_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<ListPreference
|
|
android:key="thinkingArrows"
|
|
android:title="@string/prefs_thinkingArrows_title"
|
|
android:summary="@string/prefs_thinkingArrows_summary"
|
|
android:entryValues="@array/thinking_arrows_values"
|
|
android:entries="@array/thinking_arrows_texts"
|
|
android:defaultValue="@string/thinking_arrows_default">
|
|
</ListPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_user_interface">
|
|
<CheckBoxPreference
|
|
android:key="animateMoves"
|
|
android:title="@string/prefs_animateMoves_title"
|
|
android:summary="@string/prefs_animateMoves_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="oneTouchMoves"
|
|
android:title="@string/prefs_oneTouchMoves_title"
|
|
android:summary="@string/prefs_oneTouchMoves_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="soundEnabled"
|
|
android:title="@string/prefs_soundEnabled_title"
|
|
android:summary="@string/prefs_soundEnabled_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="fullScreenMode"
|
|
android:title="@string/prefs_fullScreenMode_title"
|
|
android:summary="@string/prefs_fullScreenMode_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="wakeLock"
|
|
android:title="@string/prefs_wakeLock_title"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="drawSquareLabels"
|
|
android:title="@string/prefs_drawSquareLabels_title"
|
|
android:summary="@string/prefs_drawSquareLabels_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<ListPreference
|
|
android:key="scrollSensitivity"
|
|
android:title="@string/prefs_scrollSensitivity_title"
|
|
android:summary="@string/prefs_scrollSensitivity_summary"
|
|
android:entryValues="@array/scroll_sensitivity_values"
|
|
android:entries="@array/scroll_sensitivity_texts"
|
|
android:defaultValue="@string/scroll_sensitivity_default">
|
|
</ListPreference>
|
|
<CheckBoxPreference
|
|
android:key="invertScrollDirection"
|
|
android:title="@string/prefs_invertScrollDirection_title"
|
|
android:summary="@string/prefs_invertScrollDirection_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<ListPreference
|
|
android:key="fontSize"
|
|
android:title="@string/prefs_fontSize_title"
|
|
android:summary="@string/prefs_fontSize_summary"
|
|
android:entryValues="@array/font_size_values"
|
|
android:entries="@array/font_size_texts"
|
|
android:defaultValue="@string/font_size_default">
|
|
</ListPreference>
|
|
<CheckBoxPreference
|
|
android:key="largeButtons"
|
|
android:title="@string/prefs_largeButtons_title"
|
|
android:summary="@string/prefs_largeButtons_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<PreferenceScreen
|
|
android:key="colors"
|
|
android:title="@string/prefs_colors_title"
|
|
android:summary="@string/prefs_colors_summary">
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_chess_board">
|
|
<EditTextPreference
|
|
android:key="color_brightSquare"
|
|
android:title="@string/prefs_color_brightSquare_title"
|
|
android:defaultValue="#FFFFFFFA">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_darkSquare"
|
|
android:title="@string/prefs_color_darkSquare_title"
|
|
android:defaultValue="#FF83A5D2">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_selectedSquare"
|
|
android:title="@string/prefs_color_selectedSquare_title"
|
|
android:defaultValue="#FF3232D1">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_cursorSquare"
|
|
android:title="@string/prefs_color_cursorSquare_title"
|
|
android:defaultValue="#FF5F5FFD">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_brightPiece"
|
|
android:title="@string/prefs_color_brightPiece_title"
|
|
android:defaultValue="#FFF0F0F0">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_darkPiece"
|
|
android:title="@string/prefs_color_darkPiece_title"
|
|
android:defaultValue="#FF282828">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow0"
|
|
android:title="@string/prefs_color_arrow0_title"
|
|
android:defaultValue="#A01F1FFF">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow1"
|
|
android:title="@string/prefs_color_arrow1_title"
|
|
android:defaultValue="#A01FFF1F">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow2"
|
|
android:title="@string/prefs_color_arrow2_title"
|
|
android:defaultValue="#501F1FFF">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow3"
|
|
android:title="@string/prefs_color_arrow3_title"
|
|
android:defaultValue="#501FFF1F">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow4"
|
|
android:title="@string/prefs_color_arrow4_title"
|
|
android:defaultValue="#1E1F1FFF">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_arrow5"
|
|
android:title="@string/prefs_color_arrow5_title"
|
|
android:defaultValue="#281FFF1F">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_squareLabel"
|
|
android:title="@string/prefs_color_squareLabel_title"
|
|
android:defaultValue="#FFFF0000">
|
|
</EditTextPreference>
|
|
<EditTextPreference
|
|
android:key="color_decoration"
|
|
android:title="@string/prefs_color_decoration_title"
|
|
android:defaultValue="#FF808080">
|
|
</EditTextPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_move_list">
|
|
<EditTextPreference
|
|
android:key="color_currentMove"
|
|
android:title="@string/prefs_color_currentMove_title"
|
|
android:defaultValue="#FF3333FF">
|
|
</EditTextPreference>
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_other">
|
|
<PreferenceScreen
|
|
android:key="bookSettings"
|
|
android:title="@string/prefs_bookSettings_title"
|
|
android:summary="@string/prefs_bookSettings_summary">
|
|
<ListPreference
|
|
android:key="bookMaxLength"
|
|
android:title="@string/prefs_bookMaxLength_title"
|
|
android:summary="@string/prefs_bookMaxLength_summary"
|
|
android:entryValues="@array/book_line_length_values"
|
|
android:entries="@array/book_line_length_texts"
|
|
android:defaultValue="@string/book_line_length_default">
|
|
</ListPreference>
|
|
<CheckBoxPreference
|
|
android:key="bookPreferMainLines"
|
|
android:title="@string/prefs_bookPreferMainLines_title"
|
|
android:summary="@string/prefs_bookPreferMainLines_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="bookTournamentMode"
|
|
android:title="@string/prefs_bookTournamentMode_title"
|
|
android:summary="@string/prefs_bookTournamentMode_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<org.petero.droidfish.SeekBarPreference
|
|
android:key="bookRandom"
|
|
android:defaultValue="500"
|
|
android:title="@string/prefs_bookRandom_title">
|
|
</org.petero.droidfish.SeekBarPreference>
|
|
<EditTextPreference
|
|
android:key="bookFile"
|
|
android:title="@string/prefs_bookFile_title"
|
|
android:summary="@string/prefs_bookFile_summary"
|
|
android:defaultValue="">
|
|
</EditTextPreference>
|
|
</PreferenceScreen>
|
|
<PreferenceScreen
|
|
android:key="pgnSettings"
|
|
android:title="@string/prefs_pgnSettings_title"
|
|
android:summary="@string/prefs_pgnSettings_summary">
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_pgn_viewer">
|
|
<CheckBoxPreference
|
|
android:key="viewVariations"
|
|
android:title="@string/prefs_viewVariations_title"
|
|
android:summary="@string/prefs_viewVariations_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="viewComments"
|
|
android:title="@string/prefs_viewComments_title"
|
|
android:summary="@string/prefs_viewComments_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="viewNAG"
|
|
android:title="@string/prefs_viewNAG_title"
|
|
android:summary="@string/prefs_viewNAG_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="viewHeaders"
|
|
android:title="@string/prefs_viewHeaders_title"
|
|
android:summary="@string/prefs_viewHeaders_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_pgn_import">
|
|
<CheckBoxPreference
|
|
android:key="importVariations"
|
|
android:title="@string/prefs_importVariations_title"
|
|
android:summary="@string/prefs_importVariations_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="importComments"
|
|
android:title="@string/prefs_importComments_title"
|
|
android:summary="@string/prefs_importComments_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="importNAG"
|
|
android:title="@string/prefs_importNAG_title"
|
|
android:summary="@string/prefs_importNAG_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
</PreferenceCategory>
|
|
<PreferenceCategory
|
|
android:title="@string/prefs_pgn_export">
|
|
<CheckBoxPreference
|
|
android:key="exportVariations"
|
|
android:title="@string/prefs_exportVariations_title"
|
|
android:summary="@string/prefs_exportVariations_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="exportComments"
|
|
android:title="@string/prefs_exportComments_title"
|
|
android:summary="@string/prefs_exportComments_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="exportNAG"
|
|
android:title="@string/prefs_exportNAG_title"
|
|
android:summary="@string/prefs_exportNAG_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="exportPlayerAction"
|
|
android:title="@string/prefs_exportPlayerAction_title"
|
|
android:summary="@string/prefs_exportPlayerAction_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="exportTime"
|
|
android:title="@string/prefs_exportTime_title"
|
|
android:summary="@string/prefs_exportTime_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|
|
<PreferenceScreen
|
|
android:key="egtbSettings"
|
|
android:title="@string/prefs_egtbSettings_title">
|
|
<CheckBoxPreference
|
|
android:key="tbHints"
|
|
android:title="@string/prefs_tbHints_title"
|
|
android:summary="@string/prefs_tbHints_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="tbHintsEdit"
|
|
android:title="@string/prefs_tbHintsEdit_title"
|
|
android:summary="@string/prefs_tbHintsEdit_summary"
|
|
android:defaultValue="false">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="tbRootProbe"
|
|
android:title="@string/prefs_tbRootProbe_title"
|
|
android:summary="@string/prefs_tbRootProbe_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<CheckBoxPreference
|
|
android:key="tbEngineProbe"
|
|
android:title="@string/prefs_tbEngineProbe_title"
|
|
android:summary="@string/prefs_tbEngineProbe_summary"
|
|
android:defaultValue="true">
|
|
</CheckBoxPreference>
|
|
<EditTextPreference
|
|
android:key="gtbPath"
|
|
android:title="@string/prefs_gtbPath_title"
|
|
android:summary="@string/prefs_gtbPath_summary"
|
|
android:defaultValue="">
|
|
</EditTextPreference>
|
|
</PreferenceScreen>
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|