1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00

Remove submenu from the account context menu

There seems to be a bug in Android that makes submenus inaccessible on
some devices, e.g. the Samsung Galaxy S2.
https://code.google.com/p/android/issues/detail?id=53239
This commit is contained in:
cketti 2013-06-13 02:48:01 +02:00
parent 6a6bb95ad4
commit 08e249a2e9
2 changed files with 10 additions and 20 deletions

View File

@ -6,19 +6,14 @@
android:title="@string/manage_accounts_move_down_action" />
<item android:id="@+id/account_settings"
android:title="@string/account_settings_action" />
<item android:id="@+id/advanced"
android:title="@string/advanced">
<menu>
<item android:id="@+id/delete_account"
android:title="@string/remove_account_action" />
<item android:id="@+id/clear"
android:title="@string/clear_action" />
<item android:id="@+id/recreate"
android:title="@string/recreate_action" />
<item android:id="@+id/delete_account"
android:title="@string/remove_account_action" />
<item android:id="@+id/clear_pending"
android:title="@string/clear_pending_action" />
<item android:id="@+id/export"
android:title="@string/settings_export_account" />
</menu>
</item>
</menu>

View File

@ -3,17 +3,12 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/activate"
android:title="@string/activate_account_action" />
<item android:id="@+id/advanced"
android:title="@string/advanced">
<menu>
<item android:id="@+id/delete_account"
android:title="@string/remove_account_action" />
<item android:id="@+id/export"
android:title="@string/settings_export_account" />
<item android:id="@+id/move_up"
android:title="@string/manage_accounts_move_up_action" />
<item android:id="@+id/move_down"
android:title="@string/manage_accounts_move_down_action" />
</menu>
</item>
<item android:id="@+id/move_up"
android:title="@string/manage_accounts_move_up_action" />
<item android:id="@+id/move_down"
android:title="@string/manage_accounts_move_down_action" />
<item android:id="@+id/delete_account"
android:title="@string/remove_account_action" />
<item android:id="@+id/export"
android:title="@string/settings_export_account" />
</menu>