169 lines
7.1 KiB
XML
169 lines
7.1 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">
|
||
|
|
|
||
|
|
|
||
|
|
<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="15dp"
|
||
|
|
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_marginStart="@dimen/dp_3"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/activityname"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Allocated Product Details"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="18dp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:id="@+id/closeRlt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginRight="3dp"
|
||
|
|
android:layout_marginBottom="4dp"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/closeImg"
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:src="@drawable/close_1"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintRight_toRightOf="parent" />
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<HorizontalScrollView
|
||
|
|
android:id="@+id/horizontalonly"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:scrollbars="none"
|
||
|
|
android:fillViewport="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/horizonalLL"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/grey_border_blueborder"
|
||
|
|
android:divider="@drawable/custom_divider"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:showDividers="middle">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginStart="8dp"
|
||
|
|
android:layout_weight="2.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="start"
|
||
|
|
android:paddingVertical="5dp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:text="Product Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="15sp" />
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginStart="8dp"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingVertical="5dp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:text="Product Quantity"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="15sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/nodataImg"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:visibility="visible">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/dynamicContainer"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</HorizontalScrollView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|