aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
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
parentdbb0cf8ead030a624954d7e07161f71038d008bc (diff)
update datebubbles
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/message_date_bubble.xml30
-rw-r--r--src/main/res/layout/message_status.xml14
-rw-r--r--src/main/res/values-de/strings.xml1
-rw-r--r--src/main/res/values/strings.xml1
4 files changed, 32 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
diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml
index 388d92eb3..049bb4cd3 100644
--- a/src/main/res/values-de/strings.xml
+++ b/src/main/res/values-de/strings.xml
@@ -729,5 +729,6 @@
<string name="open_website">Webseite anzeigen</string>
<string name="pref_headsup_notifications">Benachrichtigungsvorschau</string>
<string name="pref_headsup_notifications_summary">Zeige Benachrichtigungsvorschau am oberen Bildschirmrand an</string>
+ <string name="yesterday">Gestern</string>
</resources>
diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml
index e2c9c5873..d2a894ae2 100644
--- a/src/main/res/values/strings.xml
+++ b/src/main/res/values/strings.xml
@@ -777,4 +777,5 @@
<string name="open_website">Open website</string>
<string name="pref_headsup_notifications">Heads-up Notifications</string>
<string name="pref_headsup_notifications_summary">Show Heads-up Notifications</string>
+ <string name="yesterday">Yesterday</string>
</resources>