268 lines
11 KiB
XML
268 lines
11 KiB
XML
<?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"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipChildren="true"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/ll_base_info"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="150dp"
|
|
android:background="@drawable/shape_blue_bg"
|
|
android:orientation="vertical"
|
|
android:padding="20dp">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_community_name"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textColor="@color/white"
|
|
android:textSize="18dp"
|
|
android:textStyle="bold"
|
|
tools:text="小区名称" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/tv_community_type"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape_tag_yellow"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textColor="@color/white"
|
|
tools:text="住宅" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_community"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="10dp"
|
|
android:background="@drawable/shape_tag_yellow"
|
|
android:paddingLeft="5dp"
|
|
android:paddingRight="5dp"
|
|
android:textColor="@color/white"
|
|
tools:text="正大物业" />
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/ll_base_info"
|
|
android:layout_marginTop="-50dp"
|
|
android:background="@drawable/shape_rectangle_white_top">
|
|
|
|
<com.scwang.smart.refresh.layout.SmartRefreshLayout
|
|
android:id="@+id/srl_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/nsv_content"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginBottom="40dp"
|
|
android:orientation="vertical"
|
|
android:overScrollMode="never"
|
|
android:scrollbars="none">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="20dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="物业名称" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_pro_name"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="物业联系人" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_pro_link_name"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="物业联系方式" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_pro_link_phone"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="@color/gray_df" />
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="所在地区" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_area"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="所在网格" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_grid"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_white">
|
|
|
|
|
|
<TextView
|
|
style="@style/item_title_23"
|
|
android:text="详细地址" />
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/tv_address"
|
|
style="@style/item_content_23" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout style="@style/item_gray_vertical_top">
|
|
|
|
<com.baidu.mapapi.map.TextureMapView
|
|
android:id="@+id/tmv_map"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="200dp" />
|
|
|
|
<com.ctetin.expandabletextviewlibrary.ExpandableTextView
|
|
android:id="@+id/tv_remark"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/shape_yellow_bg"
|
|
android:padding="10dp"
|
|
android:textColor="@color/text_20"
|
|
app:ep_need_contract="true"
|
|
tools:text="备注:测试测试测试测试测试测试测试测试测试" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="5dp">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
style="@style/issue_report_title"
|
|
android:padding="8dp"
|
|
android:text="小区简介"
|
|
android:textStyle="bold" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginRight="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<Button
|
|
android:id="@+id/btn_add"
|
|
android:layout_width="50dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="20dp"
|
|
android:background="@drawable/sel_btn_submit"
|
|
android:minWidth="0dp"
|
|
android:minHeight="0dp"
|
|
android:paddingTop="5dp"
|
|
android:paddingBottom="5dp"
|
|
android:text="录入"
|
|
android:textColor="@color/white" />
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/rlv_desc"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/tv_desc_hint"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:padding="20dp"
|
|
android:text="暂无简介" />
|
|
</RelativeLayout>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<Button
|
|
android:id="@+id/btn_del"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:background="@drawable/sel_btn_gray_red"
|
|
android:text="删除"
|
|
android:textColor="@color/black" />
|
|
</RelativeLayout>
|
|
|
|
</com.scwang.smart.refresh.layout.SmartRefreshLayout>
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
|
|
|