From bde545b75fa4beb140a6ce10861d178505a16bdc Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 30 Jun 2020 13:33:05 +0800 Subject: Implemente a chat UI for private messages. --- .../drawable/private_message_ballon_received.xml | 11 ++++ .../res/drawable/private_message_ballon_sent.xml | 11 ++++ .../res/layout/activity_view_private_messages.xml | 8 --- .../res/layout/item_private_message_received.xml | 61 ++++++++++++++++++++++ .../main/res/layout/item_private_message_sent.xml | 43 +++++++++++++++ 5 files changed, 126 insertions(+), 8 deletions(-) create mode 100644 app/src/main/res/drawable/private_message_ballon_received.xml create mode 100644 app/src/main/res/drawable/private_message_ballon_sent.xml create mode 100644 app/src/main/res/layout/item_private_message_received.xml create mode 100644 app/src/main/res/layout/item_private_message_sent.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/private_message_ballon_received.xml b/app/src/main/res/drawable/private_message_ballon_received.xml new file mode 100644 index 00000000..522d5cf0 --- /dev/null +++ b/app/src/main/res/drawable/private_message_ballon_received.xml @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/app/src/main/res/drawable/private_message_ballon_sent.xml b/app/src/main/res/drawable/private_message_ballon_sent.xml new file mode 100644 index 00000000..e813c552 --- /dev/null +++ b/app/src/main/res/drawable/private_message_ballon_sent.xml @@ -0,0 +1,11 @@ + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/activity_view_private_messages.xml b/app/src/main/res/layout/activity_view_private_messages.xml index 67c665a9..3819bc4d 100644 --- a/app/src/main/res/layout/activity_view_private_messages.xml +++ b/app/src/main/res/layout/activity_view_private_messages.xml @@ -40,12 +40,4 @@ android:clipToPadding="false" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> - - \ No newline at end of file diff --git a/app/src/main/res/layout/item_private_message_received.xml b/app/src/main/res/layout/item_private_message_received.xml new file mode 100644 index 00000000..f3ba1c88 --- /dev/null +++ b/app/src/main/res/layout/item_private_message_received.xml @@ -0,0 +1,61 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_private_message_sent.xml b/app/src/main/res/layout/item_private_message_sent.xml new file mode 100644 index 00000000..62951ba4 --- /dev/null +++ b/app/src/main/res/layout/item_private_message_sent.xml @@ -0,0 +1,43 @@ + + + + + + + + \ No newline at end of file -- cgit v1.2.3