Implemented showing whole challenge to user
This commit is contained in:
parent
11adc132aa
commit
af38d68b48
|
@ -85,7 +85,8 @@ open class EnterTanDialog : DialogFragment() {
|
||||||
|
|
||||||
setupTanView(rootView)
|
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) }
|
rootView.btnCancel.setOnClickListener { enteringTanDone(null) }
|
||||||
|
|
||||||
|
|
|
@ -87,13 +87,20 @@
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<net.dankito.banking.ui.android.views.MaxHeightScrollView
|
||||||
|
android:id="@+id/lytTanDescriptionToShowToUser"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/txtTanDescriptionToShowToUser"
|
android:id="@+id/txtTanDescriptionToShowToUser"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:maxLines="6"
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
</net.dankito.banking.ui.android.views.MaxHeightScrollView>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|
Loading…
Reference in New Issue