220 lines
8.3 KiB
XML
220 lines
8.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="0dp"
|
|
android:paddingLeft="0dp"
|
|
android:paddingRight="0dp"
|
|
android:paddingTop="@dimen/activity_vertical_margin">
|
|
|
|
<TextView
|
|
android:id="@+id/tvPin"
|
|
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"
|
|
android:text="@string/txt_6_digits_pin"
|
|
android:textStyle="bold" />
|
|
|
|
<EditText
|
|
android:id="@+id/etPin"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
android:background="@drawable/edittext_bg"
|
|
android:inputType="number"
|
|
android:maxLines="1"
|
|
android:textColor="@color/black" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvPinError"
|
|
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"
|
|
android:textColor="@color/red"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvPinConfirmation"
|
|
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"
|
|
android:text="@string/txt_6_digits_pin_confirm"
|
|
android:textStyle="bold" />
|
|
|
|
<EditText
|
|
android:id="@+id/etPinConfirmation"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="40dp"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
android:background="@drawable/edittext_bg"
|
|
android:inputType="number"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tvPinConfirmationError"
|
|
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"
|
|
android:textColor="@color/red"
|
|
android:textStyle="bold" />
|
|
|
|
<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"
|
|
android:text="@string/seed_words"
|
|
android:textStyle="bold" />
|
|
|
|
<EditText
|
|
android:id="@+id/etSeedWords"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="120dp"
|
|
android:layout_marginLeft="@dimen/activity_horizontal_margin"
|
|
android:layout_marginRight="@dimen/activity_horizontal_margin"
|
|
android:background="@drawable/edittext_bg"
|
|
android:gravity="top"
|
|
android:inputType="textMultiLine"
|
|
android:textColor="@color/black" />
|
|
|
|
<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"
|
|
android:text="@string/txt_account_name"
|
|
android:textStyle="bold" />
|
|
|
|
<EditText
|
|
android:id="@+id/etAccountName"
|
|
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:background="@drawable/edittext_bg"
|
|
android:gravity="top"
|
|
android:inputType="textMultiLine"
|
|
android:textColor="@color/black" />
|
|
|
|
<TextView
|
|
android:id="@+id/tvAccountNameError"
|
|
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"
|
|
android:textColor="@color/red"
|
|
android:textStyle="bold" />
|
|
|
|
<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"
|
|
android:text="@string/txt_brain_key_info"
|
|
android:textSize="15dp"
|
|
android:visibility="gone" />
|
|
|
|
<LinearLayout
|
|
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"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="10dp"
|
|
android:background="@color/pink"
|
|
android:text="@string/cancel"
|
|
android:textColor="@color/white" />
|
|
|
|
<Button
|
|
android:id="@+id/btnImport"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="10dp"
|
|
android:background="@color/green"
|
|
android:padding="10dp"
|
|
android:text="@string/create_wallet"
|
|
android:textColor="@color/white" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
android:gravity="bottom"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/black"></LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="35dp"
|
|
android:background="@color/bottomBarColor"
|
|
android:gravity="bottom"
|
|
android:orientation="horizontal">
|
|
|
|
<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"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.5" />
|
|
|
|
<ImageView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.5"
|
|
android:src="@drawable/icon_setting"
|
|
android:visibility="invisible" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|