Replace CheckBoxPreference uses with SwitchPreference

This commit is contained in:
Ebrahim Byagowi 2019-04-22 10:48:35 +04:30
parent 93809f5b91
commit a03e64af6d
2 changed files with 90 additions and 90 deletions
CuckooChessApp/src/main/res/xml
DroidFishApp/src/main/res/xml

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen <PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference <SwitchPreference
android:title="Play White" android:title="Play White"
android:key="playerWhite" android:key="playerWhite"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:title="Flip Board" android:title="Flip Board"
android:key="boardFlipped" android:key="boardFlipped"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:title="Thinking Time" android:title="Thinking Time"
android:key="timeLimit" android:key="timeLimit"
@ -18,11 +18,11 @@
android:entries="@array/thinking_times_texts" android:entries="@array/thinking_times_texts"
android:defaultValue="5000"> android:defaultValue="5000">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:title="Show Computer Thinking" android:title="Show Computer Thinking"
android:key="showThinking" android:key="showThinking"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:title="Text Size" android:title="Text Size"
android:key="fontSize" android:key="fontSize"

@ -36,12 +36,12 @@
android:summary="@string/prefs_strength_summary" android:summary="@string/prefs_strength_summary"
android:defaultValue="1000"> android:defaultValue="1000">
</org.petero.droidfish.activities.SeekBarPreference> </org.petero.droidfish.activities.SeekBarPreference>
<CheckBoxPreference <SwitchPreference
android:key="ponderMode" android:key="ponderMode"
android:title="@string/prefs_ponderMode_title" android:title="@string/prefs_ponderMode_title"
android:summary="@string/prefs_ponderMode_summary" android:summary="@string/prefs_ponderMode_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="hashMB" android:key="hashMB"
android:title="@string/prefs_hash_title" android:title="@string/prefs_hash_title"
@ -53,24 +53,24 @@
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_hints"> android:title="@string/prefs_hints">
<CheckBoxPreference <SwitchPreference
android:key="showThinking" android:key="showThinking"
android:title="@string/prefs_showThinking_title" android:title="@string/prefs_showThinking_title"
android:summary="@string/prefs_showThinking_summary" android:summary="@string/prefs_showThinking_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="whiteBasedScores" android:key="whiteBasedScores"
android:title="@string/prefs_whiteBasedScores_title" android:title="@string/prefs_whiteBasedScores_title"
android:summary="@string/prefs_whiteBasedScores_summary" android:summary="@string/prefs_whiteBasedScores_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="bookHints" android:key="bookHints"
android:title="@string/prefs_bookHints_title" android:title="@string/prefs_bookHints_title"
android:summary="@string/prefs_bookHints_summary" android:summary="@string/prefs_bookHints_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="ecoHints" android:key="ecoHints"
android:title="@string/prefs_ecoHints_title" android:title="@string/prefs_ecoHints_title"
@ -87,18 +87,18 @@
android:entries="@array/thinking_arrows_texts" android:entries="@array/thinking_arrows_texts"
android:defaultValue="@string/thinking_arrows_default"> android:defaultValue="@string/thinking_arrows_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="highlightLastMove" android:key="highlightLastMove"
android:title="@string/highlight_last_move_title" android:title="@string/highlight_last_move_title"
android:summary="@string/highlight_last_move_summary" android:summary="@string/highlight_last_move_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="materialDiff" android:key="materialDiff"
android:title="@string/material_diff_title" android:title="@string/material_diff_title"
android:summary="@string/material_diff_summary" android:summary="@string/material_diff_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_playing_options"> android:title="@string/prefs_playing_options">
@ -108,27 +108,27 @@
android:summary="@string/prefs_playerName_summary" android:summary="@string/prefs_playerName_summary"
android:defaultValue="Player"> android:defaultValue="Player">
</EditTextPreference> </EditTextPreference>
<CheckBoxPreference <SwitchPreference
android:key="autoSwapSides" android:key="autoSwapSides"
android:title="@string/prefs_autoSwapSides_title" android:title="@string/prefs_autoSwapSides_title"
android:summary="@string/prefs_autoSwapSides_summary" android:summary="@string/prefs_autoSwapSides_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="playerNameFlip" android:key="playerNameFlip"
android:title="@string/prefs_playerNameFlip_title" android:title="@string/prefs_playerNameFlip_title"
android:summary="@string/prefs_playerNameFlip_summary" android:summary="@string/prefs_playerNameFlip_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_user_interface_appearance"> android:title="@string/prefs_user_interface_appearance">
<CheckBoxPreference <SwitchPreference
android:key="fullScreenMode" android:key="fullScreenMode"
android:title="@string/prefs_fullScreenMode_title" android:title="@string/prefs_fullScreenMode_title"
android:summary="@string/prefs_fullScreenMode_summary" android:summary="@string/prefs_fullScreenMode_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="language" android:key="language"
android:title="@string/prefs_language_title" android:title="@string/prefs_language_title"
@ -161,18 +161,18 @@
android:entries="@array/viewPieceSet_texts" android:entries="@array/viewPieceSet_texts"
android:defaultValue="@string/viewPieceSet_default"> android:defaultValue="@string/viewPieceSet_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="blindMode" android:key="blindMode"
android:title="@string/prefs_blindMode_title" android:title="@string/prefs_blindMode_title"
android:summary="@string/prefs_blindMode_summary" android:summary="@string/prefs_blindMode_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="vibrateEnabled" android:key="vibrateEnabled"
android:title="@string/prefs_vibrateEnabled_title" android:title="@string/prefs_vibrateEnabled_title"
android:summary="@string/prefs_vibrateEnabled_summary" android:summary="@string/prefs_vibrateEnabled_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="moveAnnounceType" android:key="moveAnnounceType"
android:title="@string/prefs_moveAnnounceType_title" android:title="@string/prefs_moveAnnounceType_title"
@ -181,35 +181,35 @@
android:entries="@array/move_announce_type_texts" android:entries="@array/move_announce_type_texts"
android:defaultValue="@string/move_announce_type_default"> android:defaultValue="@string/move_announce_type_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="wakeLock" android:key="wakeLock"
android:title="@string/prefs_wakeLock_title" android:title="@string/prefs_wakeLock_title"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="drawSquareLabels" android:key="drawSquareLabels"
android:title="@string/prefs_drawSquareLabels_title" android:title="@string/prefs_drawSquareLabels_title"
android:summary="@string/prefs_drawSquareLabels_summary" android:summary="@string/prefs_drawSquareLabels_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="leftHanded" android:key="leftHanded"
android:title="@string/prefs_leftHanded_title" android:title="@string/prefs_leftHanded_title"
android:summary="@string/prefs_leftHanded_summary" android:summary="@string/prefs_leftHanded_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="animateMoves" android:key="animateMoves"
android:title="@string/prefs_animateMoves_title" android:title="@string/prefs_animateMoves_title"
android:summary="@string/prefs_animateMoves_summary" android:summary="@string/prefs_animateMoves_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="autoScrollTitle" android:key="autoScrollTitle"
android:title="@string/prefs_autoScrollTitle_title" android:title="@string/prefs_autoScrollTitle_title"
android:summary="@string/prefs_autoScrollTitle_summary" android:summary="@string/prefs_autoScrollTitle_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<PreferenceScreen <PreferenceScreen
android:key="colors" android:key="colors"
android:title="@string/prefs_colors_title" android:title="@string/prefs_colors_title"
@ -348,12 +348,12 @@
android:key="buttonSettings" android:key="buttonSettings"
android:title="@string/prefs_buttonSettings_title" android:title="@string/prefs_buttonSettings_title"
android:summary="@string/prefs_buttonSettings_summary"> android:summary="@string/prefs_buttonSettings_summary">
<CheckBoxPreference <SwitchPreference
android:key="largeButtons" android:key="largeButtons"
android:title="@string/prefs_largeButtons_title" android:title="@string/prefs_largeButtons_title"
android:summary="@string/prefs_largeButtons_summary" android:summary="@string/prefs_largeButtons_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_custom_button_1"> android:title="@string/prefs_custom_button_1">
<ListPreference <ListPreference
@ -511,12 +511,12 @@
</ListPreference> </ListPreference>
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>
<CheckBoxPreference <SwitchPreference
android:key="oneTouchMoves" android:key="oneTouchMoves"
android:title="@string/prefs_quickMoveInput_title" android:title="@string/prefs_quickMoveInput_title"
android:summary="@string/prefs_quickMoveInput_summary" android:summary="@string/prefs_quickMoveInput_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="squareSelectType" android:key="squareSelectType"
android:title="@string/prefs_squareSelectType_title" android:title="@string/prefs_squareSelectType_title"
@ -533,24 +533,24 @@
android:entries="@array/scroll_sensitivity_texts" android:entries="@array/scroll_sensitivity_texts"
android:defaultValue="@string/scroll_sensitivity_default"> android:defaultValue="@string/scroll_sensitivity_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="invertScrollDirection" android:key="invertScrollDirection"
android:title="@string/prefs_invertScrollDirection_title" android:title="@string/prefs_invertScrollDirection_title"
android:summary="@string/prefs_invertScrollDirection_summary" android:summary="@string/prefs_invertScrollDirection_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="scrollGames" android:key="scrollGames"
android:title="@string/prefs_scrollGames_title" android:title="@string/prefs_scrollGames_title"
android:summary="@string/prefs_scrollGames_summary" android:summary="@string/prefs_scrollGames_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="autoScrollMoveList" android:key="autoScrollMoveList"
android:title="@string/prefs_autoScrollMoveList_title" android:title="@string/prefs_autoScrollMoveList_title"
android:summary="@string/prefs_autoScrollMoveList_summary" android:summary="@string/prefs_autoScrollMoveList_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<ListPreference <ListPreference
android:key="autoDelay" android:key="autoDelay"
android:title="@string/prefs_autoDelay_title" android:title="@string/prefs_autoDelay_title"
@ -559,21 +559,21 @@
android:entries="@array/autoDelay_texts" android:entries="@array/autoDelay_texts"
android:defaultValue="@string/autoDelay_default"> android:defaultValue="@string/autoDelay_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="discardVariations" android:key="discardVariations"
android:title="@string/prefs_discardVariations_title" android:title="@string/prefs_discardVariations_title"
android:summary="@string/prefs_discardVariations_summary" android:summary="@string/prefs_discardVariations_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_other"> android:title="@string/prefs_other">
<CheckBoxPreference <SwitchPreference
android:key="guideShowOnStart" android:key="guideShowOnStart"
android:title="@string/prefs_guideShowOnStart_title" android:title="@string/prefs_guideShowOnStart_title"
android:summary="@string/prefs_guideShowOnStart_summary" android:summary="@string/prefs_guideShowOnStart_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<PreferenceScreen <PreferenceScreen
android:key="bookSettings" android:key="bookSettings"
android:title="@string/prefs_bookSettings_title" android:title="@string/prefs_bookSettings_title"
@ -586,18 +586,18 @@
android:entries="@array/book_line_length_texts" android:entries="@array/book_line_length_texts"
android:defaultValue="@string/book_line_length_default"> android:defaultValue="@string/book_line_length_default">
</ListPreference> </ListPreference>
<CheckBoxPreference <SwitchPreference
android:key="bookPreferMainLines" android:key="bookPreferMainLines"
android:title="@string/prefs_bookPreferMainLines_title" android:title="@string/prefs_bookPreferMainLines_title"
android:summary="@string/prefs_bookPreferMainLines_summary" android:summary="@string/prefs_bookPreferMainLines_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="bookTournamentMode" android:key="bookTournamentMode"
android:title="@string/prefs_bookTournamentMode_title" android:title="@string/prefs_bookTournamentMode_title"
android:summary="@string/prefs_bookTournamentMode_summary" android:summary="@string/prefs_bookTournamentMode_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<org.petero.droidfish.activities.SeekBarPreference <org.petero.droidfish.activities.SeekBarPreference
android:key="bookRandom" android:key="bookRandom"
android:defaultValue="500" android:defaultValue="500"
@ -616,119 +616,119 @@
android:summary="@string/prefs_pgnSettings_summary"> android:summary="@string/prefs_pgnSettings_summary">
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_pgn_viewer"> android:title="@string/prefs_pgn_viewer">
<CheckBoxPreference <SwitchPreference
android:key="viewVariations" android:key="viewVariations"
android:title="@string/prefs_viewVariations_title" android:title="@string/prefs_viewVariations_title"
android:summary="@string/prefs_viewVariations_summary" android:summary="@string/prefs_viewVariations_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="viewComments" android:key="viewComments"
android:title="@string/prefs_viewComments_title" android:title="@string/prefs_viewComments_title"
android:summary="@string/prefs_viewComments_summary" android:summary="@string/prefs_viewComments_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="viewNAG" android:key="viewNAG"
android:title="@string/prefs_viewNAG_title" android:title="@string/prefs_viewNAG_title"
android:summary="@string/prefs_viewNAG_summary" android:summary="@string/prefs_viewNAG_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="viewHeaders" android:key="viewHeaders"
android:title="@string/prefs_viewHeaders_title" android:title="@string/prefs_viewHeaders_title"
android:summary="@string/prefs_viewHeaders_summary" android:summary="@string/prefs_viewHeaders_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="showVariationLine" android:key="showVariationLine"
android:title="@string/prefs_showVariationLine_title" android:title="@string/prefs_showVariationLine_title"
android:summary="@string/prefs_showVariationLine_summary" android:summary="@string/prefs_showVariationLine_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_pgn_import"> android:title="@string/prefs_pgn_import">
<CheckBoxPreference <SwitchPreference
android:key="importVariations" android:key="importVariations"
android:title="@string/prefs_importVariations_title" android:title="@string/prefs_importVariations_title"
android:summary="@string/prefs_importVariations_summary" android:summary="@string/prefs_importVariations_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="importComments" android:key="importComments"
android:title="@string/prefs_importComments_title" android:title="@string/prefs_importComments_title"
android:summary="@string/prefs_importComments_summary" android:summary="@string/prefs_importComments_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="importNAG" android:key="importNAG"
android:title="@string/prefs_importNAG_title" android:title="@string/prefs_importNAG_title"
android:summary="@string/prefs_importNAG_summary" android:summary="@string/prefs_importNAG_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
<PreferenceCategory <PreferenceCategory
android:title="@string/prefs_pgn_export"> android:title="@string/prefs_pgn_export">
<CheckBoxPreference <SwitchPreference
android:key="exportVariations" android:key="exportVariations"
android:title="@string/prefs_exportVariations_title" android:title="@string/prefs_exportVariations_title"
android:summary="@string/prefs_exportVariations_summary" android:summary="@string/prefs_exportVariations_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="exportComments" android:key="exportComments"
android:title="@string/prefs_exportComments_title" android:title="@string/prefs_exportComments_title"
android:summary="@string/prefs_exportComments_summary" android:summary="@string/prefs_exportComments_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="exportNAG" android:key="exportNAG"
android:title="@string/prefs_exportNAG_title" android:title="@string/prefs_exportNAG_title"
android:summary="@string/prefs_exportNAG_summary" android:summary="@string/prefs_exportNAG_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="exportPlayerAction" android:key="exportPlayerAction"
android:title="@string/prefs_exportPlayerAction_title" android:title="@string/prefs_exportPlayerAction_title"
android:summary="@string/prefs_exportPlayerAction_summary" android:summary="@string/prefs_exportPlayerAction_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="exportTime" android:key="exportTime"
android:title="@string/prefs_exportTime_title" android:title="@string/prefs_exportTime_title"
android:summary="@string/prefs_exportTime_summary" android:summary="@string/prefs_exportTime_summary"
android:defaultValue="false"> android:defaultValue="false">
</CheckBoxPreference> </SwitchPreference>
</PreferenceCategory> </PreferenceCategory>
</PreferenceScreen> </PreferenceScreen>
<PreferenceScreen <PreferenceScreen
android:key="egtbSettings" android:key="egtbSettings"
android:title="@string/prefs_egtbSettings_title"> android:title="@string/prefs_egtbSettings_title">
<CheckBoxPreference <SwitchPreference
android:key="tbHints" android:key="tbHints"
android:title="@string/prefs_tbHints_title" android:title="@string/prefs_tbHints_title"
android:summary="@string/prefs_tbHints_summary" android:summary="@string/prefs_tbHints_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="tbHintsEdit" android:key="tbHintsEdit"
android:title="@string/prefs_tbHintsEdit_title" android:title="@string/prefs_tbHintsEdit_title"
android:summary="@string/prefs_tbHintsEdit_summary" android:summary="@string/prefs_tbHintsEdit_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="tbRootProbe" android:key="tbRootProbe"
android:title="@string/prefs_tbRootProbe_title" android:title="@string/prefs_tbRootProbe_title"
android:summary="@string/prefs_tbRootProbe_summary" android:summary="@string/prefs_tbRootProbe_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<CheckBoxPreference <SwitchPreference
android:key="tbEngineProbe" android:key="tbEngineProbe"
android:title="@string/prefs_tbEngineProbe_title" android:title="@string/prefs_tbEngineProbe_title"
android:summary="@string/prefs_tbEngineProbe_summary" android:summary="@string/prefs_tbEngineProbe_summary"
android:defaultValue="true"> android:defaultValue="true">
</CheckBoxPreference> </SwitchPreference>
<EditTextPreference <EditTextPreference
android:key="gtbPath" android:key="gtbPath"
android:title="@string/prefs_gtbPath_title" android:title="@string/prefs_gtbPath_title"