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-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"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
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">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/tietPin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin"
|
|
|
|
android:inputType="number"
|
|
|
|
android:singleLine="true" />
|
|
|
|
</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">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/tietPinConfirmation"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_6_digits_pin_confirm"
|
|
|
|
android:inputType="number"
|
|
|
|
android:singleLine="true" />
|
|
|
|
</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"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/btnCancel"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilPinConfirmation"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/tilPinConfirmation"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/tilPinConfirmation">
|
|
|
|
|
|
|
|
<android.support.design.widget.TextInputEditText
|
|
|
|
android:id="@+id/tietAccountName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/txt_account_name"
|
|
|
|
android:inputType="textMultiLine"
|
|
|
|
android:singleLine="true" />
|
|
|
|
</android.support.design.widget.TextInputLayout>
|
|
|
|
<!--
|
2018-01-08 00:16:03 +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="10dp"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:text="@string/txt_brain_key_info"
|
|
|
|
android:textSize="15dp"
|
|
|
|
android:visibility="gone" /> -->
|
2018-01-08 00:16:03 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCancel"
|
|
|
|
android:layout_width="wrap_content"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginStart="24dp"
|
|
|
|
android:layout_marginTop="48dp"
|
|
|
|
android:background="@color/redcolor"
|
|
|
|
android:text="@string/cancel"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/linearLayout"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/tilAccountName"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tilAccountName" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCreate"
|
|
|
|
android:layout_width="wrap_content"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginEnd="24dp"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
android:padding="10dp"
|
|
|
|
android:text="@string/create_wallet"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/tilAccountName"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/btnCancel" />
|
2018-01-08 00:16:03 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
2018-01-25 00:35:08 +00:00
|
|
|
android:id="@+id/linearLayout"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_width="match_parent"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_height="35dp"
|
|
|
|
android:background="@color/bottomBarColor"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvAppVersion_brain_key_activity"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/v_1_0_beta" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvBlockNumberHead_brain_key_activity"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="2"
|
|
|
|
android:gravity="center"
|
|
|
|
android:text="@string/block_number" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivSocketConnected_brain_key_activity"
|
|
|
|
android:layout_width="0dp"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_weight="0.5" />
|
2018-01-08 00:16:03 +00:00
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
<ImageView
|
|
|
|
android:layout_width="0dp"
|
2018-01-08 00:16:03 +00:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2018-01-25 00:35:08 +00:00
|
|
|
android:layout_weight="0.5"
|
|
|
|
android:src="@drawable/icon_setting"
|
|
|
|
android:visibility="invisible" />
|
2018-01-08 00:16:03 +00:00
|
|
|
</LinearLayout>
|
|
|
|
|
2018-01-25 00:35:08 +00:00
|
|
|
</android.support.constraint.ConstraintLayout>
|