574 lines
33 KiB
XML
574 lines
33 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
||
|
|
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/background"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<ScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<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:layout_margin="@dimen/sp_10"
|
||
|
|
android:background="@color/white"
|
||
|
|
app:cardCornerRadius="@dimen/dp_5">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_margin="@dimen/sp_10"
|
||
|
|
android:layout_marginBottom="65dp">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_margin="@dimen/_20dp">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/toolbarbackclick"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.3">
|
||
|
|
<androidx.appcompat.widget.Toolbar
|
||
|
|
android:id="@+id/toolbar"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:navigationIcon="?attr/homeAsUpIndicator"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.7"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Purchase Quotation"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textSize="@dimen/_20dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/popins_bold"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="@dimen/_20dp"
|
||
|
|
android:weightSum="3">
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:id="@+id/customerparent"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10"
|
||
|
|
android:hint=" select customer"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/selectcustomerspinner"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:id="@+id/taxparent"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10"
|
||
|
|
android:hint=" Purchase Tax Type"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/selecttaxspinner"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:id="@+id/productparent"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10"
|
||
|
|
android:hint=" Product Name"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/selectproductnamespinner"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="@dimen/_20dp"
|
||
|
|
android:weightSum="3">
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10"
|
||
|
|
android:hint="Qr Code"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/enterqr_code"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="none" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:id="@+id/linearvarientname"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10"
|
||
|
|
android:hint=" Variant Name"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/selectvarientname"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="textNoSuggestions" />
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/_20dp"
|
||
|
|
android:background="@drawable/border_top_radius"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="12">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="SL.NO"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Product Name"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Qty"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Hsn Code"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Uom"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Sales Rate"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/discounttype"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="Discount Type"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Discount"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Amount"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Tax Percentage"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Tax Name"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="Action"
|
||
|
|
android:fontFamily="@font/poppins_medium"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:gravity="center"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="1dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/recycle"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="150dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/recyclerviewadd"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/nodata"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginVertical="20dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:visibility="gone">
|
||
|
|
</ImageView>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="5dp"
|
||
|
|
android:layout_marginBottom="@dimen/dp_60"
|
||
|
|
android:weightSum="3"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text=" "
|
||
|
|
android:textSize="@dimen/_20dp"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/calculation"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@drawable/border"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:visibility="gone">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="Gross Total :"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/grasstotal"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:text=" 0.00"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="Total CGST:"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:text=" 0.00"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="Total SGST:"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:text=" 0.00"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="Total IGST:"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:text=" 0.00"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="Total Amount(Round Off):"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/totalamountrount"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_marginLeft="@dimen/dp_5"
|
||
|
|
android:text=" 0.00"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/dp_16"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:layout_marginBottom="@dimen/_20dp">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="25dp"
|
||
|
|
android:layout_marginBottom="5dp"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:gravity="end">
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btn_submit"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_regular"
|
||
|
|
android:background="@drawable/submit_btn"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:padding="2dp"
|
||
|
|
android:drawableRight="@drawable/submit_vec"
|
||
|
|
android:text="SUBMIT">
|
||
|
|
</Button>
|
||
|
|
</LinearLayout>
|
||
|
|
</FrameLayout>
|
||
|
|
|
||
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|