From a00f7ced6c3d29ee0fd0cd5e7fcb5211e356c8c1 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Wed, 1 Jul 2020 11:53:18 +0800 Subject: Add an EditText and a send button in ViewPrivateMessagesActivity. Rewrite the code of fetchUserAvatar in ViewPrivateMessagesActivity. --- .../res/layout/activity_view_private_messages.xml | 108 +++++++++++++++------ app/src/main/res/values/strings.xml | 1 + 2 files changed, 82 insertions(+), 27 deletions(-) (limited to 'app/src/main/res') 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 3819bc4d..b808ede7 100644 --- a/app/src/main/res/layout/activity_view_private_messages.xml +++ b/app/src/main/res/layout/activity_view_private_messages.xml @@ -1,43 +1,97 @@ - + android:orientation="vertical"> - + android:layout_height="0dp" + android:layout_weight="1" + android:id="@+id/coordinator_layout_view_private_messages_activity" + tools:context=".Activity.ViewPrivateMessagesActivity"> - + android:layout_height="wrap_content" + android:theme="@style/AppTheme.AppBarOverlay"> - + android:layout_height="match_parent" + app:layout_scrollFlags="scroll|enterAlways" + app:titleEnabled="false" + app:toolbarId="@+id/toolbar_view_private_messages_activity"> - + - + - + + + + + + + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_gravity="bottom"> + + + + + + + + + + + + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 18faf6b8..020528fd 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -762,6 +762,7 @@ Popular Notifications Messages + Message Fetch Gfycat video failed Fetch Redgifs video failed -- cgit v1.2.3