From b5bc9e88c727cae9d7f1bdcdb3b2c0ed2102fb50 Mon Sep 17 00:00:00 2001 From: dtvv Date: Thu, 25 Oct 2018 09:54:42 -0500 Subject: [PATCH] In the Receive assets screen change the layout to relative to get more controle over position --- .../main/res/layout/receive_transaction.xml | 85 ++++++++----------- 1 file changed, 36 insertions(+), 49 deletions(-) diff --git a/app/src/main/res/layout/receive_transaction.xml b/app/src/main/res/layout/receive_transaction.xml index fba49b2..38ee0ff 100644 --- a/app/src/main/res/layout/receive_transaction.xml +++ b/app/src/main/res/layout/receive_transaction.xml @@ -5,7 +5,7 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - @@ -18,11 +18,10 @@ android:layout_marginEnd="0dp" android:layout_marginStart="0dp" android:layout_marginTop="0dp" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" /> + android:layout_alignParentTop="true"/> + android:layout_alignParentTop="true" /> + android:layout_marginTop="30dp" + android:src="@drawable/avatar_placeholder" /> + android:layout_width="200dp" + android:layout_height="50dp" + android:layout_marginTop="30dp" + android:layout_below="@+id/txtTittle" + android:layout_alignParentRight="true" + android:layout_marginRight="20dp"/> + android:layout_below="@+id/gravatar" + android:layout_marginTop="10dp"/> + android:inputType="numberDecimal" + android:textSize="20sp" /> + android:layout_below="@+id/etAmount"/> + android:layout_alignParentRight="true" + android:layout_marginRight="20dp"/> + android:background="@color/gray" /> + android:layout_below="@+id/spAsset"/> + android:layout_below="@+id/tvAmountError" + android:layout_centerHorizontal="true"/> + android:layout_below="@+id/ivQrCode" /> + android:layout_below="@+id/ivQrCode" + android:layout_alignParentRight="true"/> - + \ No newline at end of file