aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-15 21:09:22 +0100
committerChristian Schneppe <christian@pix-art.de>2019-02-08 14:09:53 +0100
commit05476102032e921b76db1ad9805b238d0355e94a (patch)
tree8426dcca441cd15cddaa9af6091b89df5317a9b6 /src/main/res
parent141a37a7c8691828ba1d2e028998897e2467f868 (diff)
implement adhoc invite links if server supports this
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/activity_edit_account.xml22
-rw-r--r--src/main/res/values/strings.xml1
2 files changed, 23 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index 30ae5b192..6aced7fd3 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -520,6 +520,28 @@
</TableRow>
<TableRow
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="end"
+ android:singleLine="true"
+ android:text="@string/server_info_adhoc_invite"
+ android:textAppearance="@style/TextAppearance.Conversations.Body1" />
+
+ <TextView
+ android:id="@+id/server_info_adhoc_invite"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end"
+ android:paddingStart="4dp"
+ android:paddingLeft="4dp"
+ android:textAppearance="@style/TextAppearance.Conversations.Body1" />
+ </TableRow>
+
+ <TableRow
android:id="@+id/push_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index e80438379..c7b8f70c7 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -859,4 +859,5 @@
<string name="autojoin_groupchat">Automatically join this group chat</string>
<string name="pref_play_gif_inside">Play GIF files in chat</string>
<string name="pref_play_gif_inside_summary">Setting this to true plays GIF files directly inside the chat view.</string>
+ <string name="server_info_adhoc_invite">XEP-0050: Ad-Hoc Commands: user invite</string>
</resources>