* added advanced menu...most users are not interested in the debug pane

* moved debug pane to advanced menu
* added clear-cookie button to advanced menu (fix for #551)
This commit is contained in:
Philipp Schaefer
2013-09-13 11:23:22 +02:00
parent 7b12e0bcc2
commit 95325cc336
4 changed files with 45 additions and 5 deletions

View File

@ -87,4 +87,10 @@
android:showAsAction="never"
android:title="@string/menu_debug">
</item>
<item
android:id="@+id/menu_clear_cookies"
android:orderInCategory="200"
android:showAsAction="never"
android:title="@string/menu_clear_cookies">
</item>
</menu>

View File

@ -70,6 +70,9 @@
<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.
Please copy all sources from $IITC_folder/build/mobile/ to /sdcard/IITC_Mobile/dev/.</string>
<string name="pref_advanced_menu">Display advanced menu</string>
<string name="pref_advanced_menu_sum">In addition to the default IITC buttons the advanced menu
contains a debug pane plus an option to clear cookies</string>
<string name="pref_disable_splash">Disable Splash Screen</string>
<string name="pref_select_iitc">IITC source</string>
<string name="pref_select_iitc_sum">Load IITC main script from url or use local script. Currently used source:</string>
@ -81,6 +84,7 @@
<string name="menu_faction">Faction</string>
<string name="menu_info">Info</string>
<string name="menu_debug">Debug</string>
<string name="menu_clear_cookies">Clear Cookies</string>
<string name="menu_search">Search</string>
<string name="choose_account_to_login">Choose account to login</string>
<string name="login_failed">Login failed.</string>

View File

@ -72,6 +72,12 @@
android:summary="@string/pref_enable_dev_mode_sum"
android:defaultValue="false" />
<CheckBoxPreference
android:key="pref_advanced_menu"
android:title="@string/pref_advanced_menu"
android:summary="@string/pref_advanced_menu_sum"
android:defaultValue="false" />
<CheckBoxPreference
android:key="pref_disable_splash"
android:title="@string/pref_disable_splash"