aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-06 15:34:08 +0200
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-04-06 15:34:08 +0200
commitc30bf75a5d77fab21480e04ce18b46d6b2826295 (patch)
treeb0eed8c7cf56483c90047eb92f53e18d9a1a6f51 /res/layout
parent9fc7a1b980863955a139193ded0fef5edfbad296 (diff)
gui for images
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/message_recieved.xml8
-rw-r--r--res/layout/message_sent.xml8
2 files changed, 16 insertions, 0 deletions
diff --git a/res/layout/message_recieved.xml b/res/layout/message_recieved.xml
index 65a9cd29..62f4f00a 100644
--- a/res/layout/message_recieved.xml
+++ b/res/layout/message_recieved.xml
@@ -21,6 +21,14 @@
android:orientation="vertical"
android:padding="5dp" >
+ <ImageView
+ android:id="@+id/message_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:maxHeight="300dp"
+ />
+
<TextView
android:id="@+id/message_body"
android:layout_width="wrap_content"
diff --git a/res/layout/message_sent.xml b/res/layout/message_sent.xml
index 7d2cb8d7..28190821 100644
--- a/res/layout/message_sent.xml
+++ b/res/layout/message_sent.xml
@@ -19,6 +19,14 @@
android:background="#ededed"
android:orientation="vertical"
android:padding="5dp" >
+
+ <ImageView
+ android:id="@+id/message_image"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:adjustViewBounds="true"
+ android:maxHeight="300dp"
+ />
<TextView
android:id="@+id/message_body"