fragment_ce_ping.xml 3.24 KB
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/bgColor"
    tools:context="com.shunzhi.parent.ui.fragment.CePingFragment">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="?android:actionBarSize"
        android:background="@color/titleColor"
        >
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:text="杭州"
            android:gravity="center"
            android:textColor="@color/textColor"
            android:paddingLeft="@dimen/size_dp_15"
            android:drawableRight="@drawable/pull"
            android:drawablePadding="@dimen/size_dp_5"
            android:textSize="@dimen/textSize16"
            android:id="@+id/tvLocalAddress"
            />

        <TextView
            style="@style/TextView_Wrap_16"
            android:layout_gravity="center"
            android:gravity="center"
            android:text="@string/ceping"
            android:textColor="@color/textColor"
            />


        <ImageView
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:src="@drawable/camera"
            android:layout_gravity="right"
            android:paddingRight="@dimen/size_dp_15"
            android:paddingLeft="@dimen/size_dp_15"
            android:id="@+id/ivCamera"
            />

    </FrameLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@drawable/shape_bg_radius8"
        android:orientation="vertical"
        android:layout_margin="@dimen/size_dp_10"
        >


        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="horizontal"
            >

        <com.shunzhi.parent.views.TextAndImgShowView
            android:id="@+id/textAndImg1"
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content">

        </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg2"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="wrap_content">

            </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg3"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="wrap_content">

            </com.shunzhi.parent.views.TextAndImgShowView>

            <com.shunzhi.parent.views.TextAndImgShowView
                android:id="@+id/textAndImg4"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="wrap_content">

            </com.shunzhi.parent.views.TextAndImgShowView>

        </LinearLayout>


    </LinearLayout>

</LinearLayout>