Newer
Older
Meterage / app / src / main / res / layout / fragment_contract_base_info.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    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/contractCodeView"
                    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/contractNameView"
                    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/contractTypeView"
                    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/creatorView"
                    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/deptNameView"
                    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/estimateDateView"
                    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/contractAmountView"
                    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/contractSourceView"
                    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/contractStartView"
                    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/contractEndView"
                    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/firstPartView"
                    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/firstPersonView"
                    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/contractContentView"
                    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>
        </LinearLayout>
    </androidx.core.widget.NestedScrollView>
</LinearLayout>