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

189 lines
7.2 KiB
XML
Raw Normal View History

2019-10-20 21:52:07 +00:00
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/dialog_transfer_money_padding"
android:isScrollContainer="true"
>
2019-10-20 21:52:07 +00:00
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<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>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytRemitteeName"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_name"
app:errorEnabled="true"
2019-10-20 21:52:07 +00:00
>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtxtRemitteeName"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:inputType="textPersonName"
2019-10-20 21:52:07 +00:00
>
<requestFocus />
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputEditText>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytRemitteeIban"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_iban"
app:errorEnabled="true"
2019-10-20 21:52:07 +00:00
>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtxtRemitteeIban"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_autocomplete_fields_height"
android:inputType="text"
2019-10-20 21:52:07 +00:00
/>
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytRemitteeBank"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_bank"
app:errorEnabled="true"
>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.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"
/>
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytRemitteeBic"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_remittee_bic"
app:errorEnabled="true"
>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtxtRemitteeBic"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:inputType="text"
/>
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytAmount"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_amount"
app:errorEnabled="true"
2019-10-20 21:52:07 +00:00
>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtxtAmount"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:inputType="numberDecimal"
2019-10-20 21:52:07 +00:00
/>
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/lytUsage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/dialog_transfer_money_usage"
app:errorEnabled="true"
2019-10-20 21:52:07 +00:00
>
2020-04-22 15:40:12 +00:00
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtxtUsage"
android:layout_width="match_parent"
android:layout_height="@dimen/dialog_transfer_money_input_fields_height"
android:inputType="text"
2019-10-20 21:52:07 +00:00
/>
2020-04-22 15:40:12 +00:00
</com.google.android.material.textfield.TextInputLayout>
2019-10-20 21:52:07 +00:00
<RelativeLayout
android:id="@+id/lytButtonBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-10-20 21:52:07 +00:00
>
<Button
android:id="@+id/btnTransferMoney"
android:layout_width="@dimen/dialog_transfer_money_buttons_width"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
style="?android:attr/buttonBarButtonStyle"
android:text="@string/dialog_transfer_money_transfer"
android:enabled="false"
2019-10-20 21:52:07 +00:00
/>
<Button
android:id="@+id/btnCancel"
android:layout_width="@dimen/dialog_transfer_money_buttons_width"
android:layout_height="wrap_content"
android:layout_toLeftOf="@+id/btnTransferMoney"
android:layout_toStartOf="@+id/btnTransferMoney"
style="?android:attr/buttonBarButtonStyle"
android:text="@string/cancel"
2019-10-20 21:52:07 +00:00
/>
</RelativeLayout>
</LinearLayout>
2019-10-20 21:52:07 +00:00
</ScrollView>