aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/activity_media_browser.xml9
-rw-r--r--src/main/res/menu/fragment_conversation.xml6
-rw-r--r--src/main/res/values/strings.xml1
3 files changed, 16 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_media_browser.xml b/src/main/res/layout/activity_media_browser.xml
index 0a28968ed..e94fc97e6 100644
--- a/src/main/res/layout/activity_media_browser.xml
+++ b/src/main/res/layout/activity_media_browser.xml
@@ -20,5 +20,14 @@
android:padding="2dp"
android:scrollbars="vertical" />
+ <TextView
+ android:id="@+id/no_media"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:padding="8dp"
+ android:text="@string/no_attachments"
+ android:textAlignment="center"
+ android:textAppearance="@style/TextAppearance.Conversations.Body1" />
</LinearLayout>
</layout> \ No newline at end of file
diff --git a/src/main/res/menu/fragment_conversation.xml b/src/main/res/menu/fragment_conversation.xml
index 088501bcb..14a3ecbc6 100644
--- a/src/main/res/menu/fragment_conversation.xml
+++ b/src/main/res/menu/fragment_conversation.xml
@@ -95,4 +95,10 @@
android:orderInCategory="100"
android:title="@string/action_contact_details"
app:showAsAction="always" />
+ <item
+ android:id="@+id/action_mediabrowser"
+ android:icon="@drawable/ic_image_white_24dp"
+ android:orderInCategory="100"
+ android:title="@string/media_browser"
+ app:showAsAction="always" />
</menu> \ No newline at end of file
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index 45f771e8a..062ab3766 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -880,4 +880,5 @@
<string name="destroy_channel_failed">Channel could not be destroyed</string>
<string name="action_end_conversation_channel">Leave channel</string>
<string name="autojoin_channel">Automatically join this channel</string>
+ <string name="no_attachments">There are no attachments</string>
</resources>