| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| | | xmlns:app="http://schemas.android.com/apk/res-auto" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"> |
| | | |
| | |
| | | <!-- android:layout_height="match_parent" />--> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/webViewRL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:layout_above="@+id/bottomLL"> |
| | | android:layout_height="match_parent"> |
| | | |
| | | |
| | | <WebView |
| | |
| | | android:layout_height="match_parent" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/pointCenterImg" |
| | | android:layout_width="26dp" |
| | | android:layout_height="52dp" |
| | | android:layout_centerHorizontal="true" |
| | | android:layout_centerVertical="true" |
| | | android:paddingBottom="26dp" |
| | | android:src="@drawable/ic_center_pin" /> |
| | | android:src="@drawable/ic_center_pin" |
| | | android:visibility="gone" /> |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | |
| | | </RelativeLayout> |
| | | |
| | | |
| | | |
| | | <com.example.expand_button.CustomSearchBar |
| | | android:id="@+id/searchButton" |
| | | android:layout_width="40dp" |
| | | android:layout_height="40dp" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_below="@+id/inspectRL" |
| | | android:layout_marginTop="20dp" |
| | | android:layout_marginRight="15dp" |
| | | android:background="@drawable/ic_blue_background_down" |
| | | android:textColor="@color/white" |
| | | android:textSize="18sp" /> |
| | | |
| | | |
| | | <TextView |
| | | android:id="@+id/inspectButton" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:minWidth="40dp" |
| | | android:layout_below="@+id/searchButton" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_marginTop="80dp" |
| | | android:layout_marginTop="10dp" |
| | | android:layout_marginRight="15dp" |
| | | android:background="@drawable/ic_blue_background" |
| | | android:padding="10dp" |
| | | android:gravity="center" |
| | | android:text="巡" |
| | | android:textColor="@color/white" |
| | | android:textSize="18sp" /> |
| | |
| | | <TextView |
| | | android:id="@+id/putButton" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="40dp" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_marginTop="140dp" |
| | | android:layout_marginTop="10dp" |
| | | android:layout_below="@+id/inspectButton" |
| | | android:layout_marginRight="15dp" |
| | | android:background="@drawable/ic_green_bg" |
| | | android:padding="10dp" |
| | | android:text="报" |
| | | android:minWidth="40dp" |
| | | android:gravity="center" |
| | | android:textColor="@color/white" |
| | | android:textSize="18sp" /> |
| | | |
| | | <com.example.expand_button.ExpandButton |
| | | android:id="@+id/expandButton" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_marginTop="10dp" |
| | | android:layout_marginRight="15dp" |
| | | android:layout_marginLeft="15dp" |
| | | android:layout_below="@+id/putButton" |
| | | android:background="@drawable/ic_green_bg" |
| | | android:textColor="@color/white" |
| | | android:textSize="18sp" |
| | | app:animDuration="300" |
| | | app:collapsedText="例" |
| | | app:letterSpacing="10dp" |
| | | app:expandedTextSize="12sp"/> |
| | | |
| | | <RelativeLayout |
| | | android:id="@+id/pointRL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="35dp" |
| | | android:layout_above="@+id/bottomLL" |
| | | android:background="@color/white"> |
| | | android:background="@color/white" |
| | | android:visibility="gone"> |
| | | |
| | | <TextView |
| | | android:id="@+id/pointCancel" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginLeft="5dp" |
| | | android:padding="5dp" |
| | | android:text="取消" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/pointText" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_centerHorizontal="true" |
| | | android:layout_centerVertical="true" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/pointEdt" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentRight="true" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginRight="5dp" |
| | | android:padding="5dp" |
| | | android:text="修改" |
| | | android:textColor="@color/base_blue" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </RelativeLayout> |
| | | |
| | | <LinearLayout |
| | |
| | | android:layout_height="120dp" |
| | | android:layout_alignParentBottom="true" |
| | | android:background="@color/white" |
| | | android:orientation="horizontal" |
| | | android:orientation="vertical" |
| | | android:visibility="gone"> |
| | | |
| | | <View |
| | | android:layout_width="match_parent" |
| | | android:layout_height="2px" |
| | | android:background="@color/line_bg" /> |
| | | |
| | | <ScrollView |
| | | android:layout_width="match_parent" |
| | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="25dp" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal"> |
| | | |
| | |
| | | android:layout_height="25dp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginRight="10dp" |
| | | android:padding="3dp" |
| | | android:src="@drawable/ic_intake" /> |
| | | |
| | | <TextView |
| | |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:id="@+id/deviceStateLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="设备:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/deviceState" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="未知" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:id="@+id/rtuAddressLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="RTU地址:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/rtuAddress" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="未知" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="25dp" |
| | | android:gravity="center_vertical" |
| | | android:orientation="horizontal"> |
| | | |
| | |
| | | android:id="@+id/lng" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_weight="4" |
| | | android:ellipsize="end" |
| | | android:text="" |
| | | android:maxLines="1" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | |
| | | android:id="@+id/lat" |
| | | android:layout_width="0dp" |
| | | android:layout_height="wrap_content" |
| | | android:layout_weight="1" |
| | | android:layout_weight="4" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="" |
| | | android:textColor="@color/manage_item_text" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <ImageView |
| | | android:id="@+id/editePoint" |
| | | android:layout_width="0dp" |
| | | android:layout_weight="1" |
| | | android:layout_height="wrap_content" |
| | | android:padding="2dp" |
| | | android:src="@drawable/ic_edit_btn" /> |
| | | </LinearLayout> |
| | | |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/headerLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:padding="5dp" |
| | | android:src="@drawable/ic_edit_btn" /> |
| | | android:text="负责人:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/header" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:id="@+id/phoneLL" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="25dp" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:text="联系电话:" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | |
| | | <TextView |
| | | android:id="@+id/phone" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:ellipsize="end" |
| | | android:maxLines="1" |
| | | android:text="" |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:layout_height="25dp" |
| | | android:layout_marginBottom="10dp" |
| | | android:gravity="start" |
| | | android:gravity="center" |
| | | android:orientation="horizontal"> |
| | | |
| | | <TextView |
| | |
| | | android:textColor="@color/black" |
| | | android:textSize="@dimen/common_text_size_little" /> |
| | | </LinearLayout> |
| | | |
| | | </LinearLayout> |
| | | |
| | | </ScrollView> |