Newer
Older
Detector / app / src / main / res / layout / include_pipeline.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="wrap_content"
    android:orientation="vertical">

    <LinearLayout
        android:id="@+id/pointTypeLayout"
        android:layout_width="match_parent"
        android:layout_height="@dimen/titleViewHeight"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            style="@style/leftImageStyle"
            android:src="@mipmap/icon3" />

        <TextView
            style="@style/textViewStyle"
            android:text="管线种类:" />

        <com.pengxh.kt.lite.widget.DeleteEditText
            android:id="@+id/markerObjectTypeView"
            style="@style/inputEditTextStyle" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/pointMaterialLayout"
        android:layout_width="match_parent"
        android:layout_height="@dimen/titleViewHeight"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            style="@style/leftImageStyle"
            android:src="@mipmap/icon3" />

        <TextView
            style="@style/textViewStyle"
            android:text="管线材质:" />

        <Spinner
            android:id="@+id/materialSpinner"
            style="@style/spinnerStyle" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/titleViewHeight"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            style="@style/leftImageStyle"
            android:src="@mipmap/icon3" />

        <TextView
            style="@style/textViewStyle"
            android:text="管线直径:" />

        <com.pengxh.kt.lite.widget.DeleteEditText
            android:id="@+id/pipelineDiameterView"
            style="@style/inputEditTextStyle"
            android:inputType="numberDecimal" />

        <TextView
            style="@style/textViewStyle"
            android:layout_gravity="center_vertical"
            android:layout_marginHorizontal="3dp"
            android:text="mm"
            android:textSize="@dimen/sp_16" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/titleViewHeight"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            style="@style/leftImageStyle"
            android:src="@mipmap/icon3" />

        <TextView
            style="@style/textViewStyle"
            android:text="管线埋深:" />

        <com.pengxh.kt.lite.widget.DeleteEditText
            android:id="@+id/buryDeepView"
            style="@style/inputEditTextStyle"
            android:inputType="numberDecimal" />

        <TextView
            style="@style/textViewStyle"
            android:layout_gravity="center_vertical"
            android:layout_marginHorizontal="3dp"
            android:text="mm"
            android:textSize="@dimen/sp_16" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/titleViewHeight"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            style="@style/leftImageStyle"
            android:src="@mipmap/icon3" />

        <TextView
            style="@style/textViewStyle"
            android:text="埋设方式:" />

        <Spinner
            android:id="@+id/buryTypeSpinner"
            style="@style/spinnerStyle" />
    </LinearLayout>
</LinearLayout>