diff options
author | Iván Ávalos <avalos@disroot.org> | 2024-01-15 18:32:11 -0600 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2024-02-09 14:41:31 -0300 |
commit | 8b5a283a471bafbf19f36a0051e8a40c9dcf844e (patch) | |
tree | 1d81e28a3eed0ef531cfcf14e3f994e736ac1a76 /wallet/src/main/res | |
parent | 512e79eaf07eadd24914eb4a41b52c824866c528 (diff) | |
download | taler-android-8b5a283a471bafbf19f36a0051e8a40c9dcf844e.tar.gz taler-android-8b5a283a471bafbf19f36a0051e8a40c9dcf844e.tar.bz2 taler-android-8b5a283a471bafbf19f36a0051e8a40c9dcf844e.zip |
[wallet] DD35: show scope info in balance list
Diffstat (limited to 'wallet/src/main/res')
-rw-r--r-- | wallet/src/main/res/layout/list_item_balance.xml | 15 | ||||
-rw-r--r-- | wallet/src/main/res/values/strings.xml | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/wallet/src/main/res/layout/list_item_balance.xml b/wallet/src/main/res/layout/list_item_balance.xml index 475e7d6..82e663f 100644 --- a/wallet/src/main/res/layout/list_item_balance.xml +++ b/wallet/src/main/res/layout/list_item_balance.xml @@ -49,6 +49,19 @@ tools:text="TESTKUDOS" /> <TextView + android:id="@+id/scopeView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginBottom="8dp" + android:visibility="gone" + app:layout_constraintTop_toBottomOf="@id/balanceAmountView" + app:layout_constraintBottom_toTopOf="@id/balanceInboundAmount" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintEnd_toStartOf="@id/pendingView" + tools:text="@string/balance_scope_exchange" + tools:visibility="visible"/> + + <TextView android:id="@+id/balanceInboundAmount" android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -59,7 +72,7 @@ app:layout_constraintHorizontal_bias="0.0" app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/balanceAmountView" + app:layout_constraintTop_toBottomOf="@+id/scopeView" tools:text="+10 TESTKUDOS" tools:visibility="visible" /> diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml index 6dac8a8..bca71ef 100644 --- a/wallet/src/main/res/values/strings.xml +++ b/wallet/src/main/res/values/strings.xml @@ -78,6 +78,8 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card <string name="amount_chosen">Chosen Amount</string> <string name="balances_inbound_label">inbound</string> <string name="balances_empty_state">There is no digital cash in your wallet.\n\nYou can get test money from the demo bank:\n\nhttps://bank.demo.taler.net</string> + <string name="balance_scope_exchange">Exchange: %1$s</string> + <string name="balance_scope_auditor">Auditor: %1$s</string> <string name="transactions_title">Transactions</string> <string name="transactions_balance">Balance</string> |