From 9e2b83afa44cc2182773c30af5d0edbf122ec19b Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 14 Sep 2018 20:51:30 +0200 Subject: highlight selected conversation in tablet view --- src/main/res/layout/conversation_list_row.xml | 2 +- src/main/res/layout/fragment_conversation.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/conversation_list_row.xml b/src/main/res/layout/conversation_list_row.xml index b00be5a4b..002696ce7 100644 --- a/src/main/res/layout/conversation_list_row.xml +++ b/src/main/res/layout/conversation_list_row.xml @@ -13,7 +13,7 @@ diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index d081b6543..3ddcd69c7 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -5,7 +5,7 @@ @@ -107,7 +107,7 @@ android:layout_height="48dp" android:layout_alignParentRight="true" android:layout_centerVertical="true" - android:background="?attr/color_background_secondary" + android:background="?attr/color_background_tertiary" android:contentDescription="@string/send_message" android:src="@drawable/ic_send_text_offline" /> -- cgit v1.2.3 From 90463b8570ed55d262bb7d7f827b35c87841fb88 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 14 Sep 2018 23:10:22 +0200 Subject: slighten darken some more backgrounds in dark theme --- src/main/res/layout/activity_choose_contact.xml | 2 +- src/main/res/layout/activity_manage_accounts.xml | 2 +- src/main/res/layout/activity_start_conversation.xml | 2 +- src/main/res/layout/conversation_list_row.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/activity_choose_contact.xml b/src/main/res/layout/activity_choose_contact.xml index f720864a3..26f1c7494 100644 --- a/src/main/res/layout/activity_choose_contact.xml +++ b/src/main/res/layout/activity_choose_contact.xml @@ -13,7 +13,7 @@ + android:background="?attr/color_background_secondary"> diff --git a/src/main/res/layout/activity_start_conversation.xml b/src/main/res/layout/activity_start_conversation.xml index 1cb95b456..7adb8714a 100644 --- a/src/main/res/layout/activity_start_conversation.xml +++ b/src/main/res/layout/activity_start_conversation.xml @@ -29,7 +29,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/tab_layout" - android:background="?attr/color_background_primary" /> + android:background="?attr/color_background_secondary" /> + android:background="?attr/color_background_secondary"> Date: Sun, 23 Sep 2018 16:42:56 +0200 Subject: preview media before sending them and allow sharing and attaching of multiple files --- src/main/res/layout/fragment_conversation.xml | 26 ++++++++++++++++++++++++- src/main/res/layout/media_preview.xml | 28 +++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 src/main/res/layout/media_preview.xml (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index 3ddcd69c7..acf42aafe 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -14,6 +14,7 @@ android:layout_height="match_parent" android:layout_above="@+id/snackbar" android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" android:layout_alignParentTop="true" android:background="?attr/color_background_tertiary" android:divider="@null" @@ -53,7 +54,8 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" - android:layout_alignParentLeft="true"> + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true"> + + diff --git a/src/main/res/layout/media_preview.xml b/src/main/res/layout/media_preview.xml new file mode 100644 index 000000000..8849e7b4a --- /dev/null +++ b/src/main/res/layout/media_preview.xml @@ -0,0 +1,28 @@ + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From f873cd2b5f9ea6fdf76bfe6e5b283543ac3d97d7 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sun, 23 Sep 2018 19:58:11 +0200 Subject: show media preview in messagebubble like text messages --- src/main/res/layout/fragment_conversation.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/fragment_conversation.xml b/src/main/res/layout/fragment_conversation.xml index acf42aafe..16f48bde2 100644 --- a/src/main/res/layout/fragment_conversation.xml +++ b/src/main/res/layout/fragment_conversation.xml @@ -86,6 +86,7 @@ android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_toStartOf="@+id/textSendButton" + android:background="@drawable/message_bubble_sent_blue" android:orientation="horizontal" android:paddingTop="8dp" android:requiresFadingEdge="horizontal" -- cgit v1.2.3 From b2a122ec71c8c2af58ea6d99806d07d76efcb0f4 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Wed, 26 Sep 2018 20:27:33 +0200 Subject: show conversation media in contact/conference details --- src/main/res/layout/activity_contact_details.xml | 54 +++++++++++++++++++++--- src/main/res/layout/activity_muc_details.xml | 46 ++++++++++++++++++++ src/main/res/layout/media.xml | 16 +++++++ 3 files changed, 111 insertions(+), 5 deletions(-) create mode 100644 src/main/res/layout/media.xml (limited to 'src/main/res/layout') diff --git a/src/main/res/layout/activity_contact_details.xml b/src/main/res/layout/activity_contact_details.xml index dd3ff2c31..64e296c24 100644 --- a/src/main/res/layout/activity_contact_details.xml +++ b/src/main/res/layout/activity_contact_details.xml @@ -1,6 +1,5 @@ - + - + android:orientation="horizontal"> + + + + + + + + +