diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-15 14:31:43 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-04-16 08:49:21 +0200 |
commit | 5306ecda9ceb5f9702c2ce6dc6207a3bd5f14a6a (patch) | |
tree | dc425f959f063e7c51b08b38ff4a3db2f62f4868 /android | |
parent | 40f30020b9e91d15c4d90e53b1d2e41770fbc58c (diff) |
android: Allow printing and PDF export regardless of mode
Don't only enable the "Export To PDF" and "Print" menu
items if the experimental editing mode is enabled, but
always offer them, since they should be sufficiently stable
and don't require any editing of the document.
To do so, move them into a new menu group
"group_misc_actions", and move the entry for sending
UNO commands up, so it remains in the
"group_edit_actions" menu group whose entries are
hidden unless editing mode is enabled.
Change-Id: I425cf6d0a45306ff48b45dad6fd0e804b87a2546
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114147
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/res/menu/main.xml | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/android/source/res/menu/main.xml b/android/source/res/menu/main.xml index 94856d52e759..0570a77fdd7b 100644 --- a/android/source/res/menu/main.xml +++ b/android/source/res/menu/main.xml @@ -31,6 +31,9 @@ android:orderInCategory="100" app:showAsAction="always"/> + <item android:id="@+id/action_UNO_commands" + android:title="@string/action_UNO_commands" + android:orderInCategory="100" /> <item android:id="@+id/action_save" android:title="@string/action_save" @@ -39,6 +42,11 @@ <item android:id="@+id/action_save_as" android:title="@string/action_save_as" android:orderInCategory="100" /> + </group> + + <group android:id="@+id/group_misc_actions" + tools:visible="true" + android:visible="false"> <item android:id="@+id/action_exportToPDF" android:title="@string/action_exportToPDF" @@ -51,9 +59,6 @@ android:orderInCategory="100" android:visible="true" /> - <item android:id="@+id/action_UNO_commands" - android:title="@string/action_UNO_commands" - android:orderInCategory="100" /> </group> <group android:id="@+id/group_spreadsheet_options" |