From ffebc39bcf12dd6ea64023516b5d35a57d085eaf Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Thu, 13 Dec 2018 12:47:25 -0600 Subject: [PATCH] Add Send/Receive text below the Send/Receive buttons in the Balances screen and improve its layout so they are always centered both vertically and horizontally. --- app/src/main/res/layout/fragment_balances.xml | 38 ++++++++++++++++--- 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/app/src/main/res/layout/fragment_balances.xml b/app/src/main/res/layout/fragment_balances.xml index d19c24a..4a8da69 100644 --- a/app/src/main/res/layout/fragment_balances.xml +++ b/app/src/main/res/layout/fragment_balances.xml @@ -45,9 +45,22 @@ android:backgroundTint="@color/colorReceive" android:src="@drawable/ic_receive" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toStartOf="@id/firstVerticalGuideline"/> + app:layout_constraintEnd_toStartOf="@id/firstVerticalGuideline" + app:layout_constraintBottom_toTopOf="@+id/tvReceiveTransaction" + app:layout_constraintVertical_chainStyle="packed"/> + + @@ -71,9 +84,22 @@ android:backgroundTint="@color/colorSend" android:src="@drawable/ic_send" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toEndOf="@id/secondVerticalGuideline" - app:layout_constraintEnd_toEndOf="parent"/> + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintBottom_toTopOf="@+id/tvSendTransaction" + app:layout_constraintVertical_chainStyle="packed"/> + +