656 lines
36 KiB
XML
656 lines
36 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"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/_20dp"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
<LinearLayout
|
|
android:id="@+id/backbase"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:id="@+id/pressback"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_margin="@dimen/dp_20"
|
|
android:background="@drawable/ripple_effect"
|
|
android:src="@drawable/back"
|
|
app:tint="@color/black" />
|
|
</LinearLayout>
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
android:text="Purchase Entry"
|
|
android:textColor="@color/black"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:textSize="@dimen/_20dp"/>
|
|
</LinearLayout>
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_marginBottom="100dp"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="4">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@drawable/border"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:text="Supplier Details"
|
|
android:textColor="@color/black"
|
|
android:fontFamily="@font/popins_bold"/>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:hint=" select customer"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/selectsupplierspinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textNoSuggestions" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<LinearLayout
|
|
android:id="@+id/suppierAdd"
|
|
android:layout_width="@dimen/sp_150"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dimen_10dp"
|
|
android:layout_marginTop="5dp">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/add_circle">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/invoiseerrorshow"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:hint="Invoice Number"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/invocenumber"
|
|
android:layout_width="match_parent"
|
|
android:inputType="number"
|
|
android:layout_height="wrap_content">
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:text="Invoice Date*"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:textColor="@color/black"
|
|
android:textStyle="bold"/>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/manufactureDateTxt"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="@dimen/dimen_10dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:boxStrokeColor="#00BFFF"
|
|
android:focusable="false"
|
|
app:hintTextColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/supplierinvoicedate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="13sp"
|
|
android:textSize="15sp"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:focusable="false"
|
|
android:hint="Select Date*"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:maxLines="1"
|
|
android:inputType="text"
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="3"
|
|
android:background="@drawable/border"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
android:layout_marginHorizontal="@dimen/dimen_10dp"
|
|
android:orientation="horizontal">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Invoice Date*"
|
|
android:textColor="@color/black"/>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/manufactureDateTxt"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
app:boxStrokeColor="#00BFFF"
|
|
android:focusable="false"
|
|
app:hintTextColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/invoicedateselect"
|
|
android:layout_width="250dp"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="13sp"
|
|
android:textSize="15sp"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:focusable="false"
|
|
android:hint="Select Date*"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:maxLines="1"
|
|
android:inputType="text"
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:orientation="vertical">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Invoice amount"
|
|
android:layout_marginTop="18dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/selectinvoiceno"
|
|
android:layout_width="200dp"
|
|
android:inputType="number"
|
|
android:layout_height="wrap_content">
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginHorizontal="@dimen/dimen_10dp"
|
|
android:layout_marginTop="@dimen/_20dp">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:hint="Purchse Type"
|
|
android:layout_marginTop="10dp"
|
|
android:layout_gravity="center"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/selectpurchsetype"
|
|
android:layout_width="180dp"
|
|
android:layout_height="52dp"
|
|
android:hint="Purchse Type"
|
|
android:inputType="none" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Due Date*"
|
|
android:textColor="@color/black"/>
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:id="@+id/manufactureDateTxt"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:hintAnimationEnabled="true"
|
|
app:boxStrokeColor="#00BFFF"
|
|
android:focusable="false"
|
|
app:hintTextColor="#00BFFF"
|
|
app:boxStrokeWidth="1dp"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/duetodate"
|
|
android:layout_width="250dp"
|
|
android:layout_height="wrap_content"
|
|
android:paddingBottom="13sp"
|
|
android:textSize="15sp"
|
|
android:paddingLeft="13sp"
|
|
android:paddingRight="13sp"
|
|
android:focusable="false"
|
|
android:text="Select Date*"
|
|
android:drawableRight="@drawable/baseline_calendar_month_24"
|
|
android:maxLines="1"
|
|
android:inputType="text"
|
|
android:textColorHint="@color/black"/>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:weightSum="4">
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical"
|
|
android:layout_weight="1">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:hint=" Product name"
|
|
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>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical"
|
|
android:layout_weight="1">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:hint="Qr code"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:layout_width="match_parent"
|
|
android:inputType="number"
|
|
android:layout_height="wrap_content">
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/linearvarientname"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone"
|
|
android:layout_weight="1">
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:hint="Variant Name"
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense.ExposedDropdownMenu">
|
|
<AutoCompleteTextView
|
|
android:id="@+id/selectvariantname"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="none" />
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/productnameAdd"
|
|
android:layout_width="@dimen/sp_150"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/dimen_10dp"
|
|
android:layout_marginTop="5dp">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/add_circle">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:background="@drawable/border_top_radius"
|
|
android:layout_weight="24">
|
|
|
|
<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:layout_gravity="center"
|
|
android:padding="10dp"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Product Name"
|
|
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="Qty"
|
|
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="Uom"
|
|
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="Purchase Rate"
|
|
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="Purchase Discount"
|
|
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="Amount"
|
|
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="Manufacture Date"
|
|
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="Expire Date"
|
|
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="MRP"
|
|
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=" Retail Price"
|
|
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="Amount Per Piece"
|
|
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="Number of Piece inside"
|
|
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="WS Price"
|
|
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="Offer Price"
|
|
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="special Price"
|
|
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="Received Qty"
|
|
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="Rejected Qty"
|
|
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="Accepted Qty"
|
|
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="FreeQty"
|
|
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="Batch 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="Model 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="Model Datas"
|
|
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="Action"
|
|
android:textColor="@color/black"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="vertical">
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/recyclerview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:gravity="end"
|
|
android:layout_marginBottom="20dp"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent">
|
|
|
|
<Button
|
|
android:id="@+id/submit_btn"
|
|
android:layout_width="150dp"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/submit_btn"
|
|
android:text="Submit"
|
|
android:layout_margin="20dp"
|
|
android:textColor="@color/white"
|
|
android:fontFamily="@font/popins_bold"/>
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |