2018-01-08 00:16:03 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-25 00:35:08 +00:00
|
|
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2018-01-08 00:16:03 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-01-25 00:35:08 +00:00
|
|
|
tools:context=".activities.CreateSeedActivity">
|
2018-01-08 00:16:03 +00:00
|
|
|
|
2018-08-01 22:11:26 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="@string/txt_brain_key_info"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
android:textSize="15dp" />
|
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilPin"
|
|
|
|
android:layout_width="0dp"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:layout_marginStart="24dp"
|
2018-08-01 22:11:26 +00:00
|
|
|
android:layout_marginTop="112dp"
|
2018-01-25 00:35:08 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/tilPinConfirmation"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintVertical_bias="0.1"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed">
|
|
|
|
|
2018-08-09 11:50:08 +00:00
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
2018-01-25 00:35:08 +00:00
|
|
|
android:id="@+id/tietPin"
|
2018-07-31 19:13:19 +00:00
|
|
|
android:maxLength="32"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin"
|
|
|
|
android:inputType="number"
|
|
|
|
android:singleLine="true" />
|
2018-08-01 22:11:26 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilPinConfirmation"
|
|
|
|
android:layout_width="0dp"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/tilAccountName"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilPin"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/tilPin"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/tilPin">
|
|
|
|
|
2018-08-09 11:50:08 +00:00
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
2018-01-25 00:35:08 +00:00
|
|
|
android:id="@+id/tietPinConfirmation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin_confirm"
|
2018-07-31 19:13:19 +00:00
|
|
|
android:maxLength="32"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:inputType="number"
|
|
|
|
android:singleLine="true" />
|
2018-08-01 22:11:26 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilAccountName"
|
|
|
|
android:layout_width="0dp"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_marginTop="8dp"
|
2018-10-12 09:08:44 +00:00
|
|
|
app:layout_constraintBottom_toTopOf="@+id/layoutBtns"
|
2018-01-25 00:35:08 +00:00
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilPinConfirmation"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/tilPinConfirmation"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/tilPinConfirmation">
|
|
|
|
|
2018-08-09 11:50:08 +00:00
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
2018-01-25 00:35:08 +00:00
|
|
|
android:id="@+id/tietAccountName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_account_name"
|
2018-08-09 11:50:08 +00:00
|
|
|
android:digits="abcdefghijklmnopqrstuvwxyz1234567890 -"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:inputType="textMultiLine"
|
2018-08-01 22:11:26 +00:00
|
|
|
android:maxLength="255"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:singleLine="true" />
|
2018-08-01 22:11:26 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
</android.support.design.widget.TextInputLayout>
|
2018-01-08 00:16:03 +00:00
|
|
|
|
2018-10-12 09:08:44 +00:00
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/layoutBtns"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="65dp"
|
|
|
|
android:background="@android:color/white"
|
|
|
|
android:padding="4dp"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilAccountName"
|
|
|
|
android:layout_marginTop="60dp">
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCancel"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="0.50"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:theme="@style/RedButton"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:text="@string/cancel" />
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCreate"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:theme="@style/BlueButton"
|
|
|
|
android:text="@string/create_wallet"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:textColor="@color/white" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-01-25 00:35:08 +00:00
|
|
|
|
2018-01-25 04:27:15 +00:00
|
|
|
<cy.agorise.crystalwallet.util.BottomStatusBar
|
|
|
|
android:id="@+id/bottomStatusBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
2018-10-12 09:08:44 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
</android.support.constraint.ConstraintLayout>
|