diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-09-18 23:21:05 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-09-18 23:21:05 +0200 |
commit | 7eac9032773566b82db0646a5ef3323a5bbd2add (patch) | |
tree | 483d52b3ee3faff8055767dd707dd87a5d1a2607 /src/main/res | |
parent | badc97e2806755e9811f1c0bc3d803c0bddb7be7 (diff) |
add support for XEP-0377: Spam Reporting
Diffstat (limited to '')
-rw-r--r-- | src/main/res/layout/dialog_block_contact.xml | 25 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/src/main/res/layout/dialog_block_contact.xml b/src/main/res/layout/dialog_block_contact.xml new file mode 100644 index 00000000..b3615533 --- /dev/null +++ b/src/main/res/layout/dialog_block_contact.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:paddingLeft="?attr/dialog_horizontal_padding" + android:paddingRight="?attr/dialog_horizontal_padding" + android:paddingBottom="?attr/dialog_vertical_padding" + android:paddingTop="?attr/dialog_vertical_padding"> + + <TextView + android:id="@+id/text" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textSize="?attr/TextSizeBody" + android:textColor="@color/black87"/> + <CheckBox + android:layout_marginTop="8dp" + android:id="@+id/report_spam" + android:layout_width="wrap_content" + android:textColor="?attr/color_text_primary" + android:layout_height="wrap_content" + android:text="@string/report_jid_as_spammer" /> + +</LinearLayout>
\ No newline at end of file diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 22d89a81..e53742e9 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -686,4 +686,5 @@ <string name="missing_keys_from_x">Missing OMEMO keys from %s.</string> <string name="wrong_conference_configuration">This is not a private, non-anonymous conference.</string> <string name="this_conference_has_no_members">There are no members in this conference.</string> + <string name="report_jid_as_spammer">Report this JID as sending unwanted messages.</string> </resources> |