328 lines
11 KiB
XML
328 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="wrap_content"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:paddingVertical="10dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/homeimage"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/home"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<TextClock
|
||
|
|
android:layout_marginStart="2dp"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/simpleTextClock"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="9:44:20 AM"
|
||
|
|
android:format12Hour="hh:mm:ss a"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/et_search_nav2"
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:background="@drawable/search_box"
|
||
|
|
android:backgroundTint="@color/selectedGreen"
|
||
|
|
android:drawableRight="@drawable/search"
|
||
|
|
android:hint=" Search "
|
||
|
|
android:focusable="false"
|
||
|
|
android:clickable="false"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textColorHint="@color/black"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</EditText>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:id="@+id/reprint"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/reprint"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="invisible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:visibility="invisible"
|
||
|
|
android:id="@+id/quickAdd"
|
||
|
|
android:gravity="center"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
|
||
|
|
android:layout_width="27dp"
|
||
|
|
android:layout_height="27dp"
|
||
|
|
android:background="@drawable/quickadd">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:id="@+id/holdimage"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:src="@drawable/baseline_back_hand_24" />
|
||
|
|
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:visibility="invisible"
|
||
|
|
android:id="@+id/hold_rel"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginHorizontal="2dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<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/layoutBlueTheme"
|
||
|
|
android:src="@drawable/baseline_back_hand_24" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:visibility="gone"
|
||
|
|
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="-10dp"
|
||
|
|
android:layout_marginEnd="-2dp"
|
||
|
|
android:background="@drawable/badge_background"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingStart="4dp"
|
||
|
|
android:paddingEnd="4dp"
|
||
|
|
android:text="5"
|
||
|
|
android:textColor="#FFFFFF" />
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:id="@+id/dineIn"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:background="@drawable/dinein"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="invisible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:visibility="invisible"
|
||
|
|
android:id="@+id/takeAway"
|
||
|
|
android:gravity="center"
|
||
|
|
android:backgroundTint="@color/selectedGreen"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/takeaway">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:id="@+id/offer"
|
||
|
|
android:layout_width="23dp"
|
||
|
|
android:layout_height="23dp"
|
||
|
|
android:background="@drawable/offer"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="invisible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Dragger"
|
||
|
|
android:layout_width="23dp"
|
||
|
|
android:layout_height="23dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="23dp"
|
||
|
|
android:layout_height="23dp"
|
||
|
|
android:background="@drawable/baseline_back_hand_24"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:id="@+id/extracharge"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_marginBottom="3dp"
|
||
|
|
android:background="@drawable/extrachrgs"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="invisible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/custspinner"
|
||
|
|
android:visibility="invisible"
|
||
|
|
android:layout_width="110dp"
|
||
|
|
android:focusable="false"
|
||
|
|
android:clickable="false"
|
||
|
|
android:textSize="12.2dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@android:drawable/editbox_background"
|
||
|
|
android:drawableEnd="@drawable/dropdown"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:hint="Cust Name "
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/adcust_Cmn"
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="19dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:src="@drawable/addcustomer"
|
||
|
|
android:visibility="invisible" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/weightscale"
|
||
|
|
|
||
|
|
android:layout_width="21dp"
|
||
|
|
android:layout_height="24dp" >
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/weightscaleimg"
|
||
|
|
|
||
|
|
android:layout_width="21dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:background="@drawable/weighscale"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="invisible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/favItemCart"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
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_alignTop="@id/favItemCart"
|
||
|
|
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="-8dp"
|
||
|
|
android:layout_marginEnd="-1dp"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/datemonth"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:fontFamily="@font/gilorysemibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Fri, 1 May">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/userlogin"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:background="@drawable/user">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|