2018-10-31 01:32:06 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-10-31 14:55:55 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2018-10-31 01:32:06 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-01-16 16:30:11 +00:00
|
|
|
android:focusable="true"
|
|
|
|
android:focusableInTouchMode="true"
|
|
|
|
android:clickable="true"
|
2018-12-03 21:37:27 +00:00
|
|
|
tools:context=".fragments.ReceiveTransactionFragment">
|
|
|
|
|
2018-12-07 01:09:36 +00:00
|
|
|
<androidx.constraintlayout.widget.Guideline
|
|
|
|
android:id="@+id/centeredVerticalGuideline"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintGuide_percent="0.5"/>
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/tilAmount"
|
|
|
|
style="@style/Widget.Bitsy.TextInputLayout"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:layout_marginTop="@dimen/activity_vertical_margin"
|
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
2018-12-07 01:09:36 +00:00
|
|
|
android:layout_marginEnd="12dp"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:hint="@string/text__amount"
|
2018-12-07 01:09:36 +00:00
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/centeredVerticalGuideline">
|
|
|
|
|
2019-01-16 16:30:11 +00:00
|
|
|
<cy.agorise.bitsybitshareswallet.views.MyTextInputEditText
|
2018-12-07 01:09:36 +00:00
|
|
|
android:id="@+id/tietAmount"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:inputType="numberDecimal"/>
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
2018-12-20 14:48:48 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spAsset"
|
2018-12-07 01:09:36 +00:00
|
|
|
android:layout_width="0dp"
|
2018-12-20 14:48:48 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2018-12-07 01:09:36 +00:00
|
|
|
android:layout_marginStart="12dp"
|
2018-12-20 14:48:48 +00:00
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
|
|
|
app:layout_constraintTop_toTopOf="@+id/tilAmount"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@id/centeredVerticalGuideline"/>
|
2018-12-07 01:09:36 +00:00
|
|
|
|
2018-12-20 14:48:48 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/vSpinner"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="12dp"
|
|
|
|
android:background="@color/darkGray"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/spAsset"
|
|
|
|
app:layout_constraintEnd_toEndOf="@+id/spAsset"
|
2018-12-21 00:06:11 +00:00
|
|
|
app:layout_constraintStart_toStartOf="@+id/spAsset"/>
|
2018-12-07 18:17:45 +00:00
|
|
|
|
2018-12-20 15:59:10 +00:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/tilAsset"
|
|
|
|
style="@style/Widget.Bitsy.TextInputLayout"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:layout_marginStart="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginEnd="@dimen/activity_horizontal_margin"
|
2018-12-20 15:59:10 +00:00
|
|
|
android:layout_marginTop="@dimen/spacing_same_topic"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:hint="@string/text__asset"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/tilAmount"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent">
|
2018-12-20 14:48:48 +00:00
|
|
|
|
2018-12-20 15:59:10 +00:00
|
|
|
<cy.agorise.bitsybitshareswallet.views.MyTextInputAutoCompleteTextView
|
|
|
|
android:id="@+id/actvAsset"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:imeOptions="actionDone"/>
|
2018-12-20 14:48:48 +00:00
|
|
|
|
2018-12-20 15:59:10 +00:00
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
2018-12-07 01:09:36 +00:00
|
|
|
|
2018-12-21 02:28:31 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
2018-12-07 01:09:36 +00:00
|
|
|
android:layout_height="0dp"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:paddingStart="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingEnd="@dimen/activity_horizontal_margin"
|
2018-12-21 02:28:31 +00:00
|
|
|
android:background="?android:windowBackground"
|
2018-12-21 00:06:11 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilAsset"
|
2018-12-21 02:28:31 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
2018-12-07 01:09:36 +00:00
|
|
|
|
2018-12-21 02:28:31 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivQR"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_marginTop="@dimen/spacing_different_topic"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_same_topic"
|
2018-12-21 02:28:31 +00:00
|
|
|
app:layout_constraintDimensionRatio="1:1"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/llText"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"/>
|
2018-12-07 01:09:36 +00:00
|
|
|
|
2018-12-21 02:28:31 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/llText"
|
2018-12-21 00:06:11 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-12-22 00:12:34 +00:00
|
|
|
android:layout_marginBottom="@dimen/spacing_same_topic"
|
2018-12-21 02:28:31 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ivQR">
|
2018-12-21 00:06:11 +00:00
|
|
|
|
2018-12-21 02:28:31 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvPleasePay"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
tools:text="Please Pay: 12.25316 BTS"
|
|
|
|
android:textAppearance="@style/TextAppearance.Bitsy.Body1"
|
|
|
|
android:textAlignment="center"
|
|
|
|
app:layout_constraintBottom_toTopOf="@id/tvTo"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvTo"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
tools:text="To: seventest-3"
|
|
|
|
android:textAppearance="@style/TextAppearance.Bitsy.Body1"
|
|
|
|
android:textAlignment="center"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-12-21 00:06:11 +00:00
|
|
|
|
2018-12-21 02:28:31 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2018-10-31 01:32:06 +00:00
|
|
|
|
2018-10-31 14:55:55 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|