210 lines
8.4 KiB
XML
210 lines
8.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginHorizontal="@dimen/sp_10"
|
|
android:layout_marginTop="@dimen/sp_10">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:layout_marginTop="20dp"
|
|
android:weightSum="2">
|
|
<LinearLayout
|
|
android:visibility="visible"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Payment amount">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/enterpayment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="number"
|
|
android:layout_marginEnd="@dimen/dp_10">
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/splitpaymentmode"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_weight="1"
|
|
android:visibility="gone">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Payment Mode">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/paymentmode_spinner"
|
|
android:layout_width="match_parent"
|
|
android:inputType="none"
|
|
android:focusable="false"
|
|
android:clickable="true"
|
|
android:layout_height="wrap_content" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:orientation="horizontal">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/paymentrecyclerview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/paymentoption"
|
|
android:layout_width="100dp"
|
|
android:layout_height="50dp"
|
|
android:layout_marginTop="@dimen/sp_10"
|
|
android:visibility="gone"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="end"
|
|
android:layout_marginRight="@dimen/_20dp"
|
|
android:gravity="end">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/border_radius"
|
|
android:backgroundTint="@color/layoutBlueTheme">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Pay"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:textColor="@color/white"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:padding="5dp"
|
|
android:textSize="20dp"
|
|
android:gravity="center"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/upiselect"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/sp_10"
|
|
android:orientation="horizontal">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/upiselectrecycle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:visibility="visible"
|
|
android:id="@+id/defaultspinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/sp_10"
|
|
android:orientation="horizontal">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/defaultrecycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/cashpay"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:layout_marginTop="@dimen/sp_10"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2"
|
|
android:visibility="gone">
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="start"
|
|
android:textAlignment="textStart"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_weight="0.6">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@drawable/border_radius"
|
|
android:backgroundTint="@color/layoutBlueTheme">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Pay"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:textColor="@color/white"
|
|
android:padding="@dimen/sp_10"
|
|
android:textSize="20dp"
|
|
android:gravity="center"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/checktrue"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_weight="0.5"
|
|
android:layout_marginLeft="@dimen/sp_10"
|
|
android:layout_gravity="center"
|
|
android:visibility="visible"
|
|
android:gravity="center">
|
|
<ImageView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_check" />
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/addonclick"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_marginHorizontal="@dimen/dp_5">
|
|
<ImageView
|
|
android:id="@+id/addicon"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/add_circle">
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |