diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2022-08-25 20:22:40 +0300 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2022-08-25 20:22:40 +0300 |
commit | e439c223ee07e8ee10394db601cad43320c000e9 (patch) | |
tree | ca29209c9f93f5f76b07e0b7408e4f7fa60775cd /src/main/res | |
parent | ddd08bfe5fb16125306a5d59f43535af80d96383 (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.xml | 10 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 |
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> |