PizzeriaApp / app / src / main / res / layout / activity_current_order.xml
activity_current_order.xml
Raw
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.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:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".ui.CurrentOrderActivity">

    <LinearLayout
        android:layout_width="409dp"
        android:layout_height="650dp"
        android:orientation="vertical"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

        <TextView
            android:id="@+id/co_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_title" />

        <TextView
            android:id="@+id/co_order_num"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_order_num" />

        <ListView
            android:id="@+id/co_pizza_listview"
            android:layout_width="match_parent"
            android:layout_height="330dp"
            android:divider="@color/black"
            android:dividerHeight="2dp"
            android:listSelector="@color/colorAccent" />

        <TextView
            android:id="@+id/co_subtotal"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_subtotal" />

        <TextView
            android:id="@+id/co_tax"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_tax" />

        <TextView
            android:id="@+id/co_total"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_total" />

        <Button
            android:id="@+id/co_remove_button"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_remove_button" />

        <Button
            android:id="@+id/co_place_order"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_place_order_button" />

        <Button
            android:id="@+id/co_clear_order"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="@string/co_clear_order_button" />

    </LinearLayout>
</android.support.constraint.ConstraintLayout>