diff --git a/app/src/main/res/menu/list_habits_menu.xml b/app/src/main/res/menu/list_habits_menu.xml index 408bae45e..c87717e70 100644 --- a/app/src/main/res/menu/list_habits_menu.xml +++ b/app/src/main/res/menu/list_habits_menu.xml @@ -1,16 +1,18 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + tools:context="org.isoron.uhabits.MainActivity"> - + + android:title="@string/action_settings" + app:showAsAction="never"/> diff --git a/app/src/main/res/menu/list_habits_options.xml b/app/src/main/res/menu/list_habits_options.xml index c00cdabe0..f2b377ccd 100644 --- a/app/src/main/res/menu/list_habits_options.xml +++ b/app/src/main/res/menu/list_habits_options.xml @@ -1,9 +1,12 @@ - + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + tools:context="org.isoron.uhabits.MainActivity"> + + android:icon="@drawable/ic_action_add" + android:title="@string/add_habit" + app:showAsAction="always"/> diff --git a/app/src/main/res/menu/show_habit_activity_menu.xml b/app/src/main/res/menu/show_habit_activity_menu.xml index 923f4f112..7d2a0cf17 100644 --- a/app/src/main/res/menu/show_habit_activity_menu.xml +++ b/app/src/main/res/menu/show_habit_activity_menu.xml @@ -1,12 +1,12 @@ - + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + tools:context="org.isoron.uhabits.ShowHabitActivity"> + android:title="@string/action_settings" + app:showAsAction="never"/> diff --git a/app/src/main/res/menu/show_habit_fragment_menu.xml b/app/src/main/res/menu/show_habit_fragment_menu.xml index d77372b2c..af9863c3a 100644 --- a/app/src/main/res/menu/show_habit_fragment_menu.xml +++ b/app/src/main/res/menu/show_habit_fragment_menu.xml @@ -1,10 +1,11 @@ - + + android:title="@string/edit" + app:showAsAction="ifRoom"/> \ No newline at end of file