<?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"
    xmlns:app="http://schemas.android.com/apk/res-auto">

    <androidx.cardview.widget.CardView
        android:id="@+id/inward_stock_view"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="5dp"
        app:cardCornerRadius="5dp"
        app:cardElevation="5dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical">

            <LinearLayout
                android:id="@+id/layout_background"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:orientation="horizontal">

                <ImageView
                    android:layout_marginLeft="10dp"
                    android:layout_gravity="center"
                    android:visibility="gone"
                    android:id="@+id/draft_image"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content" />
            </LinearLayout>

            <LinearLayout
                android:padding="5dp"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:weightSum="6">
                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:text="Invoice Number"
                    android:textStyle="bold"
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_12sp"
                    android:layout_weight="1"/>

                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:text="Date"
                    android:textStyle="bold"
                    android:textSize="@dimen/txt_size_12sp"
                    android:gravity="center"
                    android:layout_weight="1.2"/>
                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:text="Invoice Type"
                    android:textStyle="bold"
                    android:textSize="@dimen/txt_size_12sp"
                    android:gravity="center"
                    android:layout_weight="1"/>
                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text="No of Lines"
                    android:textStyle="bold"
                    android:textSize="@dimen/txt_size_12sp"
                    android:gravity="center"
                    android:layout_weight=".8"/>
                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text="Approved Lines"
                    android:textStyle="bold"
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_12sp"
                    android:layout_weight="1"/>

                <TextView
                    android:textColor="@color/black"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text="Invoice Amount"
                    android:gravity="center"
                    android:textStyle="bold"
                    android:textSize="@dimen/txt_size_12sp"
                    android:layout_weight="1"/>

            </LinearLayout>

            <View
                android:layout_marginTop="@dimen/custom_margin"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:background="@color/text_grey_color"/>

            <LinearLayout
                android:padding="5dp"
                android:layout_marginTop="@dimen/custom_margin"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="horizontal"
                android:weightSum="6">

                <TextView
                    android:textColor="@color/black"
                    android:id="@+id/invoice_number_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight="1"/>

                <TextView
                    android:padding="@dimen/custom_margin3dp"
                    android:textColor="@color/black"
                    android:id="@+id/date_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight="1.2"/>
                <TextView
                    android:textColor="@color/black"
                    android:id="@+id/invoice_type_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight="1"/>
                <TextView
                    android:textColor="@color/black"
                    android:id="@+id/no_of_lines_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight=".8"/>
                <TextView
                    android:textColor="@color/black"
                    android:id="@+id/approved_line_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight="1"/>

                <TextView
                    android:textColor="@color/black"
                    android:id="@+id/invoice_amount_txt"
                    android:layout_width="0dp"
                    android:layout_height="wrap_content"
                    android:text=""
                    android:gravity="center"
                    android:textSize="@dimen/txt_size_10"
                    android:layout_weight="1"/>


            </LinearLayout>

        </LinearLayout>

    </androidx.cardview.widget.CardView>

</LinearLayout>