Files
AndroidJava/dash-wallet/wallet/res/layout/dialog_zenledger.xml
T
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

104 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2024 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 <https://www.gnu.org/licenses/>.
-->
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<View
android:id="@+id/drag_indicator"
android:layout_width="40dp"
android:layout_height="4dp"
android:layout_gravity="center"
android:layout_marginTop="15dp"
android:background="@drawable/rounded_background"
android:theme="@style/DragIndicatorBackground"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:background="@color/light_gray" />
<ImageButton
android:id="@+id/collapse_button"
style="@style/DialogCloseButton"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/zenledger_icon"
android:layout_width="95dp"
android:layout_height="95dp"
android:layout_marginVertical="20dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/collapse_button"
app:layout_constraintBottom_toTopOf="@id/text_container"
android:src="@drawable/ic_zenledger_dash"
/>
<LinearLayout
android:id="@+id/text_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="20dp"
android:orientation="vertical"
app:layout_constraintTop_toBottomOf="@id/zenledger_icon"
app:layout_constraintBottom_toTopOf="@+id/export_all_transactions"
>
<TextView
style="@style/Headline5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/zenledger_export_subtitle"
android:textAlignment="center"
/>
<TextView
style="@style/Body2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/zenledger_export_description"
android:textAlignment="center"
/>
<TextView
android:id="@+id/zenledger_link"
style="@style/Caption.Blue"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="40dp"
android:text="@string/zenledger_export_link"
android:layout_gravity="center"
android:textAlignment="center"
android:drawablePadding="8dp"
app:drawableEndCompat="@drawable/ic_open_link"/>
</LinearLayout>
<Button
android:id="@+id/export_all_transactions"
android:layout_marginHorizontal="15dp"
android:layout_marginVertical="15dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
style="@style/Button.Primary.Blue"
android:text="@string/zenledger_export_all_tx"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>