diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/settings/BankAccountSettingsDialog.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/settings/BankAccountSettingsDialog.kt
index b4783fdd..aad2b19e 100644
--- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/settings/BankAccountSettingsDialog.kt
+++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/settings/BankAccountSettingsDialog.kt
@@ -7,6 +7,8 @@ import kotlinx.android.synthetic.main.dialog_bank_account_settings.*
import kotlinx.android.synthetic.main.dialog_bank_account_settings.view.*
import kotlinx.android.synthetic.main.dialog_bank_settings.view.toolbar
import net.dankito.banking.ui.android.R
+import net.dankito.banking.ui.android.adapter.CheckableValueAdapterItem
+import net.dankito.banking.ui.android.adapter.FastAdapterRecyclerView
import net.dankito.banking.ui.model.TypedBankAccount
@@ -49,6 +51,15 @@ open class BankAccountSettingsDialog : SettingsDialogBase() {
lvlSubAccountNumber.setValueAndVisibilityIfValueIsSet(account.subAccountNumber)
lvlIban.setValueAndVisibilityIfValueIsSet(account.iban)
lvlAccountType.value = account.type.toString() // TODO: translate
+
+ val context = rootView.context
+ val accountFeaturesItems = listOf(
+ CheckableValueAdapterItem(account.supportsRetrievingBalance, context, R.string.dialog_bank_account_settings_account_features_supports_retrieving_balance),
+ CheckableValueAdapterItem(account.supportsRetrievingAccountTransactions, context, R.string.dialog_bank_account_settings_account_features_supports_retrieving_account_transactions),
+ CheckableValueAdapterItem(account.supportsTransferringMoney, context, R.string.dialog_bank_account_settings_account_features_supports_money_transfer),
+ CheckableValueAdapterItem(account.supportsRealTimeTransfer, context, R.string.dialog_bank_account_settings_account_features_supports_real_time_transfer)
+ )
+ FastAdapterRecyclerView(rootView.rcyAccountFeatures, accountFeaturesItems)
}
}
diff --git a/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_account_settings.xml b/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_account_settings.xml
index 076b2f7d..2422a1f0 100644
--- a/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_account_settings.xml
+++ b/ui/BankingAndroidApp/src/main/res/layout/dialog_bank_account_settings.xml
@@ -114,6 +114,28 @@
+
+
+
+
+
+
+
+
+
diff --git a/ui/BankingAndroidApp/src/main/res/values-de/strings.xml b/ui/BankingAndroidApp/src/main/res/values-de/strings.xml
index c55eefb8..2d2ec498 100644
--- a/ui/BankingAndroidApp/src/main/res/values-de/strings.xml
+++ b/ui/BankingAndroidApp/src/main/res/values-de/strings.xml
@@ -120,6 +120,11 @@
Kontonummer
Unterkontenmerkmal
Typ
+ Unterstützt
+ Kontostand abrufen
+ Kontoumsätze abrufen
+ Überweisen
+ Echtzeitüberweisung
Nicht gespeicherte Änderungen
diff --git a/ui/BankingAndroidApp/src/main/res/values/strings.xml b/ui/BankingAndroidApp/src/main/res/values/strings.xml
index 5f4e8bf7..87917061 100644
--- a/ui/BankingAndroidApp/src/main/res/values/strings.xml
+++ b/ui/BankingAndroidApp/src/main/res/values/strings.xml
@@ -120,6 +120,11 @@
Account identifier
Sub account number
Type
+ Supports
+ Retrieve balance
+ Retrieve transactions
+ Money transfer
+ Real-time transfer
Unsaved changed