aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-01-21 16:47:16 +0100
committerChristian Schneppe <christian@pix-art.de>2018-01-21 16:47:16 +0100
commit681290fdebef0ee97a40b7dfdde3787795943c6e (patch)
tree06344a921558af7da435fdfc485b2ab7399cd3ce /src/main/res
parent1efc9573a6b2114dfbad8d3ca6966507a405a77e (diff)
show hint on top of chatview while sending private messages
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/fragment_conversation.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml
index f75e9a2d8..2ac131d34 100644
--- a/src/main/res/layout/fragment_conversation.xml
+++ b/src/main/res/layout/fragment_conversation.xml
@@ -11,6 +11,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/snackbar"
+ android:layout_below="@+id/messagehint"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:background="@color/grey200"
@@ -106,4 +107,26 @@
android:textStyle="bold" />
</RelativeLayout>
+ <RelativeLayout
+ android:id="@+id/messagehint"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:background="@drawable/date_bubble"
+ android:minHeight="48dp"
+ android:visibility="gone">
+
+ <TextView
+ android:id="@+id/messagehint_message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:paddingLeft="24dp"
+ android:textColor="@color/realgreen"
+ android:textSize="?attr/TextSizeBody" />
+ </RelativeLayout>
+
</RelativeLayout> \ No newline at end of file