fints4k/ui/BankingAndroidApp/src/main/res/layout/dialog_enter_tan.xml

154 lines
6.2 KiB
XML
Raw Normal View History

2019-10-25 23:10:51 +00:00
<?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"
>
2019-10-25 23:10:51 +00:00
<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: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"
/>
<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
</LinearLayout>
2019-12-29 16:55:41 +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"
android:layout_gravity="center_vertical"
android:visibility="gone"
>
2019-12-29 16:55:41 +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
<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.fints4java.android.ui.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"
2019-10-25 23:10:51 +00:00
/>
<net.dankito.banking.fints4java.android.ui.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"
2019-10-25 23:10:51 +00:00
/>
<TextView
android:id="@+id/txtTanDescriptionToShowToUser"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="6"
/>
<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
/>
<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
/>
</LinearLayout>
2019-10-25 23:10:51 +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
>
<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
/>
<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
/>
</RelativeLayout>
</LinearLayout>
2019-10-25 23:10:51 +00:00
</ScrollView>