Newer
Older
Meterage / app / src / main / res / layout / fragment_entrust_base_info.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="match_parent"
    android:background="@color/white">

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:paddingHorizontal="@dimen/dp_10">

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="委托书编号" />

                <TextView
                    android:id="@+id/entrustCodeView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="送样人" />

                <TextView
                    android:id="@+id/senderView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="联系方式" />

                <TextView
                    android:id="@+id/contactView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="委托单创建时间" />

                <TextView
                    android:id="@+id/entrustCreateView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="预约送达时间" />

                <TextView
                    android:id="@+id/estimateTimeView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="要求检完时间" />

                <TextView
                    android:id="@+id/completedView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="委托方名称" />

                <TextView
                    android:id="@+id/entrustNameView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="委托方电话" />

                <TextView
                    android:id="@+id/entrustContactView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="委托方地址" />

                <TextView
                    android:id="@+id/entrustAddressView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="备注" />

                <TextView
                    android:id="@+id/remarkView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="附件" />

                <TextView
                    android:id="@+id/annexView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

            <include layout="@layout/include_line_view" />

            <TextView
                style="@style/textViewStyle"
                android:layout_width="match_parent"
                android:layout_height="@dimen/dp_60"
                android:text="证书类别" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/typeRecyclerView"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="@dimen/dp_10"
                android:paddingHorizontal="@dimen/dp_5"
                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />

            <include layout="@layout/include_line_view" />

            <LinearLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="是否加急" />

                <RadioGroup
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:layout_marginStart="@dimen/dp_45"
                    android:orientation="horizontal">

                    <RadioButton
                        android:id="@+id/radioButton1"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:clickable="false"
                        android:text="是" />

                    <RadioButton
                        android:id="@+id/radioButton2"
                        android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                        android:clickable="false"
                        android:text="否" />
                </RadioGroup>
            </LinearLayout>

            <include layout="@layout/include_line_view" />

            <TextView
                style="@style/textViewStyle"
                android:layout_width="match_parent"
                android:layout_height="@dimen/dp_60"
                android:text="样品信息" />

            <androidx.recyclerview.widget.RecyclerView
                android:id="@+id/sampleRecyclerView"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
        </LinearLayout>
    </androidx.core.widget.NestedScrollView>
</LinearLayout>