170 lines
6.7 KiB
XML
170 lines
6.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dialog_enter_tan_tan_procedure_height"
|
|
android:gravity="center_vertical"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
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:textStyle="bold"
|
|
android:textSize="@dimen/dialog_enter_tan_tan_procedure_text_size"
|
|
android:text="@string/dialog_enter_tan_select_tan_procedure"
|
|
/>
|
|
|
|
<Spinner
|
|
android:id="@+id/spnTanProcedures"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:gravity="center_vertical"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/lytTanMedium"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dialog_enter_tan_tan_medium_height"
|
|
android:layout_gravity="center_vertical"
|
|
android:visibility="gone"
|
|
>
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
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:textStyle="bold"
|
|
android:textSize="@dimen/dialog_enter_tan_tan_medium_text_size"
|
|
android:text="@string/dialog_enter_tan_select_tan_medium"
|
|
/>
|
|
|
|
<Spinner
|
|
android:id="@+id/spnTanMedium"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center_vertical"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
<net.dankito.banking.ui.android.views.ChipTanFlickerCodeView
|
|
android:id="@+id/flickerCodeView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
<net.dankito.banking.ui.android.views.TanImageView
|
|
android:id="@+id/tanImageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center_vertical"
|
|
android:layout_marginBottom="@dimen/dialog_enter_tan_margin_before_enter_tan"
|
|
android:visibility="gone"
|
|
/>
|
|
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/dialog_enter_tan_tan_description_label"
|
|
/>
|
|
|
|
<net.dankito.banking.ui.android.views.MaxHeightScrollView
|
|
android:id="@+id/lytTanDescriptionToShowToUser"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
>
|
|
|
|
<TextView
|
|
android:id="@+id/txtTanDescriptionToShowToUser"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
/>
|
|
|
|
</net.dankito.banking.ui.android.views.MaxHeightScrollView>
|
|
|
|
<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:textStyle="bold"
|
|
android:text="@string/dialog_enter_tan_enter_tan"
|
|
/>
|
|
|
|
<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"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/lytButtonBar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
>
|
|
|
|
<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"
|
|
/>
|
|
|
|
<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"
|
|
/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView> |