<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/frameMore"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/plain_white">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerHeader"
android:layout_width="0dp"
android:layout_height="?actionBarSize"
android:background="@color/white"
android:elevation="@dimen/elevation_medium"
android:orientation="horizontal"
android:paddingTop="@dimen/default_padding_12"
android:paddingBottom="@dimen/default_padding_12"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.0">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/button_close"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_medium"
android:background="?selectableItemBackgroundBorderless"
android:padding="8dp"
android:src="@drawable/back_arrow_white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tint="@color/black" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/chooseRestaurantLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gt_walsheim_regular"
android:text="@string/my_order"
android:textColor="@color/black"
android:textSize="@dimen/text_size_16sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toTopOf="@+id/containerPlaceOrder"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/containerHeader">
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:fontFamily="@font/gt_walsheim_bold"
android:padding="@dimen/_16sdp"
android:text="@string/pick_up_from"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/divState"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/textTitle" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerState"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:paddingVertical="@dimen/_10sdp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divState">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textStateName"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginTop="@dimen/_4sdp"
android:fontFamily="@font/gt_walsheim_regular"
android:textColor="@color/charcoal"
android:textSize="@dimen/_11ssp"
app:layout_constraintEnd_toStartOf="@+id/text_change"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RelativeOverlap"
tools:text="139 Bridge Rd, Richmond" />
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginVertical="@dimen/_6sdp"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@id/textStateName"
app:layout_constraintTop_toBottomOf="@id/textStateName">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textRestaurantAddress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:alpha="65"
android:ellipsize="end"
android:fontFamily="@font/gt_walsheim_regular"
android:lines="1"
android:maxLines="1"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
tools:text="139 Bridge Rd, Richmond" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textRestaurantNumber"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="65"
android:ellipsize="end"
android:fontFamily="@font/gt_walsheim_regular"
android:lines="1"
android:maxLines="1"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
tools:text="000000000" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textRestaurantDate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="65"
android:ellipsize="end"
android:fontFamily="@font/gt_walsheim_regular"
android:lines="1"
android:maxLines="1"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
tools:text="13 April 2017" />
</androidx.appcompat.widget.LinearLayoutCompat>
<TextView
android:id="@+id/text_change"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_4"
android:layout_marginEnd="@dimen/margin_16"
android:fontFamily="@font/gt_walsheim_regular"
android:lineSpacingExtra="8sp"
android:text="@string/change"
android:textColor="@color/warm_grey"
android:textSize="@dimen/text_size_16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RelativeOverlap" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id="@+id/divOrderFor"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/containerState" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textOrderFor"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:fontFamily="@font/gt_walsheim_bold"
android:padding="@dimen/_16sdp"
android:text="@string/pick_up_time"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:layout_constraintTop_toBottomOf="@id/divOrderFor" />
<View
android:id="@+id/divOrderSchedule"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/textOrderFor" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerOrderSchedule"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:paddingVertical="@dimen/_10sdp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divOrderSchedule">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textOrderSchedule"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginTop="@dimen/_4sdp"
android:fontFamily="@font/gt_walsheim_regular"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintEnd_toStartOf="@id/text_change_schedule"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RelativeOverlap"
tools:text="@string/as_soon_as_possible" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textSwingByTime"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginTop="@dimen/_6sdp"
android:fontFamily="@font/gt_walsheim_bold"
android:textColor="@color/black"
android:textSize="@dimen/_10ssp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textOrderSchedule" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textRestaurantAvgOrderTime"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginBottom="@dimen/_6sdp"
android:alpha="65"
android:fontFamily="@font/gt_walsheim_regular"
android:textColor="@color/bg_green_color"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textSwingByTime" />
<TextView
android:id="@+id/text_change_schedule"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_4"
android:layout_marginEnd="@dimen/margin_16"
android:fontFamily="@font/gt_walsheim_regular"
android:lineSpacingExtra="8sp"
android:text="@string/change"
android:textColor="@color/warm_grey"
android:textSize="@dimen/text_size_16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RelativeOverlap" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id="@+id/divCarDetailsLabel"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/containerOrderSchedule" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textCarDetails"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:fontFamily="@font/gt_walsheim_bold"
android:padding="@dimen/_16sdp"
android:text="@string/car_details"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:layout_constraintTop_toBottomOf="@id/divCarDetailsLabel" />
<View
android:id="@+id/divCarDetails"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/textCarDetails" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerCarDetails"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:paddingHorizontal="@dimen/_12sdp"
android:paddingVertical="@dimen/_10sdp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divCarDetails">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerEmptyCarDetails"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textAddCarLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/gt_walsheim_regular"
android:lineSpacingExtra="8sp"
android:text="@string/add_car"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textCarRequiredLabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:fontFamily="@font/gt_walsheim_regular"
android:lineSpacingExtra="8sp"
android:text="@string/required"
android:textColor="@color/donate_red"
android:textSize="@dimen/_10ssp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textAddCarLabel" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_24"
android:layout_marginTop="@dimen/margin_4"
android:layout_marginEnd="@dimen/margin_24"
android:drawablePadding="@dimen/margin_24"
android:fontFamily="@font/gt_walsheim_regular"
android:lineSpacingExtra="8sp"
android:text="@string/we_need_your_car_details_so_that_we_can_locate_you_when_it_s_time_to_deliver_your_swing_by_order"
android:textColor="@color/warm_grey"
android:textSize="@dimen/text_14sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textCarRequiredLabel" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerNonEmptyCarDetails"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textCarRegistration"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/_12sdp"
android:fontFamily="@font/gt_walsheim_bold"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintEnd_toStartOf="@id/textChangeCar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="TFS 676" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textCarModel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginVertical="@dimen/_6sdp"
android:fontFamily="@font/gt_walsheim_regular"
android:textColor="@color/warm_grey"
android:textSize="@dimen/_10ssp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textCarRegistration"
tools:text="White Volkswagen Golf" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textChangeCar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/gt_walsheim_regular"
android:text="@string/change"
android:textColor="@color/warm_grey"
android:textSize="@dimen/_12ssp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id="@+id/divOrderSummaryLabel"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/containerCarDetails" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_order_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:fontFamily="@font/gt_walsheim_bold"
android:padding="@dimen/_16sdp"
android:text="@string/order_summary"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:layout_constraintTop_toBottomOf="@id/divOrderSummaryLabel" />
<View
android:id="@+id/divOrderSummary"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/tv_order_summary" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycle_view_order_summary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:nestedScrollingEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divOrderSummary"
tools:itemCount="1"
tools:listitem="@layout/item_order_summary" />
<View
android:id="@+id/divider6"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/recycle_view_order_summary" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerPromoCode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divider6">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textAddPromoCode"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:fontFamily="@font/font_walsheim_regular"
android:padding="@dimen/_16sdp"
android:text="@string/got_relish_benefits_redeem_here"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:drawableEndCompat="@drawable/ic_grey_arrow_right"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textPromoLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_16sdp"
android:layout_marginBottom="@dimen/_16sdp"
android:background="@color/white"
android:fontFamily="@font/font_walsheim_regular"
android:paddingVertical="@dimen/_6sdp"
android:text="@string/promo_applied"
android:textColor="@color/light_olive_green"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@+id/textAddPromoCode"
app:layout_constraintTop_toBottomOf="@+id/textAddPromoCode" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textPromoAmount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/_16sdp"
android:layout_marginBottom="@dimen/_16sdp"
android:background="@color/white"
android:fontFamily="@font/font_walsheim_regular"
android:textColor="@color/light_olive_green"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/textAddPromoCode"
tools:text="-$0.05" />
<View
android:layout_width="match_parent"
android:layout_height="@dimen/margin_divider"
android:background="@color/divider_color"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/containerTotal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:padding="@dimen/_16sdp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/containerPromoCode">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textSubTotalLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:text="@string/subtotal"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintEnd_toStartOf="@id/textSubTotal"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textSubTotal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:gravity="center"
android:lines="1"
android:maxLines="1"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintBottom_toBottomOf="@+id/textSubTotalLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textSubTotalLabel"
tools:text="0.0" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textDeliveryFeeLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:text="@string/delivery_fee"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textHolidaySurchargeLabel" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textDeliveryFee"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:gravity="center"
android:maxLines="2"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintBottom_toBottomOf="@+id/textDeliveryFeeLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textDeliveryFeeLabel"
tools:text="0.0" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textServiceFeeLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:text="@string/service_fee"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textDeliveryFeeLabel" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textServiceFee"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:gravity="center"
android:maxLines="2"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
app:layout_constraintBottom_toBottomOf="@+id/textServiceFeeLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textServiceFeeLabel"
tools:text="0.0" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textHolidaySurchargeLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:text="@string/public_holiday_surcharge"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
android:visibility="gone"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textSubTotalLabel"
tools:visibility="visible" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textHolidaySurcharge"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_regular"
android:gravity="center"
android:maxLines="2"
android:textColor="@color/charcoal"
android:textSize="@dimen/_12ssp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/textHolidaySurchargeLabel"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textHolidaySurchargeLabel"
tools:text="0.0"
tools:visibility="visible" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textTotalLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_bold"
android:text="@string/total"
android:textColor="@color/charcoal"
android:textSize="@dimen/_13ssp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/textServiceFeeLabel" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textTotalPrice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/font_walsheim_bold"
android:gravity="center"
android:maxLines="2"
android:textColor="@color/charcoal"
android:textSize="@dimen/_13ssp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textTotalLabel"
tools:text="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/margin_divider"
android:background="@color/divider_color"
app:layout_constraintBottom_toBottomOf="@id/containerTotal" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/textSpecialInstructions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/plain_white"
android:fontFamily="@font/gt_walsheim_bold"
android:padding="@dimen/_16sdp"
android:text="@string/special_instructions"
android:textAllCaps="true"
android:textColor="@color/charcoal"
android:textSize="@dimen/_10ssp"
app:layout_constraintTop_toBottomOf="@id/containerTotal" />
<View
android:id="@+id/divInstruction"
android:layout_width="match_parent"
android:layout_height="@dimen/margin_divider"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@+id/textSpecialInstructions" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/containerInstruction"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/divInstruction">
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/edit_text_special_instructions"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_16"
android:layout_marginTop="@dimen/margin_20"
android:layout_marginEnd="@dimen/margin_16"
android:background="@null"
android:fontFamily="@font/font_walsheim_regular"
android:hint="@string/write_any_special_instructions_here"
android:imeOptions="actionDone"
android:inputType="text"
android:maxLength="@integer/special_instructions_max_length"
android:textSize="@dimen/_12ssp" />
<View
android:id="@+id/divSpecialInstructions"
android:layout_width="match_parent"
android:layout_height="@dimen/margin_divider"
android:layout_marginTop="@dimen/margin_20"
android:background="@color/divider_color" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.core.widget.NestedScrollView>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/containerPlaceOrder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0">
<View
android:id="@+id/divPlaceOrder"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/divider_color"
app:layout_constraintTop_toBottomOf="@id/tv_title" />
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/button_checkout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_16"
android:layout_marginBottom="@dimen/margin_17"
android:background="@drawable/button_red_selector"
android:orientation="horizontal"
android:padding="@dimen/margin_16">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/gt_walsheim_medium"
android:text="@string/place_order"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="@dimen/text_size_16sp" />
<TextView
android:id="@+id/label_button_total_price"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/font_walsheim_bold"
android:gravity="end"
android:maxLines="2"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="@dimen/text_size_20sp"
tools:text="$10.00" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/btmSheetPickupTime"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:clickable="true"
android:elevation="@dimen/margin_8"
android:focusable="true"
android:orientation="vertical"
android:visibility="visible"
app:behavior_hideable="true"
app:behavior_peekHeight="0dp"
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
app:layout_constraintTop_toBottomOf="parent">
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:background="@color/white"
android:paddingStart="@dimen/default_padding_16"
android:paddingTop="@dimen/default_padding_16"
android:paddingEnd="@dimen/default_padding_16"
android:paddingBottom="@dimen/default_padding_16"
android:src="@drawable/slider_icon"
android:visibility="visible" />
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_16"
android:layout_marginTop="@dimen/margin_16"
android:fontFamily="@font/gt_walsheim_bold"
android:text="@string/schedule_for_later"
android:textSize="@dimen/text_size_20sp" />
<TimePicker
android:id="@+id/time_picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="@dimen/margin_12"
android:timePickerMode="spinner" />
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/button_save"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_16"
android:background="@color/donate_red"
android:text="@string/save"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="@dimen/text_size_16sp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/button_asap"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/margin_15"
android:fontFamily="@font/gt_walsheim_medium"
android:text="@string/as_soon_as_possible"
android:textColor="@color/donate_red"
android:textSize="@dimen/text_size_16sp" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/button_cancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="@dimen/margin_15"
android:fontFamily="@font/gt_walsheim_medium"
android:text="@string/cancel"
android:textSize="@dimen/text_size_16sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>