Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNPUTmice/Conversations.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2022-08-25 20:22:40 +0300
committerDaniel Gultsch <daniel@gultsch.de>2022-08-25 20:22:40 +0300
commite439c223ee07e8ee10394db601cad43320c000e9 (patch)
treeca29209c9f93f5f76b07e0b7408e4f7fa60775cd /src/main/res
parentddd08bfe5fb16125306a5d59f43535af80d96383 (diff)
add overflow menu action to delete own avatar
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/menu/activity_publish_profile_picture.xml10
-rw-r--r--src/main/res/values/strings.xml1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/main/res/menu/activity_publish_profile_picture.xml b/src/main/res/menu/activity_publish_profile_picture.xml
new file mode 100644
index 000000000..bcfb99ae8
--- /dev/null
+++ b/src/main/res/menu/activity_publish_profile_picture.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <item
+ android:id="@+id/action_delete_avatar"
+ android:title="@string/delete_avatar"
+ app:showAsAction="never" />
+</menu> \ No newline at end of file
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 299c57b33..53fb4871d 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -979,5 +979,6 @@
<string name="account_registrations_are_not_supported">Account registrations are not supported</string>
<string name="no_xmpp_adddress_found">No XMPP address found</string>
<string name="account_status_temporary_auth_failure">Temporary authentication failure</string>
+ <string name="delete_avatar">Delete avatar</string>
</resources>