SCRUM第二阶段第三天

今天主要任务是四个分区的ui和功能完善。

<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
android:background="#B4EEB4"
    android:orientation="vertical">

    <TextView
        android:id="@+id/textView10"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="外卖中心"
       android:layout_marginBottom="10dp"
        android:gravity="center"
        android:textSize="30sp"
      android:textStyle="bold"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="10dp">

        <Button
            android:id="@+id/buttonShop_Inside"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="20dp"
            android:background="@drawable/button_selector_01"
            android:text="点我外卖"
            android:textSize="20sp"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/textView11"
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:text="订单总览"
                android:gravity="center"
                android:textSize="15sp"
                android:background="@drawable/shape_orange"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="50dp"/>
            <androidx.appcompat.widget.AppCompatSpinner
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:background="@drawable/shape_blue"
                android:layout_marginLeft="100dp"
                android:layout_marginTop="10dp"
                android:id="@+id/spinner_shop"
                >
            </androidx.appcompat.widget.AppCompatSpinner>

        </LinearLayout>



    </LinearLayout>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="20dp"
        android:id="@+id/listView_shop"
        ></ListView>
</LinearLayout>
<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_margin="10dp"
android:background="#E0FFFF"
    android:orientation="vertical">

    <TextView
        android:id="@+id/textView10"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="其他需求"

        android:gravity="center"
        android:textSize="30sp"
      android:textStyle="bold"
        android:layout_marginBottom="10dp"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="10dp">

        <Button
            android:id="@+id/buttonElse_Inside"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="20dp"
            android:background="@drawable/button_selector_01"
            android:text="点我跑腿"
            android:textSize="20sp"/>
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/textView11"
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:text="订单总览"
                android:gravity="center"
                android:textSize="15sp"
                android:background="@drawable/shape_orange"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="50dp"/>
            <androidx.appcompat.widget.AppCompatSpinner
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:layout_marginLeft="100dp"
                android:layout_marginTop="10dp"
                android:background="@drawable/shape_blue"
                android:id="@+id/spinner_Else"
                >
            </androidx.appcompat.widget.AppCompatSpinner>

        </LinearLayout>



    </LinearLayout>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="20dp"
        android:background="@drawable/blanck_shape"
        android:id="@+id/listView_Else"
        ></ListView>
</LinearLayout>
<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#CDC0B0"
    android:layout_margin="10dp"

    android:orientation="vertical">

    <TextView
        android:id="@+id/textView10"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="快件中心"
        android:textStyle="bold"
        android:gravity="center"
        android:textSize="30sp"

        android:layout_marginBottom="10dp"
        />
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:layout_margin="10dp">

        <Button
            android:id="@+id/buttonDeliver_Inside"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="20dp"
            android:background="@drawable/button_selector_01"
            android:text="我要取快递"
            android:textSize="20sp"
           />
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal">
            <TextView
                android:id="@+id/textView11"
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:text="订单总览"
                android:gravity="center"
                android:textSize="15sp"
                android:background="#f83"
                android:layout_marginTop="10dp"
                android:layout_marginLeft="50dp"/>
            <androidx.appcompat.widget.AppCompatSpinner
                android:layout_width="80dp"
                android:layout_height="50dp"
                android:layout_marginLeft="100dp"
                android:layout_marginTop="10dp"
                android:id="@+id/spinner_deliver"
                android:background="@drawable/button_splash1"
                >
            </androidx.appcompat.widget.AppCompatSpinner>

        </LinearLayout>



    </LinearLayout>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="20dp"
        android:id="@+id/listView_Deliver"

        android:background="@drawable/blanck_shape"
        ></ListView>
</LinearLayout>
<?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"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
android:layout_margin="10dp"
    android:background="#CD96CD"
    android:orientation="vertical">

    <TextView
        android:id="@+id/textView10"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="打印中心"
        android:layout_marginBottom="10dp"
        android:gravity="center"
        android:textSize="30sp"
       android:textStyle="bold"
       />
<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:layout_margin="10dp">

    <Button
        android:id="@+id/buttonPrint_Inside"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="20dp"
        android:layout_marginRight="20dp"
        android:background="@drawable/button_selector_01"
        android:text="点我打印"
        android:textSize="20sp"/>
<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal">
    <TextView
        android:id="@+id/textView11"
        android:layout_width="80dp"
        android:layout_height="50dp"
        android:text="订单总览"
        android:gravity="center"
        android:textSize="15sp"
        android:background="@drawable/shape_orange"
        android:layout_marginTop="10dp"
        android:layout_marginLeft="50dp"/>
    <androidx.appcompat.widget.AppCompatSpinner
        android:layout_width="80dp"
        android:layout_height="50dp"
        android:background="@drawable/shape_blue"
        android:layout_marginLeft="100dp"
        android:layout_marginTop="10dp"
        android:id="@+id/spinner_Print"
        >
    </androidx.appcompat.widget.AppCompatSpinner>

</LinearLayout>



</LinearLayout>

    <ListView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="20dp"

        android:id="@+id/listView_print"
        ></ListView>
</LinearLayout>
原文地址:https://www.cnblogs.com/w669399221/p/13084464.html