fints4k/fints4javaAndroidApp/src/main/res/layout/dialog_transfer_money.xml

168 lines
5.9 KiB
XML
Raw Normal View History

2019-10-20 21:52:07 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/dialog_transfer_money_padding"
2019-10-20 21:52:07 +00:00
>
<LinearLayout
android:id="@+id/lytSelectBankAccount"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:layout_marginBottom="@dimen/dialog_transfer_money_bank_accounts_margin_bottom"
android:gravity="center_vertical"
android:visibility="gone"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="@string/dialog_transfer_money_account"
android:layout_marginRight="@dimen/dialog_transfer_money_label_margin_right"
android:layout_marginEnd="@dimen/dialog_transfer_money_label_margin_right"
android:gravity="center_vertical"
/>
<Spinner
android:id="@+id/spnBankAccounts"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical"
/>
</LinearLayout>
2019-10-20 21:52:07 +00:00
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_name"
2019-10-20 21:52:07 +00:00
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtRemitteeName"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
2019-10-20 21:52:07 +00:00
android:inputType="textPersonName"
>
<requestFocus />
</android.support.design.widget.TextInputEditText>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_iban"
2019-10-20 21:52:07 +00:00
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtRemitteeIban"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_autocomplete_fields_height"
2019-10-20 21:52:07 +00:00
android:inputType="text"
/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_bank"
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtRemitteeBank"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:inputType="text"
android:enabled="false"
/>
</android.support.design.widget.TextInputLayout>
2019-10-20 21:52:07 +00:00
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_bic"
2019-10-20 21:52:07 +00:00
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtRemitteeBic"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
2019-10-20 21:52:07 +00:00
android:inputType="text"
android:enabled="false"
/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_amount"
2019-10-20 21:52:07 +00:00
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtAmount"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
2019-10-20 21:52:07 +00:00
android:inputType="numberDecimal"
/>
</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_usage"
2019-10-20 21:52:07 +00:00
>
<android.support.design.widget.TextInputEditText
android:id="@+id/edtxtUsage"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
2019-10-20 21:52:07 +00:00
android:inputType="text"
/>
</android.support.design.widget.TextInputLayout>
<RelativeLayout
android:id="@+id/lytButtonBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/btnTransferMoney"
android:layout_width="@dimen/dialog_transfer_money_buttons_width"
2019-10-20 21:52:07 +00:00
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
style="?android:attr/buttonBarButtonStyle"
android:text="@string/dialog_transfer_money_transfer"
2019-10-20 21:52:07 +00:00
android:enabled="false"
/>
<Button
android:id="@+id/btnCancel"
android:layout_width="@dimen/dialog_transfer_money_buttons_width"
2019-10-20 21:52:07 +00:00
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/btnTransferMoney"
android:layout_toStartOf="@+id/btnTransferMoney"
2019-10-20 21:52:07 +00:00
style="?android:attr/buttonBarButtonStyle"
android:text="@string/cancel"
/>
</RelativeLayout>
</LinearLayout>