diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 21:44:16 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-02-04 21:44:16 +0100 |
commit | 4fd8620c6cc1ca88c4496671e6e59c40aba93019 (patch) | |
tree | 1e5063ec85002960036e39071ae210903167b7d5 /res/menu | |
parent | 0d80d88736926d06e97f22f9ecc63d4fb696751c (diff) |
allow to temporarily disable accounts
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/manageaccounts.xml | 3 | ||||
-rw-r--r-- | res/menu/manageaccounts_context.xml | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/res/menu/manageaccounts.xml b/res/menu/manageaccounts.xml index 63441919e..1d81ba3c6 100644 --- a/res/menu/manageaccounts.xml +++ b/res/menu/manageaccounts.xml @@ -2,7 +2,8 @@ <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/action_add_account" android:showAsAction="always" - android:title="@string/action_add_account"/> + android:title="@string/action_add_account" + android:icon="@drawable/ic_action_add_person"/> <item android:id="@+id/action_settings" android:orderInCategory="100" diff --git a/res/menu/manageaccounts_context.xml b/res/menu/manageaccounts_context.xml new file mode 100644 index 000000000..30ba747d0 --- /dev/null +++ b/res/menu/manageaccounts_context.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<menu xmlns:android="http://schemas.android.com/apk/res/android" > + <item android:icon="@drawable/ic_action_delete" + android:title="Delete" + android:showAsAction="always" + /> + <item + android:id="@+id/account_disable" + android:title="Temporarily disable" + android:showAsAction="always"/> + <item + android:id="@+id/account_enable" + android:title="Enable" + android:showAsAction="always" + android:visible="false"/> + +</menu> |