325 lines
12 KiB
XML
325 lines
12 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:background="#B9000000"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@drawable/supplier_border"
|
||
|
|
android:backgroundTint="@color/white"
|
||
|
|
android:layout_margin="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:id="@+id/customerInfo"
|
||
|
|
android:layout_weight="0.9"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Customer Info"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
android:textSize="18dp"
|
||
|
|
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/closePopUp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_weight="0.1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/ripple_effect"
|
||
|
|
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="18dp"
|
||
|
|
android:layout_height="18dp"
|
||
|
|
android:src="@drawable/close_1">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_25"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_margin="5dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="0.5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.15"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Customer Id "/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/customerIdAdvanceAmount"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_marginRight="50dp"
|
||
|
|
android:layout_weight="0.35"
|
||
|
|
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text=""/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_margin="5dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="0.5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.15"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Mobile "/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/mobileNumberAdvanceAmount"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_marginRight="50dp"
|
||
|
|
android:layout_weight="0.35"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text=""/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/customerNameHeader"
|
||
|
|
android:layout_margin="5dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="0.5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.15"
|
||
|
|
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Name "/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/NameAdvanceAmount"
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_marginRight="50dp"
|
||
|
|
android:layout_weight="0.35"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text=""/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:id="@+id/advanceAmountText"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_marginRight="50dp"
|
||
|
|
android:textColor="#008000"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_16"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Advance Amount"/>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_marginTop="10sp"
|
||
|
|
android:layout_width="200dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="10sp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:hintAnimationEnabled="true"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:hint="Enter Amount*"
|
||
|
|
app:boxStrokeColor="#00BFFF"
|
||
|
|
app:hintTextColor="#00BFFF"
|
||
|
|
app:boxStrokeWidth="1dp"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/mobileNumberEtAdvAmt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingBottom="13sp"
|
||
|
|
android:textSize="15sp"
|
||
|
|
android:paddingLeft="13sp"
|
||
|
|
android:paddingRight="13sp"
|
||
|
|
android:maxLength="10"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:inputType="number"
|
||
|
|
android:textColorHint="@color/black"/>
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/paymentRecylerView"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="60dp">
|
||
|
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<TextView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/noPaymentView"
|
||
|
|
android:text="Please Set Payment Options"
|
||
|
|
android:textColor="@color/red"
|
||
|
|
android:layout_gravity="start"
|
||
|
|
android:padding="16dp"
|
||
|
|
android:gravity="start"
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_gravity="end">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/submit"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:layout_marginBottom="35dp"
|
||
|
|
android:layout_marginRight="35dp"
|
||
|
|
android:background="@drawable/btn_holds"
|
||
|
|
android:backgroundTint="#FF8E1E78">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/subTxt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:text="Submit"
|
||
|
|
android:fontFamily="@font/popins_bold"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:drawablePadding="20dp"
|
||
|
|
android:drawableTint="@color/white"
|
||
|
|
android:drawableRight="@drawable/rightarrow"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|