2019-10-25 23:10:51 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-25 18:18:08 +00:00
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="@dimen/dialog_enter_tan_padding"
|
|
|
|
android:isScrollContainer="true"
|
|
|
|
>
|
2019-10-25 23:10:51 +00:00
|
|
|
|
2020-01-01 20:06:39 +00:00
|
|
|
<LinearLayout
|
2020-01-25 18:18:08 +00:00
|
|
|
android:orientation="vertical"
|
2020-01-01 20:06:39 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-01-25 18:18:08 +00:00
|
|
|
android:layout_height="match_parent"
|
2020-01-01 20:06:39 +00:00
|
|
|
>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/dialog_enter_tan_tan_procedure_height"
|
2020-01-01 20:06:39 +00:00
|
|
|
android:gravity="center_vertical"
|
2020-01-25 18:18:08 +00:00
|
|
|
>
|
2020-01-01 20:06:39 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/dialog_enter_tan_select_tan_procedure"
|
|
|
|
android:layout_marginRight="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
|
|
|
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_procedure_label_right_margin"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="@dimen/dialog_enter_tan_tan_procedure_text_size"
|
|
|
|
/>
|
2020-01-01 20:06:39 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spnTanProcedures"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
/>
|
2019-12-29 16:55:41 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
</LinearLayout>
|
2019-12-29 16:55:41 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/lytTanMedium"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/dialog_enter_tan_tan_medium_height"
|
2019-12-30 21:53:01 +00:00
|
|
|
android:layout_gravity="center_vertical"
|
2020-01-25 18:18:08 +00:00
|
|
|
android:visibility="gone"
|
|
|
|
>
|
2019-12-29 16:55:41 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:text="@string/dialog_enter_tan_select_tan_medium"
|
|
|
|
android:layout_marginRight="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
|
|
|
android:layout_marginEnd="@dimen/dialog_enter_tan_tan_medium_label_right_margin"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:textSize="@dimen/dialog_enter_tan_tan_medium_text_size"
|
|
|
|
/>
|
2019-12-29 16:55:41 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<Spinner
|
|
|
|
android:id="@+id/spnTanMedium"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2020-05-18 19:37:54 +00:00
|
|
|
<net.dankito.banking.ui.android.views.ChipTanFlickerCodeView
|
2020-01-25 18:18:08 +00:00
|
|
|
android:id="@+id/flickerCodeView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-30 14:37:33 +00:00
|
|
|
android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
|
2020-01-25 18:18:08 +00:00
|
|
|
android:visibility="gone"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
2020-05-18 19:37:54 +00:00
|
|
|
<net.dankito.banking.ui.android.views.TanImageView
|
2020-01-25 18:18:08 +00:00
|
|
|
android:id="@+id/tanImageView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:gravity="center_vertical"
|
2020-04-30 14:37:33 +00:00
|
|
|
android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
|
2020-01-25 18:18:08 +00:00
|
|
|
android:visibility="gone"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
|
2020-05-24 21:51:27 +00:00
|
|
|
<TextView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/dialog_enter_tan_tan_description_label"
|
|
|
|
/>
|
|
|
|
|
2020-05-24 21:49:25 +00:00
|
|
|
<net.dankito.banking.ui.android.views.MaxHeightScrollView
|
|
|
|
android:id="@+id/lytTanDescriptionToShowToUser"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
2020-01-25 18:18:08 +00:00
|
|
|
android:id="@+id/txtTanDescriptionToShowToUser"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-05-24 21:49:25 +00:00
|
|
|
/>
|
|
|
|
|
|
|
|
</net.dankito.banking.ui.android.views.MaxHeightScrollView>
|
2020-01-25 18:18:08 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/dialog_enter_tan_enter_tan_height"
|
|
|
|
android:layout_marginBottom="@dimen/dialog_enter_tan_enter_tan_margin_bottom"
|
|
|
|
>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:text="@string/dialog_enter_tan_enter_tan"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<EditText
|
|
|
|
android:id="@+id/edtxtEnteredTan"
|
|
|
|
android:layout_width="@dimen/dialog_enter_tan_enter_tan_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginLeft="@dimen/dialog_enter_tan_enter_tan_margin_left"
|
|
|
|
android:layout_marginStart="@dimen/dialog_enter_tan_enter_tan_margin_left"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
</LinearLayout>
|
2019-10-25 23:10:51 +00:00
|
|
|
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/lytButtonBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
2019-10-25 23:10:51 +00:00
|
|
|
>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnEnteringTanDone"
|
|
|
|
android:layout_width="@dimen/dialog_enter_tan_buttons_width"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:text="@android:string/ok"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
<Button
|
|
|
|
android:id="@+id/btnCancel"
|
|
|
|
android:layout_width="@dimen/dialog_enter_tan_buttons_width"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_toLeftOf="@+id/btnEnteringTanDone"
|
|
|
|
android:layout_toStartOf="@+id/btnEnteringTanDone"
|
|
|
|
style="?android:attr/buttonBarButtonStyle"
|
|
|
|
android:text="@string/cancel"
|
2019-10-25 23:10:51 +00:00
|
|
|
/>
|
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2019-10-25 23:10:51 +00:00
|
|
|
|
2020-01-25 18:18:08 +00:00
|
|
|
</ScrollView>
|