new settings structure:
* renamed old 'misc' category to 'tweaks' * renamed 'developer options' to 'misc' * moved 'about IITC' screen to misc category (no need to have it on top)
This commit is contained in:
parent
65b3a4b0e0
commit
2d5f29d04e
@ -91,7 +91,6 @@
|
|||||||
|
|
||||||
<string name="pref_ui_cat">UI</string>
|
<string name="pref_ui_cat">UI</string>
|
||||||
<string name="pref_misc_cat">Misc</string>
|
<string name="pref_misc_cat">Misc</string>
|
||||||
<string name="pref_developer_options_cat">Developer options</string>
|
|
||||||
<string name="pref_tweaks_cat">Tweaks</string>
|
<string name="pref_tweaks_cat">Tweaks</string>
|
||||||
<string name="pref_plugins">IITC Plugins</string>
|
<string name="pref_plugins">IITC Plugins</string>
|
||||||
<string name="pref_plugins_title">Available plugins</string>
|
<string name="pref_plugins_title">Available plugins</string>
|
||||||
@ -111,6 +110,7 @@
|
|||||||
<string name="pref_press_twice_to_exit">Press back button twice to exit</string>
|
<string name="pref_press_twice_to_exit">Press back button twice to exit</string>
|
||||||
<string name="pref_press_twice_to_exit_sum">Avoids accidental exits</string>
|
<string name="pref_press_twice_to_exit_sum">Avoids accidental exits</string>
|
||||||
<string name="pref_advanced_options">Advanced settings</string>
|
<string name="pref_advanced_options">Advanced settings</string>
|
||||||
|
<string name="pref_advanced_options_sum">Developer options and advanced tweaks</string>
|
||||||
<string name="pref_enable_dev_mode">Enable developer mode</string>
|
<string name="pref_enable_dev_mode">Enable developer mode</string>
|
||||||
<string name="pref_enable_dev_mode_sum">If enabled, all IITC sources will be loaded from external storage of the Android device.
|
<string name="pref_enable_dev_mode_sum">If enabled, all IITC sources will be loaded from external storage of the Android device.
|
||||||
Please copy all sources from $IITC_folder/build/mobile/ to /sdcard/IITC_Mobile/dev/.</string>
|
Please copy all sources from $IITC_folder/build/mobile/ to /sdcard/IITC_Mobile/dev/.</string>
|
||||||
|
@ -1,16 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
<PreferenceScreen
|
|
||||||
android:key="pref_about_screen"
|
|
||||||
android:persistent="false"
|
|
||||||
android:title="@string/pref_about_title">
|
|
||||||
<com.cradle.iitc_mobile.IITC_AboutDialogPreference
|
|
||||||
android:dialogIcon="@android:drawable/ic_dialog_info"
|
|
||||||
android:key="pref_about"
|
|
||||||
android:title="@string/pref_about_title"/>
|
|
||||||
</PreferenceScreen>
|
|
||||||
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:key="pref_ui_cat"
|
android:key="pref_ui_cat"
|
||||||
android:title="@string/pref_ui_cat">
|
android:title="@string/pref_ui_cat">
|
||||||
@ -41,8 +30,8 @@
|
|||||||
android:title="@string/pref_force_desktop"/>
|
android:title="@string/pref_force_desktop"/>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:key="pref_mics"
|
android:key="pref_tweaks_cat"
|
||||||
android:title="@string/pref_misc_cat">
|
android:title="@string/pref_tweaks_cat">
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:fragment="com.cradle.iitc_mobile.fragments.PluginsFragment"
|
android:fragment="com.cradle.iitc_mobile.fragments.PluginsFragment"
|
||||||
android:key="pref_plugins"
|
android:key="pref_plugins"
|
||||||
@ -70,12 +59,13 @@
|
|||||||
android:title="@string/pref_press_twice_to_exit"/>
|
android:title="@string/pref_press_twice_to_exit"/>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:key="pref_developer_options"
|
android:key="pref_mics"
|
||||||
android:title="@string/pref_developer_options_cat">
|
android:title="@string/pref_misc_cat">
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="pref_developer_screen"
|
android:key="pref_developer_screen"
|
||||||
android:persistent="false"
|
android:persistent="false"
|
||||||
android:title="@string/pref_advanced_options">
|
android:title="@string/pref_advanced_options"
|
||||||
|
android:summary="@string/pref_advanced_options_sum">
|
||||||
<CheckBoxPreference
|
<CheckBoxPreference
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:key="pref_dev_checkbox"
|
android:key="pref_dev_checkbox"
|
||||||
@ -111,6 +101,15 @@
|
|||||||
android:title="@string/pref_fake_user_agent"/>
|
android:title="@string/pref_fake_user_agent"/>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
<PreferenceScreen
|
||||||
|
android:key="pref_about_screen"
|
||||||
|
android:persistent="false"
|
||||||
|
android:title="@string/pref_about_title">
|
||||||
|
<com.cradle.iitc_mobile.IITC_AboutDialogPreference
|
||||||
|
android:dialogIcon="@android:drawable/ic_dialog_info"
|
||||||
|
android:key="pref_about"
|
||||||
|
android:title="@string/pref_about_title"/>
|
||||||
|
</PreferenceScreen>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
Loading…
x
Reference in New Issue
Block a user