mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Reorder style menu
This commit is contained in:
parent
1238873b63
commit
7096f66504
2 changed files with 14 additions and 14 deletions
|
@ -142,6 +142,8 @@ public class StyleHelper {
|
|||
return setSize(item);
|
||||
} else if (groupId == R.id.group_style_color) {
|
||||
return setColor(item);
|
||||
} else if (groupId == R.id.group_style_font) {
|
||||
return setFont(item);
|
||||
} else if (groupId == R.id.group_style_align) {
|
||||
return setAlignment(item);
|
||||
} else if (groupId == R.id.group_style_list) {
|
||||
|
@ -150,8 +152,6 @@ public class StyleHelper {
|
|||
return setListLevel(item);
|
||||
else
|
||||
return setList(item);
|
||||
} else if (groupId == R.id.group_style_font) {
|
||||
return setFont(item);
|
||||
} else if (groupId == R.id.group_style_blockquote) {
|
||||
return setBlockQuote(item);
|
||||
} else if (groupId == R.id.group_style_strikethrough) {
|
||||
|
|
|
@ -31,10 +31,20 @@
|
|||
android:title="@string/title_style_color" />
|
||||
</group>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_style_font"
|
||||
android:icon="@drawable/twotone_title_24"
|
||||
android:orderInCategory="3"
|
||||
android:title="@string/title_style_font">
|
||||
<menu>
|
||||
<group android:id="@+id/group_style_font" />
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_style_align"
|
||||
android:icon="@drawable/twotone_format_align_center_24"
|
||||
android:orderInCategory="3"
|
||||
android:orderInCategory="4"
|
||||
android:title="@string/title_style_align">
|
||||
<menu>
|
||||
<group android:id="@+id/group_style_align">
|
||||
|
@ -59,7 +69,7 @@
|
|||
<item
|
||||
android:id="@+id/menu_style_list"
|
||||
android:icon="@drawable/twotone_format_list_bulleted_24"
|
||||
android:orderInCategory="4"
|
||||
android:orderInCategory="5"
|
||||
android:title="@string/title_style_list">
|
||||
<menu>
|
||||
<group android:id="@+id/group_style_list">
|
||||
|
@ -83,16 +93,6 @@
|
|||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/menu_style_font"
|
||||
android:icon="@drawable/twotone_title_24"
|
||||
android:orderInCategory="5"
|
||||
android:title="@string/title_style_font">
|
||||
<menu>
|
||||
<group android:id="@+id/group_style_font" />
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<group
|
||||
android:id="@+id/group_style_blockquote"
|
||||
android:orderInCategory="6">
|
||||
|
|
Loading…
Reference in a new issue