From 20426e39fb8cfec2ac5eb7e9a2c49f4a2ff05bb2 Mon Sep 17 00:00:00 2001 From: moezbhatti Date: Sat, 13 Apr 2019 19:31:54 -0400 Subject: [PATCH] #1403 - Fix height of QK Reply when displaying multiple messages or MMS --- .../QKSMS/feature/qkreply/QkReplyActivity.kt | 4 +- .../src/main/res/layout/qkreply_activity.xml | 70 ++++++++----------- 2 files changed, 32 insertions(+), 42 deletions(-) diff --git a/presentation/src/main/java/com/moez/QKSMS/feature/qkreply/QkReplyActivity.kt b/presentation/src/main/java/com/moez/QKSMS/feature/qkreply/QkReplyActivity.kt index ae0d98bb..f141efce 100644 --- a/presentation/src/main/java/com/moez/QKSMS/feature/qkreply/QkReplyActivity.kt +++ b/presentation/src/main/java/com/moez/QKSMS/feature/qkreply/QkReplyActivity.kt @@ -79,8 +79,8 @@ class QkReplyActivity : QkThemedActivity(), QkReplyView { toolbar.setBackgroundTint(resolveThemeColor(R.attr.colorPrimary)) background.setBackgroundTint(resolveThemeColor(R.attr.composeBackground)) messageBackground.setBackgroundTint(resolveThemeColor(R.attr.bubbleColor)) - composeBackground.setBackgroundTint(resolveThemeColor(R.attr.composeBackground)) - composeBackground2.setBackgroundTint(resolveThemeColor(R.attr.composeBackground)) + composeBackgroundGradient.setBackgroundTint(resolveThemeColor(R.attr.composeBackground)) + composeBackgroundSolid.setBackgroundTint(resolveThemeColor(R.attr.composeBackground)) } } diff --git a/presentation/src/main/res/layout/qkreply_activity.xml b/presentation/src/main/res/layout/qkreply_activity.xml index c04c2cdb..36a5a88d 100644 --- a/presentation/src/main/res/layout/qkreply_activity.xml +++ b/presentation/src/main/res/layout/qkreply_activity.xml @@ -17,10 +17,10 @@ ~ You should have received a copy of the GNU General Public License ~ along with QKSMS. If not, see . --> - + app:layout_constraintBottom_toTopOf="@id/composeBackgroundSolid" /> + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toTopOf="@id/message" /> + app:layout_constraintStart_toStartOf="parent" /> \ No newline at end of file