364 lines
13 KiB
XML
364 lines
13 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/navBarIcons"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginRight="@dimen/dp_5"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/reprint"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<ImageView
|
||
|
|
android:visibility="visible"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/reprint">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/quickAdd"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<ImageView
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/quickadd">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:id="@+id/holdrecallNavbarparent"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/holdimage"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:src="@drawable/baseline_back_hand_24" />
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/hold_rel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
|
||
|
|
android:id="@+id/hold_img"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
app:tint="@color/selectedGreen"
|
||
|
|
android:src="@drawable/baseline_back_hand_24" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/badgeCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_alignTop="@id/hold_img"
|
||
|
|
android:layout_alignEnd="@id/hold_img"
|
||
|
|
android:layout_marginStart="-8dp"
|
||
|
|
android:layout_marginEnd="-6dp"
|
||
|
|
android:background="@drawable/badge_background"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingStart="4dp"
|
||
|
|
android:paddingEnd="4dp"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="#FFFFFF" />
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/dineIn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dineInimg"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/dinein"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/takeAway"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/takeawayInimg"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:src="@drawable/takeaway"
|
||
|
|
app:tint="@color/selectedGreen">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/offer"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="23dp"
|
||
|
|
android:layout_height="23dp"
|
||
|
|
android:background="@drawable/offer"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/extracharge"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/extrachrgs"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/navbarautocomplete"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/spinnersearchnavbar"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@android:drawable/editbox_background_normal"
|
||
|
|
android:cursorVisible="true"
|
||
|
|
android:drawableEnd="@drawable/dropdown"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:hint="Select customer"
|
||
|
|
android:paddingVertical="@dimen/dp_5"
|
||
|
|
android:textSize="16dp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/navbar2custlist"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:id="@+id/testView"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@android:drawable/editbox_background"
|
||
|
|
android:drawableEnd="@drawable/dropdown"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:hint="Customer Name "
|
||
|
|
android:padding="8dp" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/adcust_Cmn"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/imageadcustnav"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:src="@drawable/addcustomer"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:id="@+id/weightscale"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/weightscaleimg"
|
||
|
|
android:layout_width="22.5dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:background="@drawable/weighscale"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/favItemCart"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_centerHorizontal="false"
|
||
|
|
android:src="@drawable/baseline_favorite_24"
|
||
|
|
app:tint="@color/selectedGreen" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/favItemCount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_alignEnd="@id/favItemCart"
|
||
|
|
android:background="@drawable/badge_background"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/color_white"
|
||
|
|
android:paddingStart="4dp"
|
||
|
|
android:paddingEnd="4dp"
|
||
|
|
android:layout_marginStart="-1dp"
|
||
|
|
android:layout_marginEnd="-15dp"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="3">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/datemonth"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:fontFamily="@font/gilorysemibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Sat, 16 September">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|