|
|
|
@ -18,15 +18,28 @@
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
tools:context=".MainActivity">
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionAdd"
|
|
|
|
|
android:icon="?iconAdd"
|
|
|
|
|
android:title="@string/add_habit"
|
|
|
|
|
app:showAsAction="always"/>
|
|
|
|
|
app:showAsAction="always">
|
|
|
|
|
|
|
|
|
|
<menu android:id="@+id/createHabitMenu">
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionCreateBooleanHabit"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:title="@string/yes_or_no" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionCreateNumeralHabit"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:title="@string/number" />
|
|
|
|
|
</menu>
|
|
|
|
|
</item>
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/action_filter"
|
|
|
|
@ -38,31 +51,31 @@
|
|
|
|
|
android:id="@+id/actionHideArchived"
|
|
|
|
|
android:checkable="true"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:title="@string/hide_archived"/>
|
|
|
|
|
android:title="@string/hide_archived" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionHideCompleted"
|
|
|
|
|
android:checkable="true"
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:title="@string/hide_completed"/>
|
|
|
|
|
android:title="@string/hide_completed" />
|
|
|
|
|
|
|
|
|
|
<item android:title="@string/sort">
|
|
|
|
|
<menu>
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionSortManual"
|
|
|
|
|
android:title="@string/manually"/>
|
|
|
|
|
android:title="@string/manually" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionSortName"
|
|
|
|
|
android:title="@string/by_name"/>
|
|
|
|
|
android:title="@string/by_name" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionSortColor"
|
|
|
|
|
android:title="@string/by_color"/>
|
|
|
|
|
android:title="@string/by_color" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionSortScore"
|
|
|
|
|
android:title="@string/by_score"/>
|
|
|
|
|
android:title="@string/by_score" />
|
|
|
|
|
</menu>
|
|
|
|
|
</item>
|
|
|
|
|
</menu>
|
|
|
|
@ -74,23 +87,23 @@
|
|
|
|
|
android:enabled="true"
|
|
|
|
|
android:orderInCategory="50"
|
|
|
|
|
android:title="@string/night_mode"
|
|
|
|
|
app:showAsAction="never"/>
|
|
|
|
|
app:showAsAction="never" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionSettings"
|
|
|
|
|
android:orderInCategory="100"
|
|
|
|
|
android:title="@string/action_settings"
|
|
|
|
|
app:showAsAction="never"/>
|
|
|
|
|
app:showAsAction="never" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionFAQ"
|
|
|
|
|
android:orderInCategory="100"
|
|
|
|
|
android:title="@string/help"
|
|
|
|
|
app:showAsAction="never"/>
|
|
|
|
|
app:showAsAction="never" />
|
|
|
|
|
|
|
|
|
|
<item
|
|
|
|
|
android:id="@+id/actionAbout"
|
|
|
|
|
android:orderInCategory="100"
|
|
|
|
|
android:title="@string/about"
|
|
|
|
|
app:showAsAction="never"/>
|
|
|
|
|
app:showAsAction="never" />
|
|
|
|
|
</menu>
|
|
|
|
|