215 lines
8.9 KiB
XML
215 lines
8.9 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"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:id="@+id/main"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_margin="@dimen/_20dp"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<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_marginLeft="@dimen/dp_10"
|
||
|
|
android:layout_weight="0.2">
|
||
|
|
|
||
|
|
<androidx.appcompat.widget.Toolbar
|
||
|
|
android:id="@+id/toolbar"
|
||
|
|
android:paddingHorizontal="10dp"
|
||
|
|
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:layout_marginLeft="@dimen/dp_10"
|
||
|
|
android:text="Purchase Entry"
|
||
|
|
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:layout_marginHorizontal="@dimen/_20dp"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="4">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/searchinvoiceno"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="@dimen/dp_10"
|
||
|
|
android:hint=" search">
|
||
|
|
</com.google.android.material.textfield.TextInputEditText>
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:text=" " />
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/importOrExportExecl"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="end"
|
||
|
|
android:background="@drawable/btn_holds"
|
||
|
|
android:backgroundTint="#060606">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:text="IMPORT/EXPORT EXECL"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Addnewclick"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_gravity="right"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/btn_holds"
|
||
|
|
android:backgroundTint="#FF8E1E78">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Add New"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:drawableTint="@color/white"
|
||
|
|
android:drawableRight="@drawable/add_24"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="5dp"
|
||
|
|
android:layout_marginHorizontal="@dimen/_20dp"
|
||
|
|
android:background="@drawable/border_top_radius"
|
||
|
|
android:weightSum="5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:text="SL.NO"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:text="Invoice No"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:text="Invoice Amount"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:text="DATE"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/popins_medimum"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:text="PRODUCT DETAILS"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/noData"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginVertical="50dp"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:visibility="gone">
|
||
|
|
</ImageView>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="@dimen/_20dp"
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/entryrecyclerview"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|