aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-08-01 11:33:39 +0200
committerChristian Schneppe <christian@pix-art.de>2017-08-01 11:34:59 +0200
commit23752c581f79640a38d87aa2a6914deac475447d (patch)
treecf55b54ad2ea305812beb919fa90ab2c9f82fd27 /src/main/res/layout
parentdbb0cf8ead030a624954d7e07161f71038d008bc (diff)
update datebubbles
Diffstat (limited to 'src/main/res/layout')
-rw-r--r--src/main/res/layout/message_date_bubble.xml30
-rw-r--r--src/main/res/layout/message_status.xml14
2 files changed, 30 insertions, 14 deletions
diff --git a/src/main/res/layout/message_date_bubble.xml b/src/main/res/layout/message_date_bubble.xml
new file mode 100644
index 000000000..c94c7d4a0
--- /dev/null
+++ b/src/main/res/layout/message_date_bubble.xml
@@ -0,0 +1,30 @@
+<?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:paddingBottom="5dp"
+ android:paddingLeft="8dp"
+ android:paddingRight="8dp"
+ android:paddingTop="5dp">
+
+ <LinearLayout
+ android:id="@+id/message_box"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_margin="8dp"
+ android:background="@drawable/date_bubble"
+ android:padding="4dp">
+
+ <TextView
+ android:id="@+id/status_message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="01.01.2017"
+ android:textColor="@color/black87"
+ android:textSize="?attr/TextSizeInfo"
+ android:textStyle="italic" />
+ </LinearLayout>
+
+</RelativeLayout> \ No newline at end of file
diff --git a/src/main/res/layout/message_status.xml b/src/main/res/layout/message_status.xml
index 46db51078..e2200844c 100644
--- a/src/main/res/layout/message_status.xml
+++ b/src/main/res/layout/message_status.xml
@@ -18,18 +18,4 @@
android:layout_centerVertical="true"
android:layout_centerHorizontal="true" />
- <TextView
- android:id="@+id/status_message"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="01.01.2017"
- android:textColor="@color/black87"
- android:textSize="?attr/TextSizeInfo"
- android:textStyle="italic"
- android:background="@drawable/date_bubble"
- android:layout_alignBaseline="@+id/load_more_messages"
- android:layout_alignBottom="@+id/load_more_messages"
- android:layout_centerHorizontal="true"
- android:layout_margin="8dp" />
-
</RelativeLayout> \ No newline at end of file