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 +++++++++++++++------ 1 file changed, 81 insertions(+), 27 deletions(-) (limited to 'app/src/main/res/layout') 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 -- cgit v1.2.3