222 lines
11 KiB
XML
222 lines
11 KiB
XML
|
|
<?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="match_parent"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_margin="@dimen/dp_5">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@drawable/sales_screen_blue_solid_14">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_margin="@dimen/dp_10"
|
||
|
|
android:weightSum="2">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
||
|
|
app:boxStrokeColor="#00BFFF"
|
||
|
|
app:hintAnimationEnabled="true"
|
||
|
|
app:boxBackgroundColor="@android:color/white"
|
||
|
|
app:endIconMode="custom">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/searchpendingproduct"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:inputType="text"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textColorHint="@color/preorder_text_color"
|
||
|
|
android:hint="search pending"/>
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
<!-- <com.google.android.material.textfield.TextInputLayout-->
|
||
|
|
<!-- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"-->
|
||
|
|
<!-- android:layout_width="match_parent"-->
|
||
|
|
<!-- android:layout_height="wrap_content"-->
|
||
|
|
<!-- app:boxStrokeColor="@color/primary_blue"-->
|
||
|
|
<!-- android:padding="5dp"-->
|
||
|
|
<!-- app:hintTextColor="@color/primary_blue"-->
|
||
|
|
<!-- app:boxStrokeWidth="1dp"-->
|
||
|
|
<!-- app:boxBackgroundColor="@color/white"-->
|
||
|
|
<!-- app:hintAnimationEnabled="true">-->
|
||
|
|
|
||
|
|
<!-- <com.google.android.material.textfield.TextInputEditText-->
|
||
|
|
<!-- android:id="@+id/searchpendingproduct"-->
|
||
|
|
<!-- android:layout_width="match_parent"-->
|
||
|
|
<!-- android:layout_height="wrap_content"-->
|
||
|
|
<!-- android:inputType="number"-->
|
||
|
|
<!-- android:maxLines="1"-->
|
||
|
|
<!-- android:hint="Mobile No"-->
|
||
|
|
<!-- android:paddingLeft="8dp"-->
|
||
|
|
<!-- android:paddingRight="8dp"-->
|
||
|
|
<!-- android:fontFamily="@font/inter_500"-->
|
||
|
|
<!-- android:paddingBottom="8dp"-->
|
||
|
|
<!-- android:textColorHint="@color/black"-->
|
||
|
|
<!-- android:textSize="12dp" />-->
|
||
|
|
<!-- </com.google.android.material.textfield.TextInputLayout>-->
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:layout_marginStart="5dp">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
||
|
|
app:boxStrokeColor="#00BFFF"
|
||
|
|
app:hintAnimationEnabled="true"
|
||
|
|
app:boxBackgroundColor="@android:color/white"
|
||
|
|
app:endIconMode="custom"
|
||
|
|
app:endIconDrawable="@drawable/baseline_calendar_month_24">
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/selectpendingdate"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:focusable="false"
|
||
|
|
android:inputType="text"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textColorHint="@color/preorder_text_color"
|
||
|
|
android:hint="selectdate"/>
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<HorizontalScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:showDividers="middle"
|
||
|
|
android:divider="@drawable/custom_divider"
|
||
|
|
android:background="@drawable/border_top_d6d6d6">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="70dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="SI"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Order id"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="150dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Date / Time"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="150dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Customer"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="150dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Order"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:layout_width="150dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Action"
|
||
|
|
android:textSize="15dp"
|
||
|
|
android:padding="08dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
</TextView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/nodatapending"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/nodatafound"
|
||
|
|
android:layout_marginVertical="@dimen/dp_10"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/pendingrecycler"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</HorizontalScrollView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|