Newer
Older
Meterage / app / src / main / res / layout / fragment_device_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/standardCodeView"
                    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/standardNameView"
                    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/projectCodeView"
                    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/constStdProjView"
                    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/preparationDateView"
                    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/categoryView"
                    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/standardLevelView"
                    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/transmitRangeView"
                    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/totalInvestmentView"
                    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/organizeCodeView"
                    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/constructUnitView"
                    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/standardOwnerNameView"
                    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/metrologyView"
                    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/managerStateView"
                    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/assessmentUnitView"
                    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/appraisalDateView"
                    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/uncertaintyView"
                    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/measureRangeView"
                    style="@style/detailTextViewStyle"
                    android:text="@string/loading_value" />
            </RelativeLayout>

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

            <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="@dimen/dp_125"
                android:background="@drawable/bg_solid_layout_white_radius_10">

                <TextView
                    style="@style/textViewStyle"
                    android:text="环境条件" />

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:layout_marginStart="115dp"
                    android:orientation="vertical">

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        android:orientation="horizontal">

                        <TextView
                            style="@style/textViewStyle"
                            android:text="标准温度" />

                        <TextView
                            android:id="@+id/stdTempView"
                            android:layout_width="wrap_content"
                            android:layout_height="match_parent"
                            android:layout_marginStart="@dimen/dp_15"
                            android:gravity="center_vertical"
                            android:text="@string/loading_value"
                            android:textColor="@color/black"
                            android:textColorHint="@color/hintColor"
                            android:textSize="@dimen/sp_14" />

                        <TextView
                            style="@style/textViewStyle"
                            android:text="°C" />
                    </LinearLayout>

                    <LinearLayout
                        android:layout_width="match_parent"
                        android:layout_height="0dp"
                        android:layout_weight="1"
                        android:orientation="horizontal">

                        <TextView
                            style="@style/textViewStyle"
                            android:text="标准湿度" />

                        <TextView
                            android:id="@+id/stdHumidityView"
                            android:layout_width="wrap_content"
                            android:layout_height="match_parent"
                            android:layout_marginStart="@dimen/dp_15"
                            android:gravity="center_vertical"
                            android:text="@string/loading_value"
                            android:textColor="@color/black"
                            android:textColorHint="@color/hintColor"
                            android:textSize="@dimen/sp_14" />

                        <TextView
                            style="@style/textViewStyle"
                            android:text="%" />
                    </LinearLayout>
                </LinearLayout>
            </RelativeLayout>

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

            <RelativeLayout style="@style/itemLayoutStyle">

                <TextView
                    style="@style/textViewStyle"
                    android:text="有效日期" />

                <TextView
                    android:id="@+id/effectiveDateView"
                    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/documentsView"
                    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>
        </LinearLayout>
    </androidx.core.widget.NestedScrollView>
</LinearLayout>