<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:orientation="horizontal" android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:padding="@dimen/dimen8"
|
android:foreground="?android:attr/selectableItemBackground">
|
|
<TextView
|
android:id="@+id/tv_no"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="0.5"
|
android:hint="1."
|
android:gravity="center"
|
android:textColor="@color/black" />
|
|
<View
|
android:layout_width="0.1dp"
|
android:layout_height="match_parent"
|
android:background="@color/transStatusBar" />
|
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="6"
|
android:orientation="vertical"
|
android:paddingLeft="@dimen/dimen2"
|
android:paddingRight="@dimen/dimen2"
|
android:layout_toRightOf="@id/tv_no">
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal">
|
<ImageView
|
android:id="@+id/iv_scene_type"
|
android:layout_width="0dp"
|
android:layout_height="20dp"
|
android:layout_gravity="center"
|
android:layout_weight="1"
|
android:src="@drawable/icon_construction" />
|
|
<cn.flightfeather.thirdappmodule.view.ScrollTextView
|
android:id="@+id/tv_town_name"
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="@dimen/dimen2"
|
android:layout_weight="7"
|
android:ellipsize="marquee"
|
android:focusable="true"
|
android:focusableInTouchMode="true"
|
android:hint="项目名称"
|
android:singleLine="true"
|
android:textColor="@color/black"
|
android:textSize="@dimen/textSize_16" />
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="@dimen/dimen2">
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="监管数:"
|
android:textColor="@color/black"
|
android:textSize="@dimen/textSize_16"/>
|
<cn.flightfeather.thirdappmodule.view.ScrollTextView
|
android:id="@+id/tv_total_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:ellipsize="marquee"
|
android:singleLine="true"
|
android:hint="15"/>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="wrap_content"
|
android:layout_weight="1">
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:text="严重不规范:"
|
android:textColor="@color/black"
|
android:textSize="@dimen/textSize_16"/>
|
<cn.flightfeather.thirdappmodule.view.ScrollTextView
|
android:id="@+id/tv_worst_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:hint="10"
|
android:singleLine="true"
|
android:ellipsize="marquee"/>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
|
<View
|
android:layout_width="0.1dp"
|
android:layout_height="match_parent"
|
android:background="@color/transStatusBar" />
|
|
<TextView
|
android:id="@+id/tv_percent"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:textColor="@color/black"
|
android:gravity="center"
|
android:text="30.00%"/>
|
</LinearLayout>
|