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

100 lines
3.6 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" />
<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/collapse_button"
app:layout_constraintBottom_toTopOf="@+id/bottom_buttons"
>
<TextView
style="@style/Headline5"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/mix_dash_title"
/>
<TextView
style="@style/Body2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/mix_dash_message"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/bottom_buttons"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
android:orientation="horizontal"
>
<Button
android:id="@+id/skip_button"
android:layout_marginHorizontal="15dp"
android:layout_marginVertical="15dp"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
style="@style/Button.Tertiary.Blue"
android:text="@string/button_skip"
/>
<Button
android:id="@+id/mix_button"
android:layout_marginHorizontal="15dp"
android:layout_marginVertical="15dp"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
style="@style/Button.Primary.Blue"
android:text="@string/mix_dash_mix"
/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>