1199 lines
71 KiB
XML
1199 lines
71 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:background="@color/newlight_grey"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
app:cardCornerRadius="10dp">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_margin="5dp"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="100dp"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_marginHorizontal="10dp"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<TextView
|
|
android:id="@+id/headerTitleTextView"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="Add Customer"
|
|
android:fontFamily="@font/inter_600"
|
|
android:textColor="@color/black"
|
|
android:textSize="20dp"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:background="@drawable/ripple_effect"
|
|
android:id="@+id/closePopUpfuntion"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:padding="@dimen/dp_10"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginHorizontal="@dimen/dimen_10dp"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
<ImageView
|
|
android:layout_width="20dp"
|
|
android:layout_height="18dp"
|
|
android:src="@drawable/close_1"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nestedscrollview"
|
|
android:layout_width="match_parent"
|
|
android:fillViewport="true"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/getCustomerFilterlayout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/mobileOnClikFilter"
|
|
android:layout_width="70dp"
|
|
android:layout_height="40dp"
|
|
android:background="@drawable/sales_screen_10dp"
|
|
android:backgroundTint="@color/darkblue"
|
|
android:text="Mobile"
|
|
android:textSize="16sp"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textColor="@color/white"
|
|
android:gravity="center" />
|
|
|
|
<TextView
|
|
android:id="@+id/nameOnClikFilter"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_width="70dp"
|
|
android:layout_height="40dp"
|
|
android:text="Name"
|
|
android:fontFamily="@font/inter_500"
|
|
android:background="@drawable/sales_screen_10dp"
|
|
android:backgroundTint="@color/lightgreyblacknew"
|
|
android:textSize="16sp"
|
|
android:textColor="@color/black"
|
|
android:gravity="center" />
|
|
|
|
<TextView
|
|
android:id="@+id/customerIdOnClikFilter"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_width="70dp"
|
|
android:layout_height="40dp"
|
|
android:background="@drawable/sales_screen_10dp"
|
|
android:backgroundTint="@color/lightgreyblacknew"
|
|
android:text="Cust Id"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="16sp"
|
|
android:textColor="@color/black"
|
|
android:gravity="center" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:id="@+id/parentlaymobile"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/mobileNumber"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:hint=" Mobile Number*"
|
|
android:maxLength="10"
|
|
android:maxLines="1"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:singleLine="true"
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:id="@+id/selectCutomerSpinnerLayout"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:visibility="gone"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/selectCutomerSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:hint=" Select Customer"
|
|
android:maxLength="10"
|
|
android:maxLines="1"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:singleLine="true"
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/addCustomer"
|
|
android:visibility="gone"
|
|
android:layout_marginStart="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:layout_width="35dp"
|
|
android:layout_height="30dp"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_gravity="center"
|
|
android:tint="@color/layoutBlueTheme"
|
|
android:src="@drawable/addcustomer" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:visibility="visible"
|
|
android:layout_marginStart="10dp"
|
|
android:id="@+id/searchCustomer"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="30dp"
|
|
android:layout_height="35dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@drawable/search"
|
|
android:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreInfoParent"
|
|
android:layout_marginTop="20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/moreInfoText"
|
|
android:textColor="@color/black"
|
|
android:fontFamily="@font/inter_500"
|
|
android:textSize="@dimen/dp_14"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:textAlignment="textStart"
|
|
android:text=" More info Open "/>
|
|
|
|
<ImageView
|
|
android:id="@+id/mainInfoImg"
|
|
android:layout_marginTop="@dimen/dp_2"
|
|
android:layout_width="15dp"
|
|
android:layout_height="15dp"
|
|
android:src="@drawable/sales_screen_down_round_arrow"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/moreInfoChild"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="invisible"
|
|
android:layout_marginBottom="@dimen/dp_70"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_12"
|
|
app:flexWrap="wrap"
|
|
app:flexDirection="row"
|
|
app:alignItems="center">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:hint="Customer Name"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:hintAnimationEnabled="true"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:id="@+id/customername"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/shortName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="Customer Short Name"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/emailId"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="Email Id"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/address"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="Address Line 1"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/zipcode"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="Zipcode"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/gstno"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="GST No"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/city"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:hint="City"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/district"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="District"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/state"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="State"
|
|
android:textSize="15sp"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:inputType="textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
app:flexWrap="wrap"
|
|
app:flexDirection="row"
|
|
app:alignItems="center">
|
|
|
|
<LinearLayout
|
|
android:orientation="horizontal"
|
|
android:layout_width="wrap_content"
|
|
android:background="@drawable/grey_curve_bg"
|
|
android:backgroundTint="@color/primary_light_greyD9D9D9"
|
|
android:layout_marginTop="15dp"
|
|
android:paddingVertical="5dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/orderTxtView"
|
|
android:layout_marginLeft="@dimen/dp_10"
|
|
android:background="@drawable/selected_white"
|
|
android:layout_width="100dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:fontFamily="@font/poppins_regular"
|
|
android:text="Percentage"
|
|
android:textColor="@color/black"
|
|
android:textSize="13dp"
|
|
android:textStyle="bold" />
|
|
<TextView
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:id="@+id/specificTxtView"
|
|
android:layout_width="100dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:textAlignment="center"
|
|
android:layout_marginLeft="7dp"
|
|
android:fontFamily="@font/poppins_regular"
|
|
android:text="Fixed"
|
|
android:textColor="@color/black"
|
|
android:textSize="13dp"
|
|
android:textStyle="bold" />
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:id="@+id/offervalueparent"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/offerValue"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:hint="Offer Value"
|
|
android:textSize="15sp"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:maxLength="10"
|
|
android:maxLines="1"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:textColorHint="@color/black"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu"
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/activeStatus"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:hint=" Active or Deactive"
|
|
android:inputType="textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:id="@+id/flexlayoutcredit"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
app:flexWrap="wrap"
|
|
app:flexDirection="row"
|
|
app:alignItems="center">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text=" Credit Days : "
|
|
android:fontFamily="@font/popins_extrabold"
|
|
android:textColor="@color/black"
|
|
android:textSize="@dimen/dp_14"/>
|
|
<LinearLayout
|
|
android:id="@+id/creditcontainer"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:id="@+id/parententerdays"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/enterdays"
|
|
android:layout_width="match_parent"
|
|
android:hint="Enter Days"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/inter_500"
|
|
android:gravity="center_vertical"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textSize="@dimen/dp_14"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:id="@+id/parentcreditlimits"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/creditLimits"
|
|
android:layout_width="match_parent"
|
|
android:hint="Credit Limits"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/inter_500"
|
|
android:gravity="center_vertical"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textSize="@dimen/dp_14"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_extrabold"
|
|
android:gravity="center"
|
|
android:text="Type of Amount : "
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp"
|
|
android:textStyle="bold" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/radioGroup"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center">
|
|
|
|
<RadioButton
|
|
android:id="@+id/balanced"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_600"
|
|
android:paddingStart="1dp"
|
|
android:text="Balance"
|
|
android:checked="true"
|
|
android:textSize="13dp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/advanced"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="7dp"
|
|
android:fontFamily="@font/inter_600"
|
|
android:paddingStart="1dp"
|
|
android:text="Advance"
|
|
android:textSize="13dp" />
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:id="@+id/parentoutstandingbal"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
android:layout_height="wrap_content"
|
|
app:boxStrokeColor="@color/primary_blue"
|
|
app:boxStrokeWidth="1dp"
|
|
android:hint="Outstanding Balance"
|
|
app:hintTextColor="@color/primary_blue">
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/outstandingbalance"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:background="@null"
|
|
android:fontFamily="@font/inter_500"
|
|
android:gravity="center_vertical"
|
|
android:inputType="number|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:textSize="@dimen/dp_14" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/inter_500"
|
|
android:text="Upload Document"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/primary_blue"
|
|
android:textSize="12dp" />
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="81dp"
|
|
android:layout_height="72dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:background="@drawable/sales_screen_4_dash_dot_bg"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/uploadLL"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="@dimen/dp_3"
|
|
android:src="@drawable/sales_screen_upload">
|
|
</ImageView>
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Upload"
|
|
android:textAlignment="center"
|
|
android:textColor="#979797"
|
|
android:textSize="@dimen/sp_11" />
|
|
</LinearLayout>
|
|
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/selectedImage"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/dp_2">
|
|
|
|
<ImageView
|
|
android:id="@+id/prodImageView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="fitXY"
|
|
android:visibility="visible" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:orientation="horizontal"
|
|
android:visibility="visible">
|
|
|
|
<ImageView
|
|
android:id="@+id/viewIcon"
|
|
android:layout_width="22dp"
|
|
android:layout_height="18dp"
|
|
android:layout_margin="4dp"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/eye"
|
|
android:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:id="@+id/deleteIcon"
|
|
android:layout_width="20dp"
|
|
android:layout_height="16dp"
|
|
android:layout_margin="4dp"
|
|
android:scaleType="fitXY"
|
|
android:tint="@color/black"
|
|
android:src="@drawable/baseline_delete_24"
|
|
android:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
app:flexWrap="wrap"
|
|
app:flexDirection="row"
|
|
app:alignItems="center">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_marginStart="@dimen/dp_3"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:gravity="center"
|
|
android:text="Marital status : "
|
|
android:textColor="@color/black"
|
|
android:textSize="14dp"
|
|
android:textStyle="bold" />
|
|
|
|
<RadioGroup
|
|
android:id="@+id/maritalStatus"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="center">
|
|
|
|
<RadioButton
|
|
android:id="@+id/singleRadio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:paddingStart="1dp"
|
|
android:text="Single"
|
|
android:checked="true"
|
|
android:textSize="13dp" />
|
|
|
|
<RadioButton
|
|
android:id="@+id/marriedRadio"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="7dp"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:paddingStart="1dp"
|
|
android:text="Married"
|
|
android:textSize="13dp" />
|
|
|
|
|
|
|
|
</RadioGroup>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:textColor="@color/black"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:text="Date of Birth"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<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="Select date"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/dob"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:focusable="false"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/spouseLL"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:textColor="@color/black"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:text="Spouse Date of Birth"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<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="Select date"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/spousedob"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:focusable="false"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/anniversyLL"
|
|
android:layout_marginTop="15dp"
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:textColor="@color/black"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:text="Anniversary Date"/>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:minWidth="220dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<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="Select date"
|
|
app:boxStrokeColor="@color/black"
|
|
app:hintTextColor="@color/black"
|
|
app:boxStrokeWidth="1dp">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/anniversyDate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:focusable="false"
|
|
android:inputType="text|textNoSuggestions"
|
|
android:maxLines="1"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:singleLine="true"
|
|
android:textColorHint="@color/black"
|
|
android:textSize="15sp" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
android:gravity="end"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/zipCodeChild"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/submitBtn"
|
|
android:layout_marginBottom="10dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right"
|
|
android:gravity="center"
|
|
android:layout_marginRight="15dp"
|
|
android:layout_marginTop="10dp"
|
|
android:background="@drawable/btn_holds"
|
|
android:backgroundTint="@color/violet">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:text="SUBMIT"
|
|
android:textColor="@color/white"
|
|
android:gravity="center"
|
|
android:layout_marginLeft="15dp"
|
|
android:drawablePadding="20dp"
|
|
android:drawableTint="@color/white"
|
|
android:drawableRight="@drawable/rightarrow"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |