81 lines
No EOL
3.6 KiB
XML
81 lines
No EOL
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:paddingBottom="16dp">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/nameContainer"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:hintEnabled="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:startIconDrawable="@drawable/ic_account_white_24dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/nameText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/my_name"
|
|
android:inputType="text|textCapWords"
|
|
android:maxLines="1" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/amountContainer"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
app:hintEnabled="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/nameContainer"
|
|
app:startIconDrawable="@drawable/ic_currency_inr_white_24dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/amountText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/amount"
|
|
android:inputType="numberDecimal"
|
|
android:maxLines="1" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/noteContainer"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
app:hintEnabled="true"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/amountContainer"
|
|
app:startIconDrawable="@drawable/ic_edit_white_24dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/noteText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="@string/note"
|
|
android:inputType="text|textCapWords"
|
|
android:maxLines="1" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/submit"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/start_payment"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/noteContainer" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |