From af38d68b48081784c56b33bc15b10db6e3ae254c Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 24 May 2020 23:49:25 +0200 Subject: [PATCH] Implemented showing whole challenge to user --- .../banking/ui/android/dialogs/EnterTanDialog.kt | 3 ++- .../src/main/res/layout/dialog_enter_tan.xml | 13 ++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/EnterTanDialog.kt b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/EnterTanDialog.kt index aee68b00..6620ccf6 100644 --- a/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/EnterTanDialog.kt +++ b/ui/BankingAndroidApp/src/main/java/net/dankito/banking/ui/android/dialogs/EnterTanDialog.kt @@ -85,7 +85,8 @@ open class EnterTanDialog : DialogFragment() { setupTanView(rootView) - rootView.txtTanDescriptionToShowToUser.text = getString(R.string.dialog_enter_tan_hint_from_bank, tanChallenge.messageToShowToUser.getSpannedFromHtml()) + rootView.txtTanDescriptionToShowToUser.text = tanChallenge.messageToShowToUser.getSpannedFromHtml() + rootView.lytTanDescriptionToShowToUser.setMaxHeightInDp(145) rootView.btnCancel.setOnClickListener { enteringTanDone(null) } diff --git a/ui/BankingAndroidApp/src/main/res/layout/dialog_enter_tan.xml b/ui/BankingAndroidApp/src/main/res/layout/dialog_enter_tan.xml index 327de283..e397850f 100644 --- a/ui/BankingAndroidApp/src/main/res/layout/dialog_enter_tan.xml +++ b/ui/BankingAndroidApp/src/main/res/layout/dialog_enter_tan.xml @@ -87,12 +87,19 @@ /> - + + + /> + +