Menu xmls fixed

This commit is contained in:
serso 2015-01-31 20:32:41 +01:00
parent c380dc82e3
commit 3b7448d1c3
2 changed files with 40 additions and 38 deletions

View File

@ -22,18 +22,19 @@
~ Site: http://se.solovyev.org ~ Site: http://se.solovyev.org
--> -->
<menu xmlns:a="http://schemas.android.com/apk/res/android"> <menu xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
a:id="@+id/menu_history_fullscreen" a:id="@+id/menu_history_fullscreen"
a:title="@string/cpp_fullscreen" a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand" a:icon="@drawable/ab_expand"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_history_toggle_datetime" a:id="@+id/menu_history_toggle_datetime"
a:icon="@drawable/ic_access_time_grey600_48dp" a:icon="@drawable/ic_access_time_grey600_48dp"
a:title="@string/c_toggle_datetime" a:title="@string/c_toggle_datetime"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
</menu> </menu>

View File

@ -22,48 +22,49 @@
~ Site: http://se.solovyev.org ~ Site: http://se.solovyev.org
--> -->
<menu xmlns:a="http://schemas.android.com/apk/res/android"> <menu xmlns:a="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item <item
a:id="@+id/menu_plot_2d" a:id="@+id/menu_plot_2d"
a:title="@string/cpp_plot_2d" a:title="@string/cpp_plot_2d"
a:icon="@drawable/ab_stats" a:icon="@drawable/ab_stats"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_3d" a:id="@+id/menu_plot_3d"
a:title="@string/cpp_plot_3d" a:title="@string/cpp_plot_3d"
a:icon="@drawable/ab_stats_3d" a:icon="@drawable/ab_stats_3d"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_fullscreen" a:id="@+id/menu_plot_fullscreen"
a:title="@string/cpp_fullscreen" a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand" a:icon="@drawable/ab_expand"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_range" a:id="@+id/menu_plot_range"
a:title="@string/cpp_plot_range" a:title="@string/cpp_plot_range"
a:icon="@drawable/ab_range" a:icon="@drawable/ab_range"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_functions" a:id="@+id/menu_plot_functions"
a:title="@string/cpp_plot_functions" a:title="@string/cpp_plot_functions"
a:icon="@drawable/ab_menu" a:icon="@drawable/ab_menu"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_schreeshot" a:id="@+id/menu_plot_schreeshot"
a:title="@string/cpp_plot_screenshot" a:title="@string/cpp_plot_screenshot"
a:icon="@drawable/ab_disk" a:icon="@drawable/ab_disk"
a:showAsAction="always"/> app:showAsAction="ifRoom" />
<item <item
a:id="@+id/menu_plot_settings" a:id="@+id/menu_plot_settings"
a:title="@string/c_settings" a:title="@string/c_settings"
a:icon="@drawable/ab_settings" a:icon="@drawable/ab_settings"
a:showAsAction="ifRoom"/> app:showAsAction="ifRoom" />
</menu> </menu>