147 lines
5.9 KiB
XML
147 lines
5.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright 2022 Dash Core Group.
|
|
~
|
|
~ This program is free software: you can redistribute it and/or modify
|
|
~ it under the terms of the GNU General Public License as published by
|
|
~ the Free Software Foundation, either version 3 of the License, or
|
|
~ (at your option) any later version.
|
|
~
|
|
~ This program is distributed in the hope that it will be useful,
|
|
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
~ GNU General Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License
|
|
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/background_secondary"
|
|
tools:context="de.schildbach.wallet.ui.buy_sell.IntegrationOverviewFragment">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:layout_marginStart="4dp"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:navigationIcon="@drawable/ic_arrow_back" />
|
|
|
|
<ImageView
|
|
android:id="@+id/logo"
|
|
android:layout_width="80dp"
|
|
android:layout_height="80dp"
|
|
android:padding="12dp"
|
|
android:src="@drawable/ic_coinbase_letter"
|
|
android:background="@drawable/rounded_background"
|
|
android:theme="@style/CoinbaseLogoRadius19"
|
|
app:layout_constraintTop_toBottomOf="@id/toolbar"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
tools:background="@color/coinbase_blue" />
|
|
|
|
<TextView
|
|
android:id="@+id/headline"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
style="@style/Headline5"
|
|
android:layout_margin="20dp"
|
|
android:gravity="center"
|
|
android:textAlignment="gravity"
|
|
android:text="@string/coinbase_link_title"
|
|
app:layout_constraintTop_toBottomOf="@id/logo" />
|
|
|
|
<ImageView
|
|
android:id="@+id/buy_with_fiat_ic"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:layout_marginTop="23dp"
|
|
android:layout_marginStart="36dp"
|
|
app:srcCompat="@drawable/ic_buy_with_fiat"
|
|
app:layout_constraintTop_toBottomOf="@id/headline"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/buy_with_fiat_text"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dp"
|
|
android:layout_marginStart="18dp"
|
|
android:layout_marginEnd="20dp"
|
|
style="@style/Subtitle2"
|
|
android:text="@string/buy_with_fiat"
|
|
app:layout_constraintTop_toTopOf="@id/buy_with_fiat_ic"
|
|
app:layout_constraintBottom_toBottomOf="@id/buy_with_fiat_ic"
|
|
app:layout_constraintStart_toEndOf="@id/buy_with_fiat_ic"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/buy_convert_ic"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:layout_marginTop="26dp"
|
|
android:layout_marginStart="36dp"
|
|
app:srcCompat="@drawable/ic_buy_convert"
|
|
app:layout_constraintTop_toBottomOf="@id/buy_with_fiat_ic"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/buy_convert_text"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dp"
|
|
android:layout_marginStart="18dp"
|
|
android:layout_marginEnd="20dp"
|
|
style="@style/Subtitle2"
|
|
android:text="@string/buy_and_convert"
|
|
app:layout_constraintTop_toTopOf="@id/buy_convert_ic"
|
|
app:layout_constraintBottom_toBottomOf="@id/buy_convert_ic"
|
|
app:layout_constraintStart_toEndOf="@id/buy_convert_ic"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/transfer_ic"
|
|
android:layout_width="34dp"
|
|
android:layout_height="34dp"
|
|
android:layout_marginTop="26dp"
|
|
android:layout_marginStart="36dp"
|
|
app:srcCompat="@drawable/ic_transfer_dash"
|
|
app:layout_constraintTop_toBottomOf="@id/buy_convert_ic"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/transfer_item"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dp"
|
|
android:layout_marginStart="18dp"
|
|
android:layout_marginEnd="20dp"
|
|
style="@style/Subtitle2"
|
|
android:text="@string/transfer_dash"
|
|
app:layout_constraintTop_toTopOf="@id/transfer_ic"
|
|
app:layout_constraintBottom_toBottomOf="@id/transfer_ic"
|
|
app:layout_constraintStart_toEndOf="@id/transfer_ic"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/transfer_item_details"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0dp"
|
|
android:layout_marginEnd="20dp"
|
|
style="@style/Caption.Secondary"
|
|
android:text="@string/coinbase_transfer_details"
|
|
app:layout_constraintTop_toBottomOf="@id/transfer_item"
|
|
app:layout_constraintStart_toStartOf="@id/transfer_item"
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
|
|
<Button
|
|
android:id="@+id/continue_btn"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="15dp"
|
|
android:text="@string/coinbase_link"
|
|
style="@style/Button.Primary.Large.Blue"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |