mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-02-06 20:29:10 +01:00
DroidFish: Reorganized preferences.
This commit is contained in:
parent
705e0ffea3
commit
1f49993c39
|
@ -258,7 +258,8 @@ you are not actively using the program.\
|
|||
<string name="prefs_bookHints_summary">Display opening book move hints for human player</string>
|
||||
<string name="prefs_thinkingArrows_title">Use Arrows</string>
|
||||
<string name="prefs_thinkingArrows_summary">Use arrows to display moves on chess board</string>
|
||||
<string name="prefs_user_interface">User Interface</string>
|
||||
<string name="prefs_user_interface_appearance">Appearance</string>
|
||||
<string name="prefs_user_interface_behavior">Behavior</string>
|
||||
<string name="prefs_animateMoves_title">Animate Moves</string>
|
||||
<string name="prefs_animateMoves_summary">Animate piece movements</string>
|
||||
<string name="prefs_quickMoveInput_title">Quick Move Input</string>
|
||||
|
|
|
@ -2,26 +2,32 @@
|
|||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_playing_options">
|
||||
<EditTextPreference
|
||||
android:key="playerName"
|
||||
android:title="@string/prefs_playerName_title"
|
||||
android:summary="@string/prefs_playerName_summary"
|
||||
android:defaultValue="Player">
|
||||
</EditTextPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="autoSwapSides"
|
||||
android:title="@string/prefs_autoSwapSides_title"
|
||||
android:summary="@string/prefs_autoSwapSides_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="playerNameFlip"
|
||||
android:title="@string/prefs_playerNameFlip_title"
|
||||
android:summary="@string/prefs_playerNameFlip_summary"
|
||||
android:defaultValue="true">
|
||||
</CheckBoxPreference>
|
||||
</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_engine_settings">
|
||||
<org.petero.droidfish.SeekBarPreference
|
||||
|
@ -52,106 +58,424 @@
|
|||
android:entries="@array/engine_hash_texts"
|
||||
android:defaultValue="@string/engine_hash_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: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:summary="@string/prefs_whiteBasedScores_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<CheckBoxPreference
|
||||
<CheckBoxPreference
|
||||
android:key="bookHints"
|
||||
android:title="@string/prefs_bookHints_title"
|
||||
android:summary="@string/prefs_bookHints_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<ListPreference
|
||||
<ListPreference
|
||||
android:key="thinkingArrows"
|
||||
android:title="@string/prefs_thinkingArrows_title"
|
||||
android:summary="@string/prefs_thinkingArrows_summary"
|
||||
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>
|
||||
<CheckBoxPreference
|
||||
android:key="materialDiff"
|
||||
android:summary="@string/material_diff_summary"
|
||||
android:title="@string/material_diff_title">
|
||||
</CheckBoxPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_user_interface">
|
||||
<CheckBoxPreference
|
||||
android:key="animateMoves"
|
||||
android:title="@string/prefs_animateMoves_title"
|
||||
android:summary="@string/prefs_animateMoves_summary"
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_playing_options">
|
||||
<EditTextPreference
|
||||
android:key="playerName"
|
||||
android:title="@string/prefs_playerName_title"
|
||||
android:summary="@string/prefs_playerName_summary"
|
||||
android:defaultValue="Player">
|
||||
</EditTextPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="autoSwapSides"
|
||||
android:title="@string/prefs_autoSwapSides_title"
|
||||
android:summary="@string/prefs_autoSwapSides_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="playerNameFlip"
|
||||
android:title="@string/prefs_playerNameFlip_title"
|
||||
android:summary="@string/prefs_playerNameFlip_summary"
|
||||
android:defaultValue="true">
|
||||
</CheckBoxPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_user_interface_appearance">
|
||||
<CheckBoxPreference
|
||||
android:key="fullScreenMode"
|
||||
android:title="@string/prefs_fullScreenMode_title"
|
||||
android:summary="@string/prefs_fullScreenMode_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>
|
||||
<ListPreference
|
||||
android:key="viewPieceType"
|
||||
android:title="@string/prefs_viewPieceType_title"
|
||||
android:summary="@string/prefs_viewPieceType_summary"
|
||||
android:entryValues="@array/viewPieceType_values"
|
||||
android:entries="@array/viewPieceType_texts"
|
||||
android:defaultValue="@string/viewPieceType_default">
|
||||
</ListPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="vibrateEnabled"
|
||||
android:title="@string/prefs_vibrateEnabled_title"
|
||||
android:summary="@string/prefs_vibrateEnabled_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="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>
|
||||
<CheckBoxPreference
|
||||
android:key="leftHanded"
|
||||
android:title="@string/prefs_leftHanded_title"
|
||||
android:summary="@string/prefs_leftHanded_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="animateMoves"
|
||||
android:title="@string/prefs_animateMoves_title"
|
||||
android:summary="@string/prefs_animateMoves_summary"
|
||||
android:defaultValue="true">
|
||||
</CheckBoxPreference>
|
||||
<PreferenceScreen
|
||||
android:key="colors"
|
||||
android:title="@string/prefs_colors_title"
|
||||
android:summary="@string/prefs_colors_summary">
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_chess_board">
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_brightSquare"
|
||||
android:title="@string/prefs_color_brightSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFFFFFFA">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_darkSquare"
|
||||
android:title="@string/prefs_color_darkSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF83A5D2">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_selectedSquare"
|
||||
android:title="@string/prefs_color_selectedSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF3232D1">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_cursorSquare"
|
||||
android:title="@string/prefs_color_cursorSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF5F5FFD">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_brightPiece"
|
||||
android:title="@string/prefs_color_brightPiece_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFF0F0F0">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_darkPiece"
|
||||
android:title="@string/prefs_color_darkPiece_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF282828">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow0"
|
||||
android:title="@string/prefs_color_arrow0_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#A01F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow1"
|
||||
android:title="@string/prefs_color_arrow1_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#A01FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow2"
|
||||
android:title="@string/prefs_color_arrow2_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#501F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow3"
|
||||
android:title="@string/prefs_color_arrow3_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#501FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow4"
|
||||
android:title="@string/prefs_color_arrow4_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#1E1F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow5"
|
||||
android:title="@string/prefs_color_arrow5_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#281FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_squareLabel"
|
||||
android:title="@string/prefs_color_squareLabel_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFFF0000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_decoration"
|
||||
android:title="@string/prefs_color_decoration_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF808080">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_move_list">
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_currentMove"
|
||||
android:title="@string/prefs_color_currentMove_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF3333FF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_pgnComment"
|
||||
android:title="@string/prefs_color_pgnComment_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFC0C000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_fontForeground"
|
||||
android:title="@string/prefs_color_fontForeground_title"
|
||||
alphaSlider="false"
|
||||
android:defaultValue="#FFFFFFFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_generalBackground"
|
||||
android:title="@string/prefs_color_generalBackground_title"
|
||||
alphaSlider="false"
|
||||
android:defaultValue="#FF000000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_user_interface_behavior">
|
||||
<PreferenceScreen
|
||||
android:key="buttonSettings"
|
||||
android:title="@string/prefs_buttonSettings_title"
|
||||
android:summary="@string/prefs_buttonSettings_summary">
|
||||
<CheckBoxPreference
|
||||
android:key="largeButtons"
|
||||
android:title="@string/prefs_largeButtons_title"
|
||||
android:summary="@string/prefs_largeButtons_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_1">
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="flipboard">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="viewHeaders">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="viewComments">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_2">
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_3">
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
<CheckBoxPreference
|
||||
android:key="oneTouchMoves"
|
||||
android:title="@string/prefs_quickMoveInput_title"
|
||||
android:summary="@string/prefs_quickMoveInput_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="vibrateEnabled"
|
||||
android:title="@string/prefs_vibrateEnabled_title"
|
||||
android:summary="@string/prefs_vibrateEnabled_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="squareSelectType"
|
||||
android:title="@string/prefs_squareSelectType_title"
|
||||
android:summary="@string/prefs_squareSelectType_summary"
|
||||
android:entryValues="@array/squareSelectType_values"
|
||||
android:entries="@array/squareSelectType_texts"
|
||||
android:defaultValue="@string/squareSelectType_default">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="scrollSensitivity"
|
||||
android:title="@string/prefs_scrollSensitivity_title"
|
||||
|
@ -166,327 +490,6 @@
|
|||
android:summary="@string/prefs_invertScrollDirection_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="leftHanded"
|
||||
android:title="@string/prefs_leftHanded_title"
|
||||
android:summary="@string/prefs_leftHanded_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<ListPreference
|
||||
android:key="squareSelectType"
|
||||
android:title="@string/prefs_squareSelectType_title"
|
||||
android:summary="@string/prefs_squareSelectType_summary"
|
||||
android:entryValues="@array/squareSelectType_values"
|
||||
android:entries="@array/squareSelectType_texts"
|
||||
android:defaultValue="@string/squareSelectType_default">
|
||||
</ListPreference>
|
||||
<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>
|
||||
<ListPreference
|
||||
android:key="viewPieceType"
|
||||
android:title="@string/prefs_viewPieceType_title"
|
||||
android:summary="@string/prefs_viewPieceType_summary"
|
||||
android:entryValues="@array/viewPieceType_values"
|
||||
android:entries="@array/viewPieceType_texts"
|
||||
android:defaultValue="@string/viewPieceType_default">
|
||||
</ListPreference>
|
||||
<CheckBoxPreference
|
||||
android:key="materialDiff"
|
||||
android:summary="@string/material_diff_summary"
|
||||
android:title="@string/material_diff_title" >
|
||||
</CheckBoxPreference>
|
||||
<PreferenceScreen
|
||||
android:key="buttonSettings"
|
||||
android:title="@string/prefs_buttonSettings_title"
|
||||
android:summary="@string/prefs_buttonSettings_summary">
|
||||
<CheckBoxPreference
|
||||
android:key="largeButtons"
|
||||
android:title="@string/prefs_largeButtons_title"
|
||||
android:summary="@string/prefs_largeButtons_summary"
|
||||
android:defaultValue="false">
|
||||
</CheckBoxPreference>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_1">
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="flipboard">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="viewHeaders">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="viewComments">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom1_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_2">
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom2_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_custom_button_3">
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_0"
|
||||
android:title="@string/prefs_button_action_0_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_1"
|
||||
android:title="@string/prefs_button_action_1_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_2"
|
||||
android:title="@string/prefs_button_action_2_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_3"
|
||||
android:title="@string/prefs_button_action_3_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_4"
|
||||
android:title="@string/prefs_button_action_4_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_5"
|
||||
android:title="@string/prefs_button_action_5_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
<ListPreference
|
||||
android:key="button_action_custom3_6"
|
||||
android:title="@string/prefs_button_action_6_title"
|
||||
android:entryValues="@array/button_action_values"
|
||||
android:entries="@array/button_action_texts"
|
||||
android:defaultValue="">
|
||||
</ListPreference>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
<PreferenceScreen
|
||||
android:key="colors"
|
||||
android:title="@string/prefs_colors_title"
|
||||
android:summary="@string/prefs_colors_summary">
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_chess_board">
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_brightSquare"
|
||||
android:title="@string/prefs_color_brightSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFFFFFFA">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_darkSquare"
|
||||
android:title="@string/prefs_color_darkSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF83A5D2">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_selectedSquare"
|
||||
android:title="@string/prefs_color_selectedSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF3232D1">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_cursorSquare"
|
||||
android:title="@string/prefs_color_cursorSquare_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF5F5FFD">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_brightPiece"
|
||||
android:title="@string/prefs_color_brightPiece_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFF0F0F0">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_darkPiece"
|
||||
android:title="@string/prefs_color_darkPiece_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF282828">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow0"
|
||||
android:title="@string/prefs_color_arrow0_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#A01F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow1"
|
||||
android:title="@string/prefs_color_arrow1_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#A01FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow2"
|
||||
android:title="@string/prefs_color_arrow2_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#501F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow3"
|
||||
android:title="@string/prefs_color_arrow3_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#501FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow4"
|
||||
android:title="@string/prefs_color_arrow4_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#1E1F1FFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_arrow5"
|
||||
android:title="@string/prefs_color_arrow5_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#281FFF1F">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_squareLabel"
|
||||
android:title="@string/prefs_color_squareLabel_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFFF0000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_decoration"
|
||||
android:title="@string/prefs_color_decoration_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF808080">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_move_list">
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_currentMove"
|
||||
android:title="@string/prefs_color_currentMove_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FF3333FF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_pgnComment"
|
||||
android:title="@string/prefs_color_pgnComment_title"
|
||||
alphaSlider="true"
|
||||
android:defaultValue="#FFC0C000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_fontForeground"
|
||||
android:title="@string/prefs_color_fontForeground_title"
|
||||
alphaSlider="false"
|
||||
android:defaultValue="#FFFFFFFF">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
<net.margaritov.preference.colorpicker.ColorPickerPreference
|
||||
android:key="color_generalBackground"
|
||||
android:title="@string/prefs_color_generalBackground_title"
|
||||
alphaSlider="false"
|
||||
android:defaultValue="#FF000000">
|
||||
</net.margaritov.preference.colorpicker.ColorPickerPreference>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory
|
||||
android:title="@string/prefs_other">
|
||||
|
|
Loading…
Reference in New Issue
Block a user