2017-10-01 01:52:34 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-09-20 00:16:13 +00:00
|
|
|
<RelativeLayout
|
2018-01-26 02:48:04 +00:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-09-24 20:07:21 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-10-01 01:52:34 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-24 20:07:21 +00:00
|
|
|
tools:context=".activities.CreateSeedActivity">
|
2017-10-01 01:52:34 +00:00
|
|
|
|
2018-09-24 20:07:21 +00:00
|
|
|
<RelativeLayout
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_centerInParent="true">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilPin"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
|
|
|
android:layout_marginTop="40dp"
|
2017-10-01 01:52:34 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
|
|
|
android:id="@+id/etPin"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin"
|
|
|
|
android:inputType="number"
|
|
|
|
android:maxLength="32"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilPinConfirmation"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/tilPin"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
|
|
|
android:id="@+id/etPinConfirmation"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin_confirm"
|
|
|
|
android:inputType="number"
|
|
|
|
android:maxLength="32"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
2018-10-17 09:50:38 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtErrorPIN"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/tilPinConfirmation"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:text="@string/mismatch_pin"
|
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_marginTop="5dp"/>
|
|
|
|
|
2018-09-24 20:07:21 +00:00
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/etSeedWordsLayout"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-10-17 09:50:38 +00:00
|
|
|
android:layout_below="@+id/txtErrorPIN"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
|
|
|
android:id="@+id/etSeedWords"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-10-18 08:28:12 +00:00
|
|
|
android:layout_height="100dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:hint="@string/Seed"
|
2018-10-04 20:35:06 +00:00
|
|
|
android:maxLength="255"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:inputType="textMultiLine" />
|
|
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputLayout
|
|
|
|
android:id="@+id/tilAccountName"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2017-10-01 01:52:34 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_below="@+id/etSeedWordsLayout"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_centerHorizontal="true">
|
|
|
|
|
|
|
|
<cy.agorise.crystalwallet.views.natives.CustomTextInputEditText
|
|
|
|
android:id="@+id/etAccountName"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_width="330dp"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:digits="abcdefghijklmnopqrstuvwxyz1234567890 -"
|
|
|
|
android:hint="@string/txt_account_name"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:maxLength="255"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
2017-10-01 01:52:34 +00:00
|
|
|
|
2018-10-18 08:28:12 +00:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtErrorAccount"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/tilAccountName"
|
|
|
|
android:textColor="@color/red"
|
|
|
|
android:textSize="14sp"
|
|
|
|
android:text="@string/error_invalid_account"
|
|
|
|
android:layout_marginLeft="30dp"
|
|
|
|
android:visibility="invisible"
|
|
|
|
android:layout_marginTop="5dp"/>
|
|
|
|
|
2018-09-24 20:07:21 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/linearlayoutButtons"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-09-30 05:13:57 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
2018-10-18 08:28:12 +00:00
|
|
|
android:layout_below="@+id/txtErrorAccount"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:orientation="horizontal"
|
2018-10-18 08:28:12 +00:00
|
|
|
android:layout_marginTop="10dp">
|
2018-09-24 20:07:21 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCancel"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:layout_weight="0.50"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:theme="@style/RedButton"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:textColor="@color/white"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:textSize="14sp"
|
|
|
|
android:text="@string/cancel" />
|
2018-09-24 20:07:21 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnImport"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:layout_weight="0.50"
|
|
|
|
android:layout_marginEnd="8dp"
|
|
|
|
android:layout_marginStart="8dp"
|
|
|
|
android:theme="@style/BlueButton"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:text="@string/create_wallet"
|
2018-10-12 08:41:36 +00:00
|
|
|
android:textSize="14sp"
|
|
|
|
android:textColor="@color/white" />
|
2018-09-24 20:07:21 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2017-10-01 01:52:34 +00:00
|
|
|
|
2018-01-26 02:48:04 +00:00
|
|
|
<cy.agorise.crystalwallet.util.BottomStatusBar
|
2018-09-24 20:07:21 +00:00
|
|
|
android:id="@+id/bottomStatusBar"
|
2017-10-01 01:52:34 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-01-26 02:48:04 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-09-24 20:07:21 +00:00
|
|
|
android:layout_alignParentBottom="true"/>
|
2017-10-01 01:52:34 +00:00
|
|
|
|
2018-09-20 00:16:13 +00:00
|
|
|
</RelativeLayout>
|