2017-10-22 18:17:09 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-12-06 04:14:48 +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-10-22 18:17:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:minWidth="350dp">
|
2017-10-22 18:17:09 +00:00
|
|
|
|
2017-12-06 04:14:48 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/topView"
|
2017-10-22 18:17:09 +00:00
|
|
|
android:layout_width="match_parent"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:background="@drawable/send_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" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="wrap_content"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="24dp"
|
2017-12-06 05:41:44 +00:00
|
|
|
android:text="@string/title_capital"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
2017-12-06 20:32:52 +00:00
|
|
|
<cy.agorise.crystalwallet.util.CircularImageView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/gravatar"
|
|
|
|
android:layout_width="60dp"
|
|
|
|
android:layout_height="60dp"
|
2017-12-06 20:32:52 +00:00
|
|
|
android:src="@drawable/ken_code_gravatar"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="90dp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spFrom"
|
|
|
|
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" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/tvFromError"
|
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spFrom"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/spFrom"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/topView" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/etTo"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="24dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:gravity="top"
|
|
|
|
android:inputType="textMultiLine"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:hint="@string/to_capital"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/gravatar" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivPeople"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:src="@drawable/ic_people"
|
|
|
|
android:layout_marginBottom="15dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/etTo"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/etTo"/>
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-11-01 16:26:52 +00:00
|
|
|
android:id="@+id/tvToError"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/etTo"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/etTo"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etTo" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etAmount"
|
|
|
|
android:layout_width="150dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
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/tvToError" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/tvAmountError"
|
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/etAmount"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/etAmount"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etAmount" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spAsset"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="150dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:gravity="top"
|
|
|
|
android:inputType="textMultiLine"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/etAmount" />
|
|
|
|
|
2017-12-06 20:32:52 +00:00
|
|
|
<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-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-11-01 16:26:52 +00:00
|
|
|
android:id="@+id/tvAssetError"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/tvAmountError"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spAsset"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/spAsset" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<EditText
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/etMemo"
|
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="8dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:inputType="textMultiLine"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/white"
|
|
|
|
android:hint="@string/memo_capital"
|
|
|
|
android:textSize="20sp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvAmountError" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/tvMemoError"
|
|
|
|
android:layout_width="0dp"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textColor="@color/red"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/etMemo"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/etMemo"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/etMemo" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
2017-12-06 04:14:48 +00:00
|
|
|
android:id="@+id/tvScan"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:text="@string/scan_capital"
|
|
|
|
android:textSize="14sp"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvMemoError" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivCamera"
|
|
|
|
android:layout_width="180dp"
|
|
|
|
android:layout_height="180dp"
|
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:src="#666"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tvScan" />
|
|
|
|
|
|
|
|
<android.support.design.widget.FloatingActionButton
|
2017-12-06 05:41:44 +00:00
|
|
|
android:id="@+id/fabCloseCamera"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
app:fabSize="mini"
|
|
|
|
android:layout_marginBottom="165dp"
|
|
|
|
android:layout_marginStart="165dp"
|
|
|
|
app:backgroundTint="@color/send_strong_orange"
|
|
|
|
android:src="@drawable/ic_close"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@+id/ivCamera"
|
|
|
|
app:layout_constraintStart_toStartOf="@+id/ivCamera" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/viewSend"
|
|
|
|
android:layout_width="120dp"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_height="140dp"
|
|
|
|
android:layout_marginEnd="0dp"
|
2017-12-06 05:41:44 +00:00
|
|
|
android:background="@drawable/send_transaction_send_view"
|
2017-12-06 04:14:48 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/ivCamera" />
|
|
|
|
|
2017-12-06 05:41:44 +00:00
|
|
|
<android.support.design.widget.FloatingActionButton
|
2017-12-07 04:55:58 +00:00
|
|
|
android:id="@+id/btnSend"
|
2017-12-06 05:41:44 +00:00
|
|
|
android:layout_width="90dp"
|
|
|
|
android:layout_height="90dp"
|
|
|
|
android:layout_marginTop="24dp"
|
|
|
|
app:backgroundTint="@color/send_strong_orange"
|
|
|
|
android:src="@drawable/ic_arrow_forward"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/viewSend" />
|
|
|
|
|
2017-10-26 01:33:38 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/btnCancel"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_width="wrap_content"
|
2017-10-26 01:33:38 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:layout_marginBottom="24dp"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:text="@string/cancel_capital"
|
2017-12-06 05:41:44 +00:00
|
|
|
android:textStyle="bold"
|
2017-12-06 04:14:48 +00:00
|
|
|
android:textSize="18sp"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|