mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-10 02:58:51 -06:00
Add simple filter to menu
This commit is contained in:
@@ -29,19 +29,31 @@
|
||||
app:showAsAction="ifRoom"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_show_archived"
|
||||
android:checkable="true"
|
||||
android:enabled="true"
|
||||
android:title="@string/show_archived"
|
||||
android:orderInCategory="0"
|
||||
app:showAsAction="never"/>
|
||||
android:id="@+id/action_filter"
|
||||
android:icon="?iconFilter"
|
||||
android:title="@string/filter"
|
||||
app:showAsAction="ifRoom">
|
||||
<menu>
|
||||
<item
|
||||
android:id="@+id/action_show_archived"
|
||||
android:checkable="true"
|
||||
android:enabled="true"
|
||||
android:title="@string/show_archived"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/actionShowCompleted"
|
||||
android:checkable="true"
|
||||
android:enabled="true"
|
||||
android:title="@string/show_completed"/>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_night_mode"
|
||||
android:checkable="true"
|
||||
android:enabled="true"
|
||||
android:title="@string/night_mode"
|
||||
android:orderInCategory="50"
|
||||
android:title="@string/night_mode"
|
||||
app:showAsAction="never"/>
|
||||
|
||||
<item
|
||||
Reference in New Issue
Block a user