Added menu messages dividers

This commit is contained in:
M66B 2021-08-17 22:04:13 +02:00
parent ff961e1153
commit de787995f5
2 changed files with 58 additions and 52 deletions

View File

@ -4264,6 +4264,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
});
MenuCompat.setGroupDividerEnabled(menu, true);
super.onCreateOptionsMenu(menu, inflater);
}

View File

@ -107,66 +107,70 @@
</menu>
</item>
<item
android:id="@+id/menu_zoom"
android:icon="@drawable/twotone_format_size_24"
android:title="@string/title_zoom"
app:showAsAction="ifRoom" />
<group android:id="@+id/group_appearance">
<item
android:id="@+id/menu_zoom"
android:icon="@drawable/twotone_format_size_24"
android:title="@string/title_zoom"
app:showAsAction="ifRoom" />
<item
android:id="@+id/menu_compact"
android:checkable="true"
android:title="@string/title_compact"
app:showAsAction="never" />
<item
android:id="@+id/menu_compact"
android:checkable="true"
android:title="@string/title_compact"
app:showAsAction="never" />
<item
android:id="@+id/menu_theme"
android:title="@string/title_setup_theme"
app:showAsAction="never">
<menu />
</item>
<item
android:id="@+id/menu_theme"
android:title="@string/title_setup_theme"
app:showAsAction="never">
<menu />
</item>
</group>
<item
android:id="@+id/menu_select_all"
android:title="@string/title_select_all"
app:showAsAction="never" />
<group android:id="@+id/group_operations">
<item
android:id="@+id/menu_select_all"
android:title="@string/title_select_all"
app:showAsAction="never" />
<item
android:id="@+id/menu_select_found"
android:title="@string/title_select_found"
app:showAsAction="never" />
<item
android:id="@+id/menu_select_found"
android:title="@string/title_select_found"
app:showAsAction="never" />
<item
android:id="@+id/menu_mark_all_read"
android:title="@string/title_mark_all_read"
app:showAsAction="never" />
<item
android:id="@+id/menu_mark_all_read"
android:title="@string/title_mark_all_read"
app:showAsAction="never" />
<item
android:id="@+id/menu_view_thread"
android:title="@string/title_view_thread"
app:showAsAction="never" />
<item
android:id="@+id/menu_view_thread"
android:title="@string/title_view_thread"
app:showAsAction="never" />
<item
android:id="@+id/menu_sync_more"
android:title="@string/title_synchronize_more"
app:showAsAction="never">
<menu />
</item>
<item
android:id="@+id/menu_sync_more"
android:title="@string/title_synchronize_more"
app:showAsAction="never">
<menu />
</item>
<item
android:id="@+id/menu_force_sync"
android:title="@string/title_force_sync"
app:showAsAction="never" />
<item
android:id="@+id/menu_force_sync"
android:title="@string/title_force_sync"
app:showAsAction="never" />
<item
android:id="@+id/menu_force_send"
android:title="@string/title_force_send"
app:showAsAction="never" />
<item
android:id="@+id/menu_force_send"
android:title="@string/title_force_send"
app:showAsAction="never" />
<item
android:id="@+id/menu_edit_properties"
android:title="@string/title_edit_properties"
app:showAsAction="never">
<menu />
</item>
<item
android:id="@+id/menu_edit_properties"
android:title="@string/title_edit_properties"
app:showAsAction="never">
<menu />
</item>
</group>
</menu>