summaryrefslogtreecommitdiff
path: root/wallet/src/main/res/layout/list_item_wire_fee.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-04-08 14:21:11 -0300
committerTorsten Grote <t@grobox.de>2020-04-08 14:21:11 -0300
commit874b52c6d5c0d8043f3250e2b80f5091c159ded1 (patch)
treeaa994a5805a0feda15d894a6fcf1d6357f97ce29 /wallet/src/main/res/layout/list_item_wire_fee.xml
parent9ee202aebf6416bb336729cb3044e4921a94bee4 (diff)
downloadtaler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.tar.gz
taler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.tar.bz2
taler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.zip
[wallet] add option to see exchange's fee structure
Diffstat (limited to 'wallet/src/main/res/layout/list_item_wire_fee.xml')
-rw-r--r--wallet/src/main/res/layout/list_item_wire_fee.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/wallet/src/main/res/layout/list_item_wire_fee.xml b/wallet/src/main/res/layout/list_item_wire_fee.xml
new file mode 100644
index 0000000..92ede8b
--- /dev/null
+++ b/wallet/src/main/res/layout/list_item_wire_fee.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ This file is part of GNU Taler
+ ~ (C) 2020 Taler Systems S.A.
+ ~
+ ~ GNU Taler 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, or (at your option) any later version.
+ ~
+ ~ GNU Taler 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
+ ~ GNU Taler; see the file COPYING. 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="wrap_content">
+
+ <TextView
+ android:id="@+id/validityView"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ app:layout_constrainedWidth="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:text="Timespan: Jan 1 2020 - Dec 31 2020" />
+
+ <TextView
+ android:id="@+id/wireFeeView"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginTop="4dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/validityView"
+ tools:text="Wire Fee: 0.01 TESTKUDOS" />
+
+ <TextView
+ android:id="@+id/closingFeeView"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginTop="4dp"
+ android:layout_marginBottom="8dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/wireFeeView"
+ tools:text="Closing Fee: 0.01 TESTKUDOS" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>