2017-11-01 16:26:52 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-12-07 04:55:58 +00:00
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-11-01 16:26:52 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minWidth="350dp">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/topView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:background="@drawable/receive_transaction_top_view"
|
|
|
|
android:layout_height="120dp"
|
|
|
|
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" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:text="@string/receive_assets"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<cy.agorise.crystalwallet.util.CircularImageView
|
|
|
|
android:id="@+id/gravatar"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
|
|
|
android:src="@drawable/ken_code_gravatar"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="90dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spTo"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/gravatar"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/gravatar" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvFromError"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spTo"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/spTo"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/topView" />
|
2017-11-01 16:26:52 +00:00
|
|
|
|
2017-11-29 01:50:46 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/etAmount"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_width="150dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:hint="@string/amount"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/gravatar" />
|
|
|
|
|
2017-11-01 16:26:52 +00:00
|
|
|
<TextView
|
2017-11-29 01:50:46 +00:00
|
|
|
android:id="@+id/tvAmountError"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/etAmount"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/etAmount"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etAmount" />
|
|
|
|
|
2017-11-29 01:50:46 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spAsset"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_width="150dp"
|
2017-11-29 01:50:46 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2017-11-29 01:50:46 +00:00
|
|
|
android:gravity="top"
|
|
|
|
android:inputType="textMultiLine"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etAmount" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/viewSpinner"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="3dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:background="@color/gray"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spAsset"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/spAsset"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/spAsset" />
|
|
|
|
|
2017-11-29 01:50:46 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAssetError"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvAmountError"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spAsset"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/spAsset" />
|
|
|
|
|
2017-11-29 01:50:46 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivQrCode"
|
|
|
|
android:layout_width="match_parent"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_height="300dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:adjustViewBounds="true"
|
|
|
|
android:src="@color/gray"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvAmountError" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvShare"
|
|
|
|
android:layout_width="wrap_content"
|
2017-11-01 16:26:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-07 04:55:58 +00:00
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
android:text="@string/share_this_qr"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ivQrCode" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvCancel"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="20dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/receive_close"
|
|
|
|
android:textSize="18sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|