aboutsummaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-06-04 21:40:17 +0200
committeriNPUTmice <daniel@gultsch.de>2014-06-04 21:40:17 +0200
commit83e919f8afbb167b7e32e9e9ff246d09e291b58b (patch)
tree16eb6bbaca17d91dee34c9d03d8b78dd63b3caf9 /res/layout
parentdc50e0a7e3cbddd01e4c3e8c5179324085abf4ca (diff)
experimental gui to display read status
Diffstat (limited to '')
-rw-r--r--res/layout/message_status.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/res/layout/message_status.xml b/res/layout/message_status.xml
new file mode 100644
index 00000000..fd8890ea
--- /dev/null
+++ b/res/layout/message_status.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:paddingRight="6dp"
+ android:paddingLeft="24dp">
+
+ <LinearLayout
+ android:id="@+id/linearLayout1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentBottom="true"
+ android:layout_toRightOf="@+id/message_photo"
+ android:background="@drawable/message_border"
+ android:minHeight="dp"
+ android:visibility="gone">
+
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:background="#ededed"
+ android:orientation="vertical">
+
+ <TextView
+ android:layout_gravity="center_vertical"
+ android:id="@+id/message_body"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="#333333"
+ android:textSize="14sp"
+ android:text="your contact has read up to this point"/>
+ </LinearLayout>
+ </LinearLayout>
+
+ <ImageView
+ android:id="@+id/message_photo"
+ android:layout_width="32dp"
+ android:layout_height="32dp"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentTop="true"
+ android:layout_marginRight="-1.5dp"
+ android:padding="0dp"
+ android:scaleType="fitXY"
+ android:src="@drawable/ic_profile" />
+
+</RelativeLayout> \ No newline at end of file