2017-09-08 00:31:38 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-24 23:21:34 +00:00
|
|
|
<!--
|
2017-09-08 00:31:38 +00:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/activity_intro"
|
|
|
|
android:layout_width="match_parent"
|
2017-09-24 21:52:32 +00:00
|
|
|
android:layout_height="wrap_content"
|
2017-09-08 00:31:38 +00:00
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
android:paddingTop="@dimen/activity_vertical_margin"
|
2017-10-01 01:52:34 +00:00
|
|
|
tools:context="cy.agorise.crystalwallet.activities.IntroActivity">
|
2017-09-08 00:31:38 +00:00
|
|
|
|
2017-09-13 16:12:22 +00:00
|
|
|
<cy.agorise.crystalwallet.views.TransactionListView
|
2017-09-14 01:06:51 +00:00
|
|
|
android:id="@+id/transaction_list"
|
2017-09-13 16:12:22 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
</cy.agorise.crystalwallet.views.TransactionListView>
|
2017-09-08 00:31:38 +00:00
|
|
|
</RelativeLayout>
|
2018-01-24 23:21:34 +00:00
|
|
|
-->
|
2018-01-26 00:37:29 +00:00
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-01-24 23:21:34 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/activity_intro"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/colorPrimary"
|
|
|
|
tools:context="cy.agorise.crystalwallet.activities.IntroActivity">
|
|
|
|
|
2018-01-26 00:37:29 +00:00
|
|
|
<SurfaceView
|
|
|
|
android:id="@+id/surface_view"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
app:layout_constraintDimensionRatio="2:1.2"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:background="@color/colorPrimaryTransparent"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/surface_view"
|
|
|
|
app:layout_constraintStart_toStartOf="@id/surface_view"
|
|
|
|
app:layout_constraintEnd_toEndOf="@id/surface_view"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/surface_view"/>
|
|
|
|
|
2018-01-24 23:21:34 +00:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/ivLogo"
|
|
|
|
android:layout_width="wrap_content"
|
2018-01-26 00:37:29 +00:00
|
|
|
android:layout_height="100dp"
|
|
|
|
android:contentDescription="@string/crystal_logo"
|
2018-01-24 23:21:34 +00:00
|
|
|
android:src="@drawable/crystal_logo"
|
2018-01-26 00:37:29 +00:00
|
|
|
tools:layout_editor_absoluteY="114dp"
|
|
|
|
app:layout_constraintTop_toTopOf="@id/surface_view"
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/surface_view"/>
|
2018-01-24 23:21:34 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvNewUser"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:text="@string/new_user"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/btnCreateAccount"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
2018-01-26 00:37:29 +00:00
|
|
|
app:layout_constraintVertical_bias="0.4"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/surface_view"
|
|
|
|
app:layout_constraintVertical_chainStyle="packed" />
|
2018-01-24 23:21:34 +00:00
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCreateAccount"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:background="@color/colorPrimaryDark"
|
2018-01-26 00:37:29 +00:00
|
|
|
android:text="@string/create_account"
|
2018-01-24 23:21:34 +00:00
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/tvExistingUser"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvNewUser" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/tvExistingUser"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="32dp"
|
|
|
|
android:text="@string/existing_user"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="16sp"
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/btnImportAccount"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/btnCreateAccount" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
android:id="@+id/btnImportAccount"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="32dp"
|
|
|
|
android:layout_marginStart="32dp"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:background="@color/colorPrimaryDark"
|
2018-01-26 00:37:29 +00:00
|
|
|
android:text="@string/import_account"
|
2018-01-24 23:21:34 +00:00
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textColor="@color/white"
|
|
|
|
android:textSize="20sp"
|
|
|
|
android:textStyle="bold"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvExistingUser" />
|
|
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|