536 lines
17 KiB
XML
536 lines
17 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:layout_margin="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:fontFamily="@font/popins_bold"
|
|
android:gravity="center"
|
|
android:text="Expire / Low Stock Alerts"
|
|
android:textColor="@color/black"
|
|
android:textSize="16dp">
|
|
|
|
</TextView>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="end">
|
|
|
|
<ImageView
|
|
android:id="@+id/Expire_low_Cancel"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/close_1" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<com.google.android.flexbox.FlexboxLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
app:flexWrap="wrap"
|
|
app:alignItems="center"
|
|
app:justifyContent="flex_start"
|
|
android:background="@drawable/kiosk_grey_border"
|
|
android:layout_marginTop="5dp"
|
|
android:paddingHorizontal="5dp"
|
|
app:flexDirection="row">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/Expired_lay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="@drawable/newbacground"
|
|
android:gravity="center_vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="150dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:padding="2dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:id="@+id/Exp_notification"
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/badge_background"
|
|
android:gravity="center"
|
|
android:text=""
|
|
android:textColor="#FFFFFF"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:visibility="gone"
|
|
android:textSize="8sp"
|
|
android:textStyle="bold"
|
|
android:maxLines="1"
|
|
android:ellipsize="end" />
|
|
|
|
<TextView
|
|
android:id="@+id/Expired_txt"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/dp_15"
|
|
android:fontFamily="@font/gilorylight"
|
|
android:layout_gravity="center"
|
|
android:textColor="@color/black"
|
|
android:text="Expired" />
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/LowStock_lay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="@drawable/kiosk_grey_border"
|
|
android:gravity="center_vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="150dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:padding="2dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:id="@+id/LowStock_notification"
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginHorizontal="5dp"
|
|
android:background="@drawable/badge_background"
|
|
android:gravity="center"
|
|
android:text=""
|
|
android:textColor="#FFFFFF"
|
|
android:visibility="gone"
|
|
android:textSize="8sp"
|
|
android:textStyle="bold"
|
|
android:maxLines="1"
|
|
android:ellipsize="end" />
|
|
|
|
<TextView
|
|
android:id="@+id/LowStock_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/dp_15"
|
|
android:fontFamily="@font/gilorylight"
|
|
android:text="Low Stock"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.flexbox.FlexboxLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="end"
|
|
android:gravity="end"
|
|
android:visibility="visible">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
android:id="@+id/textinput_LowStockExpired"
|
|
android:layout_width="200dp"
|
|
android:layout_height="match_parent"
|
|
android:hint="Search Expired Products"
|
|
app:boxBackgroundColor="@color/white"
|
|
app:boxStrokeColor="#1291ee"
|
|
app:boxStrokeWidth="1dp"
|
|
app:hintAnimationEnabled="true"
|
|
app:hintTextColor="#00BFFF">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/LowStockExpired_search"
|
|
android:layout_width="200dp"
|
|
android:layout_height="match_parent"
|
|
android:background="@null"
|
|
android:textSize="12dp"
|
|
android:fontFamily="@font/popins_regular"
|
|
android:inputType="text"
|
|
android:maxLines="1">
|
|
|
|
</com.google.android.material.textfield.TextInputEditText>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/Expired_Header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:visibility="visible"
|
|
android:background="@drawable/grey_border_blueborder"
|
|
android:divider="@drawable/custom_divider"
|
|
android:orientation="horizontal"
|
|
android:showDividers="middle"
|
|
android:weightSum="7.6">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.6"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Si.No"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Product"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Mfg Date"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Exp Date"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.7"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Qty"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="MRP"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Sell Price"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Notify Days"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/LowStock_Header"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/_20dp"
|
|
android:visibility="gone"
|
|
android:background="@drawable/grey_border_blueborder"
|
|
android:divider="@drawable/custom_divider"
|
|
android:orientation="horizontal"
|
|
android:showDividers="middle"
|
|
android:weightSum="7.6">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.6"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Si.No"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Product"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Mfg Date"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Exp Date"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.7"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Qty"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1.1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Low Stock Limit"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="MRP"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="1"
|
|
android:layout_margin="5dp"
|
|
android:gravity="center">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:fontFamily="@font/popins_medimum"
|
|
android:text="Sell Price"
|
|
android:textColor="@color/black"
|
|
android:textSize="12dp">
|
|
|
|
</TextView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:showDividers="middle">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/Exp_Low_Recycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout> |