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
-->
<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
a:id="@+id/menu_history_fullscreen"
a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand"
a:showAsAction="always"/>
a:id="@+id/menu_history_fullscreen"
a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_history_toggle_datetime"
a:icon="@drawable/ic_access_time_grey600_48dp"
a:title="@string/c_toggle_datetime"
a:showAsAction="always"/>
a:id="@+id/menu_history_toggle_datetime"
a:icon="@drawable/ic_access_time_grey600_48dp"
a:title="@string/c_toggle_datetime"
app:showAsAction="ifRoom" />
</menu>

View File

@ -22,48 +22,49 @@
~ 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
a:id="@+id/menu_plot_2d"
a:title="@string/cpp_plot_2d"
a:icon="@drawable/ab_stats"
a:showAsAction="always"/>
a:id="@+id/menu_plot_2d"
a:title="@string/cpp_plot_2d"
a:icon="@drawable/ab_stats"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_3d"
a:title="@string/cpp_plot_3d"
a:icon="@drawable/ab_stats_3d"
a:showAsAction="always"/>
a:id="@+id/menu_plot_3d"
a:title="@string/cpp_plot_3d"
a:icon="@drawable/ab_stats_3d"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_fullscreen"
a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand"
a:showAsAction="always"/>
a:id="@+id/menu_plot_fullscreen"
a:title="@string/cpp_fullscreen"
a:icon="@drawable/ab_expand"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_range"
a:title="@string/cpp_plot_range"
a:icon="@drawable/ab_range"
a:showAsAction="always"/>
a:id="@+id/menu_plot_range"
a:title="@string/cpp_plot_range"
a:icon="@drawable/ab_range"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_functions"
a:title="@string/cpp_plot_functions"
a:icon="@drawable/ab_menu"
a:showAsAction="always"/>
a:id="@+id/menu_plot_functions"
a:title="@string/cpp_plot_functions"
a:icon="@drawable/ab_menu"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_schreeshot"
a:title="@string/cpp_plot_screenshot"
a:icon="@drawable/ab_disk"
a:showAsAction="always"/>
a:id="@+id/menu_plot_schreeshot"
a:title="@string/cpp_plot_screenshot"
a:icon="@drawable/ab_disk"
app:showAsAction="ifRoom" />
<item
a:id="@+id/menu_plot_settings"
a:title="@string/c_settings"
a:icon="@drawable/ab_settings"
a:showAsAction="ifRoom"/>
a:id="@+id/menu_plot_settings"
a:title="@string/c_settings"
a:icon="@drawable/ab_settings"
app:showAsAction="ifRoom" />
</menu>