summaryrefslogtreecommitdiff
path: root/android/source/res
diff options
context:
space:
mode:
authorMert Tumer <merttumer@outlook.com>2018-07-29 09:04:14 -0700
committerTomaž Vajngerl <quikee@gmail.com>2018-07-31 13:38:03 +0200
commitcc61683a0e1dd67e838538a432b961322e5832be (patch)
tree3f24d6283d83fd0d43b083487f53ccec7de7dddf /android/source/res
parentbaac334dd2a8425714b0706ab764b6f00e83a65c (diff)
Setting visibility of menu items instead of disabling or enabling them
On Android Viewer Signed-off-by: Mert Tumer <merttumer@outlook.com> Change-Id: I1fc21f84f5063afe3b91bf26401f9fcacc66b6c8 Reviewed-on: https://gerrit.libreoffice.org/58285 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'android/source/res')
-rw-r--r--android/source/res/menu/main.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/android/source/res/menu/main.xml b/android/source/res/menu/main.xml
index 92b40c250aaa..764e6e7f97c8 100644
--- a/android/source/res/menu/main.xml
+++ b/android/source/res/menu/main.xml
@@ -43,12 +43,12 @@
<item android:id="@+id/action_add_slide"
android:title="@string/action_add_slide"
android:orderInCategory="100"
- android:enabled="false" />
+ android:visible="false" />
<item android:id="@+id/action_add_worksheet"
android:title="@string/action_add_worksheet"
android:orderInCategory="100"
- android:enabled="false" />
+ android:visible="false" />
</group>
<group android:id="@+id/group_edit_clipboard"
@@ -90,7 +90,7 @@
<item android:id="@+id/action_presentation"
android:title="@string/action_presentation"
android:orderInCategory="100"
- android:enabled="false" />
+ android:visible="false" />
<item android:id="@+id/action_parts"
android:title="@string/action_parts"