680 lines
24 KiB
XML
680 lines
24 KiB
XML
|
|
<?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"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:paddingVertical="4dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:id="@+id/homeimage"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:src="@drawable/noun_home"
|
||
|
|
app:tint="@color/layoutBlueTheme"
|
||
|
|
android:scaleType="fitXY"
|
||
|
|
android:visibility="visible">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/otherservise"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginRight="5dp"
|
||
|
|
android:layout_weight="0.4"
|
||
|
|
android:background="@drawable/border_5dpradius"
|
||
|
|
android:backgroundTint="@color/selectedGreen"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="P"
|
||
|
|
android:textColor="@color/white" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/otherservisebased"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/search"
|
||
|
|
android:layout_marginHorizontal="20dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/search_box"
|
||
|
|
android:backgroundTint="@color/selectedGreen"
|
||
|
|
android:layout_weight="4">
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/et_search_nav2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:hint="Search Products"
|
||
|
|
android:background="@null"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textColorHint="@color/black"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:drawableRight="@drawable/search"
|
||
|
|
android:backgroundTint="@color/black">
|
||
|
|
|
||
|
|
</EditText>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_marginHorizontal="20dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:id="@+id/searchComboLL"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/search_box"
|
||
|
|
android:backgroundTint="@color/selectedGreen"
|
||
|
|
android:layout_weight="3">
|
||
|
|
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/searchComboProduct"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.9"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:drawableRight="@drawable/search"
|
||
|
|
android:hint="Product Name"
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
android:background="@null"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
>
|
||
|
|
</AutoCompleteTextView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/comboBooking"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/comboIV"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:tint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:src="@drawable/combo_product">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/reprint"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
|
||
|
|
android:layout_width="26dp"
|
||
|
|
android:layout_height="27dp"
|
||
|
|
android:background="@drawable/baseline_print_24"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/holdrecallNavbarparent"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/holdimage"
|
||
|
|
android:visibility="gone"
|
||
|
|
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: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="-8dp"
|
||
|
|
android:background="@drawable/badge_background"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingStart="4dp"
|
||
|
|
android:paddingEnd="4dp"
|
||
|
|
android:text="5"
|
||
|
|
android:textColor="#FFFFFF" />
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/quickAdd"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
android:layout_weight="0.5">
|
||
|
|
<ImageView
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="21dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:background="@drawable/baseline_add_circle_24"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
>
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/vector_103"
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="@dimen/_20dp"
|
||
|
|
android:backgroundTint="@color/black"
|
||
|
|
android:background="@drawable/nav_border2"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/dineIn"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:layout_weight="0.5">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/dineInimgS"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/dinein"
|
||
|
|
app:tint="@color/layoutBlueTheme">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/takeAway"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/takeawayInimgS"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:src="@drawable/takeaway"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"
|
||
|
|
app:tint="@color/selectedGreen">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginRight="@dimen/sp_15"
|
||
|
|
android:id="@+id/preOrder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/preOrderIV"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_centerHorizontal="false"
|
||
|
|
android:src="@drawable/baseline_access_time_24"
|
||
|
|
app:tint="@color/layoutBlueTheme" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/preOrderTV"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_alignEnd="@id/preOrderIV"
|
||
|
|
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>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/offer"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<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:id="@+id/Dragger"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
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>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/extracharge"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginBottom="2dp"
|
||
|
|
android:layout_marginHorizontal="15dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<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:id="@+id/weightscale"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/weightscaleimg"
|
||
|
|
android:layout_width="23.3dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/weighscale"
|
||
|
|
app:tint="@color/red"
|
||
|
|
android:baselineAligned="false"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:id="@+id/Estimateonclick"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="28dp"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/cash_card_btn"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/notpopupestimate"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="28dp"
|
||
|
|
android:layout_margin="1dp"
|
||
|
|
android:id="@+id/estimateIV"
|
||
|
|
android:src="@drawable/sales"
|
||
|
|
app:tint="@color/selectedGreen"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/popupestimate"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="28dp"
|
||
|
|
android:src="@drawable/uparroww"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginStart="3dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="2.5">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:id="@+id/navbarautocomplete"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<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:drawableEnd="@drawable/dropdown"
|
||
|
|
android:cursorVisible="true"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:paddingVertical="7dp"
|
||
|
|
android:hint="Select customer"
|
||
|
|
android:textSize="16dp" />
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginStart="35dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:id="@+id/navbar2custlist"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="2.5">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:id="@+id/testView"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="2.5"
|
||
|
|
android:visibility="visible"
|
||
|
|
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="7dp" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/adcust_Cmn"
|
||
|
|
android:visibility="visible"
|
||
|
|
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>
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginHorizontal="10dp"
|
||
|
|
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="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:layout_marginHorizontal="3dp"
|
||
|
|
android:padding="@dimen/dp_5"
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:id="@+id/settings"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:background="@drawable/settings"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/userlogin"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.5">
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginRight="15dp"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:background="@drawable/user">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|