3d9d57d0fa
-Show the buttons centered in back up brainkey window
99 lines
3.7 KiB
XML
99 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="0dp"
|
|
android:paddingLeft="25dp"
|
|
android:paddingRight="25dp"
|
|
android:paddingTop="@dimen/activity_vertical_margin">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:padding="20dp"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_centerVertical="true">
|
|
|
|
<TextView
|
|
android:id="@+id/tvMnemonicTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignStart="@+id/linearlayout1"
|
|
android:layout_marginTop="35dp"
|
|
android:text="@string/window_seed_backup"
|
|
android:textColor="@color/black"
|
|
android:textSize="25dp"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/linearlayout1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/tvMnemonicTitle"
|
|
android:layout_marginTop="35dp"
|
|
android:background="@drawable/square"
|
|
android:padding="10dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tvBrainKey"
|
|
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:gravity="center"
|
|
android:text=""
|
|
android:background="#00000000"
|
|
android:textColor="@color/gray" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/backup_seed_textview_leyend_backup"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/linearlayout1"
|
|
android:layout_marginTop="35dp"
|
|
android:text="@string/window_seed_leyend_backup"
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/backup_seed_textview_leyend_backup"
|
|
android:layout_marginTop="30dp"
|
|
android:orientation="horizontal">
|
|
|
|
<Button
|
|
android:id="@+id/btnCancel"
|
|
android:layout_width="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/close"
|
|
android:textColor="@color/colorPrimary" />
|
|
|
|
<Button
|
|
android:id="@+id/btnCopy"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/window_seed_copy"
|
|
android:textColor="@color/colorPrimary"/>
|
|
|
|
<Button
|
|
android:id="@+id/btnOK"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/ok"
|
|
android:textColor="@color/colorPrimary" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|