Redesigned IITC Mobile to use ActionBar menu instead of web based tabs.
BIN
mobile/res/drawable-hdpi/action_about.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
mobile/res/drawable-hdpi/action_search.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
mobile/res/drawable-hdpi/action_settings.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
mobile/res/drawable-hdpi/av_full_screen.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
mobile/res/drawable-hdpi/content_remove.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
mobile/res/drawable-hdpi/device_access_location_found.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
mobile/res/drawable-hdpi/device_access_location_off.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
mobile/res/drawable-hdpi/device_access_location_searching.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
BIN
mobile/res/drawable-hdpi/location_map.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
mobile/res/drawable-hdpi/navigation_refresh.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
mobile/res/drawable-hdpi/social_group.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.7 KiB |
BIN
mobile/res/drawable-mdpi/action_about.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
mobile/res/drawable-mdpi/action_search.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
mobile/res/drawable-mdpi/action_settings.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
mobile/res/drawable-mdpi/av_full_screen.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
mobile/res/drawable-mdpi/content_remove.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
mobile/res/drawable-mdpi/device_access_location_found.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
mobile/res/drawable-mdpi/device_access_location_off.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
mobile/res/drawable-mdpi/device_access_location_searching.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.2 KiB |
BIN
mobile/res/drawable-mdpi/location_map.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
mobile/res/drawable-mdpi/navigation_refresh.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
mobile/res/drawable-mdpi/social_group.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
mobile/res/drawable-xhdpi/action_about.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
mobile/res/drawable-xhdpi/action_help.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
mobile/res/drawable-xhdpi/action_search.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
mobile/res/drawable-xhdpi/av_full_screen.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
mobile/res/drawable-xhdpi/content_remove.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
mobile/res/drawable-xhdpi/device_access_location_found.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
mobile/res/drawable-xhdpi/device_access_location_off.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
mobile/res/drawable-xhdpi/device_access_location_searching.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.8 KiB |
BIN
mobile/res/drawable-xhdpi/location_map.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
mobile/res/drawable-xhdpi/navigation_refresh.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
mobile/res/drawable-xhdpi/social_group.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
@ -1,7 +1,7 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical" >
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.cradle.iitc_mobile.IITC_WebView
|
||||
android:id="@+id/iitc_webview"
|
||||
|
@ -1,35 +1,95 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:id="@+id/reload_button"
|
||||
android:icon="@drawable/ic_menu_refresh"
|
||||
android:orderInCategory="90"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/reload"></item>
|
||||
|
||||
<item android:id="@+id/settings"
|
||||
android:orderInCategory="120"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_settings"></item>
|
||||
|
||||
<item android:id="@+id/cache_clear"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/cache_clear"></item>
|
||||
|
||||
<item android:id="@+id/toggle_fullscreen"
|
||||
<item
|
||||
android:id="@+id/menu_map"
|
||||
android:icon="@drawable/location_map"
|
||||
android:orderInCategory="20"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/menu_map">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_info"
|
||||
android:icon="@drawable/action_about"
|
||||
android:orderInCategory="30"
|
||||
android:showAsAction="always"
|
||||
android:title="@string/menu_info">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_chat"
|
||||
android:icon="@drawable/social_group"
|
||||
android:showAsAction="always"
|
||||
android:orderInCategory="35"
|
||||
android:title="@string/menu_chat">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/menu_full"
|
||||
android:orderInCategory="40"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/menu_full">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_compact"
|
||||
android:orderInCategory="50"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/menu_compact">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_public"
|
||||
android:orderInCategory="60"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/menu_public">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_faction"
|
||||
android:orderInCategory="70"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/menu_faction">
|
||||
</item>
|
||||
</menu>
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/locate"
|
||||
android:icon="@drawable/device_access_location_found"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/toggle_fullscreen"
|
||||
android:icon="@android:drawable/ic_menu_zoom"></item>
|
||||
|
||||
<item android:id="@+id/locate"
|
||||
android:icon="@android:drawable/ic_menu_mylocation"
|
||||
android:orderInCategory="80"
|
||||
android:title="@string/locate">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/menu_settings"
|
||||
android:icon="@drawable/action_settings"
|
||||
android:orderInCategory="130"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/locate"></item>
|
||||
android:title="@string/action_settings">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/reload_button"
|
||||
android:icon="@drawable/navigation_refresh"
|
||||
android:orderInCategory="110"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/reload">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/toggle_fullscreen"
|
||||
android:icon="@drawable/av_full_screen"
|
||||
android:orderInCategory="120"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/toggle_fullscreen">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:icon="@drawable/action_settings"
|
||||
android:orderInCategory="130"
|
||||
android:showAsAction="ifRoom"
|
||||
android:title="@string/action_settings">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/cache_clear"
|
||||
android:icon="@drawable/content_remove"
|
||||
android:orderInCategory="200"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/cache_clear">
|
||||
</item>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item android:id="@+id/info"
|
||||
android:orderInCategory="160"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_info"></item>
|
||||
|
||||
</menu>
|
@ -3,7 +3,6 @@
|
||||
|
||||
<string name="app_name">IITC mobile</string>
|
||||
<string name="action_settings">Settings</string>
|
||||
<string name="action_info">Info</string>
|
||||
<string name="reload">Reload IITC</string>
|
||||
<string name="version">Print Version</string>
|
||||
<string name="cache_clear">Clear Cache</string>
|
||||
@ -46,5 +45,12 @@
|
||||
<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_select_iitc">IITC source</string>
|
||||
|
||||
|
||||
<string name="menu_chat">Chat</string>
|
||||
<string name="menu_map">Map</string>
|
||||
<string name="menu_full">Full</string>
|
||||
<string name="menu_compact">Compact</string>
|
||||
<string name="menu_public">Public</string>
|
||||
<string name="menu_faction">Faction</string>
|
||||
<string name="menu_info">Info</string>
|
||||
</resources>
|