added preferences activity to iitcm...adds possibility to force desktop mode
This commit is contained in:
@ -5,10 +5,10 @@
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/reload"></item>
|
||||
|
||||
<item android:id="@+id/version_num"
|
||||
android:orderInCategory="100"
|
||||
<item android:id="@+id/settings"
|
||||
android:orderInCategory="120"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/version"></item>
|
||||
android:title="@string/action_settings"></item>
|
||||
|
||||
<item android:id="@+id/cache_clear"
|
||||
android:orderInCategory="100"
|
||||
|
@ -7,5 +7,8 @@
|
||||
<string name="version">Print Version</string>
|
||||
<string name="cache_clear">Clear Cache</string>
|
||||
<string name="locate">Get Location</string>
|
||||
<string name="build_version">Build Version</string>
|
||||
|
||||
<string name="pref_force_desktop">Force desktop mode</string>
|
||||
|
||||
</resources>
|
12
mobile/res/xml/preferences.xml
Normal file
12
mobile/res/xml/preferences.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<CheckBoxPreference
|
||||
android:key="pref_force_desktop"
|
||||
android:title="@string/pref_force_desktop"
|
||||
android:defaultValue="true" />
|
||||
<ListPreference
|
||||
android:key="pref_build_version"
|
||||
android:title="@string/build_version"
|
||||
android:enabled="false"
|
||||
android:selectable="false" />
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user