aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2015-01-21 17:24:02 +0100
committeriNPUTmice <daniel@gultsch.de>2015-01-21 17:24:02 +0100
commit4e50098e319b9ccd65801acf1774bc6212b75621 (patch)
treede61bd47acac7fb3cde2faa902f14f2fda1d1d2d /src/main/res
parent2dc69eea682997229b632f9009facd21b85b47f5 (diff)
show checkbox to hide offline contacts
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/menu/start_conversation.xml8
-rw-r--r--src/main/res/values/strings.xml1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/main/res/menu/start_conversation.xml b/src/main/res/menu/start_conversation.xml
index 2c23af591..3dd09e90d 100644
--- a/src/main/res/menu/start_conversation.xml
+++ b/src/main/res/menu/start_conversation.xml
@@ -21,6 +21,14 @@
android:id="@+id/action_scan_qr_code"
android:showAsAction="never"
android:title="@string/scan_qr_code" />
+
+ <item
+ android:id="@+id/action_hide_offline"
+ android:checkable="true"
+ android:checked="false"
+ android:orderInCategory="85"
+ android:showAsAction="never"
+ android:title="@string/hide_offline"/>
<item
android:id="@+id/action_accounts"
android:orderInCategory="90"
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index dc4c1bdbb..3d3d69a3e 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -443,4 +443,5 @@
<string name="avatar_has_been_published">Avatar has been published!</string>
<string name="sending_x_file">Sending %s</string>
<string name="offering_x_file">Offering %s</string>
+ <string name="hide_offline">Hide offline</string>
</resources>