POZO_Retail/app/build/intermediates/merged-not-compiled-resources/release/layout/activity_kotmain.xml

666 lines
26 KiB
XML
Raw Permalink Normal View History

2025-08-26 13:45:32 +05:30
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".masters.kot.KOTMainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="horizontal"
android:weightSum="2.3">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/dp_5"
android:layout_weight="0.1">
<androidx.appcompat.widget.Toolbar
android:id="@+id/tb"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:navigationIcon="?attr/homeAsUpIndicator"
app:titleTextColor="#050505"/>
</LinearLayout>
<LinearLayout
android:layout_marginLeft="10dp"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="0.8">
<TextView
android:layout_weight="1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Kitchen Order Ticket"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textSize="18dp"
android:layout_marginLeft="@dimen/dp_15"
android:textColor="@color/black"
android:textStyle="bold"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="3">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="kot"
android:visibility="invisible"/>
<LinearLayout
android:layout_weight="1"
android:layout_width="0dp"
android:visibility="visible"
android:layout_marginTop="15sp"
android:layout_height="wrap_content"
android:layout_marginRight="10sp"
android:layout_marginLeft="10sp"
android:orientation="vertical"
android:background="@drawable/border">
<com.jaredrummler.materialspinner.MaterialSpinner
android:id="@+id/adminUser"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_margin="1sp"
android:background="@drawable/border"
android:fontFamily="@font/poppins_medium"
android:drawablePadding="5dp"
android:hint="Admin User"
android:textSize="16dp"
app:ms_dropdown_height="wrap_content"
app:ms_dropdown_max_height="350sp"
app:ms_hint="Select Category Type"
tools:ignore="HardcodedText,MissingClass" />
</LinearLayout>
<TextView
android:id="@+id/dateandTime"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/poppins_medium"
android:hint="Date and Time"
android:layout_weight="1"
android:layout_gravity="center"
android:textColor="@color/black"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_margin="@dimen/dp_15"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="3">
<LinearLayout
android:layout_weight="1.5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="4">
<androidx.cardview.widget.CardView
android:id="@+id/orderedCard"
android:layout_width="0dp"
android:layout_marginHorizontal="05dp"
android:layout_height="match_parent"
android:layout_weight="1">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<ImageView
android:layout_width="wrap_content"
android:layout_height="34dp"
android:src="@drawable/ordered" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_gravity="center"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Ordered"
android:fontFamily="@font/poppins_medium"
android:textColor="@color/black"
android:textSize="@dimen/dp_16"
android:layout_marginRight="5dp"/>
<LinearLayout
android:id="@+id/orederedLay"
android:layout_width="25dp"
android:layout_height="25dp"
android:gravity="center"
android:background="@drawable/ellipse_52"
android:orientation="vertical">
<TextView
android:id="@+id/orderData"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1"
android:gravity="center"
android:textColor="@color/white"
android:textSize="12dp"
android:textAlignment="center">
</TextView>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/preparedCard"
android:layout_width="0dp"
android:layout_marginHorizontal="05dp"
android:layout_height="match_parent"
android:layout_weight="1">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:src="@drawable/ordered" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_gravity="center"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Prepared"
android:fontFamily="@font/poppins_medium"
android:textColor="@color/black"
android:textSize="@dimen/dp_16"
android:layout_marginRight="05dp"/>
<LinearLayout
android:id="@+id/preparedLay"
android:visibility="visible"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:gravity="center"
android:background="@drawable/ellipse_52"
android:orientation="vertical">
<TextView
android:id="@+id/preparedData"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1"
android:padding="2dp"
android:gravity="center"
android:textColor="@color/white"
android:textSize="12dp"
android:textAlignment="center">
</TextView>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/servedCard"
android:layout_width="0dp"
android:layout_marginHorizontal="05dp"
android:layout_height="match_parent"
android:layout_weight="0.9">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:src="@drawable/ordered" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_gravity="center"
android:gravity="center">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Served"
android:fontFamily="@font/poppins_medium"
android:textColor="@color/black"
android:textSize="@dimen/dp_16"
android:layout_marginRight="05dp"/>
<LinearLayout
android:id="@+id/servedLay"
android:visibility="visible"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:gravity="center"
android:background="@drawable/ellipse_52"
android:orientation="vertical">
<TextView
android:id="@+id/servedData"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1"
android:padding="2dp"
android:gravity="center"
android:textColor="@color/white"
android:textSize="12dp"
android:textAlignment="center">
</TextView>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
<androidx.cardview.widget.CardView
android:id="@+id/canceledCard"
android:layout_width="0dp"
android:layout_marginHorizontal="05dp"
android:layout_height="match_parent"
android:layout_weight="1.1">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="30dp"
android:src="@drawable/ordered" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_gravity="center"
android:gravity="center"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Cancelled"
android:fontFamily="@font/poppins_medium"
android:textColor="@color/black"
android:textSize="@dimen/dp_16" />
<LinearLayout
android:id="@+id/canceledLay"
android:visibility="visible"
android:layout_width="25dp"
android:layout_height="25dp"
android:layout_gravity="center"
android:gravity="center"
android:background="@drawable/ellipse_52"
android:orientation="vertical">
<TextView
android:id="@+id/canceledData"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1"
android:padding="2dp"
android:gravity="center"
android:textColor="@color/white"
android:textSize="12dp"
android:textAlignment="center">
</TextView>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_marginLeft="10dp"
android:layout_height="match_parent"
android:layout_weight="0.5"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center_vertical|center"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:hint="Search"
app:hintAnimationEnabled="true"
app:boxStrokeColor="#00BFFF"
app:hintTextColor="#00BFFF"
app:boxStrokeWidth="1dp"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/search"
android:layout_width="250dp"
android:layout_height="wrap_content"
android:paddingBottom="13dp"
android:paddingLeft="13dp"
android:paddingRight="13dp"
android:textSize="15sp"
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="1"-->
<!-- android:layout_gravity="center"-->
<!-- android:gravity="right|end">-->
<!-- <com.google.android.material.textfield.TextInputLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- app:hintAnimationEnabled="true"-->
<!-- android:layout_weight="1"-->
<!-- android:hint="Search"-->
<!-- app:boxStrokeColor="#00BFFF"-->
<!-- app:hintTextColor="#00BFFF"-->
<!-- app:boxStrokeWidth="1dp"-->
<!-- style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">-->
<!-- <com.google.android.material.textfield.TextInputEditText-->
<!-- android:id="@+id/search"-->
<!-- android:layout_width="250dp"-->
<!-- android:layout_height="match_parent"-->
<!-- android:paddingBottom="13sp"-->
<!-- android:textSize="15sp"-->
<!-- android:paddingLeft="13sp"-->
<!-- android:paddingRight="13sp"-->
<!-- android:maxLines="1"-->
<!-- android:inputType="text"-->
<!-- android:textColorHint="@color/black"/>-->
<!-- </com.google.android.material.textfield.TextInputLayout>-->
<!-- </LinearLayout>-->
</LinearLayout>
<LinearLayout
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_marginHorizontal="15dp"
android:orientation="horizontal"
android:background="@drawable/border_top_radius"
android:weightSum="8">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="0.5"
android:gravity="center"
android:padding="3dp"
android:text="SL.NO"
android:textSize="12dp"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="3dp"
android:text="BOOKING TYPE"
android:textSize="12dp"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="3dp"
android:text="TABLE NAME"
android:textSize="12dp"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="3dp"
android:textSize="12dp"
android:text="ORDER ID"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:textSize="12dp"
android:padding="3dp"
android:text="MOBILE NO"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="3dp"
android:textSize="12dp"
android:text="ORDER DATE"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1.5"
android:gravity="center"
android:padding="3dp"
android:textSize="12dp"
android:text="STATUS"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
<View
android:layout_width="2dp"
android:layout_height="20dp"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:background="@drawable/nav_border2"/>
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:padding="3dp"
android:textSize="12dp"
android:text="VIEW"
android:fontFamily="@font/poppins_medium"
android:layout_gravity="center"
android:textColor="@color/black" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_marginTop="10dp"
android:layout_gravity="center"
android:background="@color/white"
android:orientation="vertical">
<ImageView
android:id="@+id/noData"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="30dp"
android:layout_gravity="center"
android:src="@drawable/nodatafound"
android:visibility="gone">
</ImageView>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_marginHorizontal="15dp"
android:layout_height="wrap_content">
</androidx.recyclerview.widget.RecyclerView>
</LinearLayout>
</LinearLayout>