72 lines
3.3 KiB
XML
72 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<android.support.constraint.ConstraintLayout 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"
|
|
android:layout_margin="16dp"
|
|
android:clickable="false"
|
|
tools:context=".fragments.CreateHtlcFragment">
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/container_from"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/hint_from"
|
|
app:layout_constraintBottom_toTopOf="@+id/container_to"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/from"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="1.2.1029856" />
|
|
</android.support.design.widget.TextInputLayout>
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/container_to"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/hint_to"
|
|
app:layout_constraintBottom_toTopOf="@+id/container_amount"
|
|
app:layout_constraintTop_toBottomOf="@id/container_from">
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/to"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="1.2.143563" />
|
|
</android.support.design.widget.TextInputLayout>
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/container_amount"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/hint_amount"
|
|
app:layout_constraintBottom_toTopOf="@+id/container_timelock"
|
|
app:layout_constraintTop_toBottomOf="@+id/container_to">
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/amount"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="numberDecimal"
|
|
android:singleLine="true"
|
|
android:nextFocusDown="@+id/timelock"/>
|
|
</android.support.design.widget.TextInputLayout>
|
|
<android.support.design.widget.TextInputLayout
|
|
android:id="@+id/container_timelock"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/hint_timelock"
|
|
app:layout_constraintBottom_toTopOf="@+id/button_create"
|
|
app:layout_constraintTop_toBottomOf="@id/container_amount">
|
|
<android.support.design.widget.TextInputEditText
|
|
android:id="@+id/timelock"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="number"/>
|
|
</android.support.design.widget.TextInputLayout>
|
|
<Button
|
|
android:id="@+id/button_create"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/action_send"
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
|
</android.support.constraint.ConstraintLayout> |