<?xml version="1.0" encoding="utf-8"?>
|
<android.support.constraint.ConstraintLayout
|
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"
|
tools:context=".module.task.NewSubTaskActivity"
|
android:fitsSystemWindows="true">
|
|
<android.support.constraint.Guideline
|
android:id="@+id/guide_line_1"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
app:layout_constraintGuide_percent="0.2"/>
|
|
<android.support.constraint.Guideline
|
android:id="@+id/guide_line_2"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:orientation="horizontal"
|
app:layout_constraintGuide_percent="0.9"/>
|
|
<include layout="@layout/activity_base_map" />
|
|
<include
|
layout="@layout/layout_search_bar"
|
android:layout_marginTop="24dp"
|
android:layout_height="wrap_content"
|
android:layout_width="0dp"
|
android:layout_marginStart="@dimen/dimen8"
|
android:layout_marginEnd="@dimen/dimen8"
|
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent" />
|
|
<cn.flightfeather.thirdapp.view.SlideSideBarView
|
android:id="@+id/ssb_selected"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/guide_line_1"
|
android:layout_marginStart="@dimen/dimen8"
|
android:background="?android:attr/selectableItemBackground"
|
tools:visibility="visible">
|
</cn.flightfeather.thirdapp.view.SlideSideBarView>
|
|
<cn.flightfeather.thirdapp.view.SlideSideBarView
|
android:id="@+id/ssb_un_selected"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/guide_line_1"
|
android:layout_marginEnd="@dimen/dimen8"
|
android:background="?android:attr/selectableItemBackground"
|
app:src="@drawable/ic_assignment_black_36dp">
|
</cn.flightfeather.thirdapp.view.SlideSideBarView>
|
|
<android.support.v7.widget.CardView
|
android:id="@+id/cv_filter_monitor_num"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/ssb_un_selected"
|
android:layout_marginEnd="@dimen/dimen8"
|
app:cardElevation="@dimen/dimen6"
|
android:alpha="0.7"
|
android:layout_marginTop="@dimen/dimen8">
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="@dimen/dimen2"
|
android:layout_margin="@dimen/dimen2">
|
<ImageView
|
android:id="@+id/img_filter_monitor_num"
|
android:layout_width="30dp"
|
android:layout_height="30dp"
|
android:src="@drawable/ic_inspection_status"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:visibility="visible"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/img_filter_monitor_num"
|
android:text="监管次数"
|
android:gravity="center"
|
android:maxEms="2"
|
android:textColor="@android:color/black"
|
android:textStyle="bold"
|
android:textSize="@dimen/textSize_notes"
|
android:visibility="gone"/>
|
</android.support.constraint.ConstraintLayout>
|
</android.support.v7.widget.CardView>
|
|
<android.support.v7.widget.CardView
|
android:id="@+id/cv_filter"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/cv_filter_monitor_num"
|
android:layout_marginEnd="@dimen/dimen8"
|
app:cardElevation="@dimen/dimen6"
|
android:alpha="0.7"
|
android:layout_marginTop="@dimen/dimen8">
|
<android.support.constraint.ConstraintLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:padding="@dimen/dimen2"
|
android:layout_margin="@dimen/dimen2">
|
<ImageView
|
android:id="@+id/img_filter"
|
android:layout_width="30dp"
|
android:layout_height="30dp"
|
android:src="@drawable/ic_scene_type"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
android:visibility="visible"/>
|
<TextView
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintTop_toBottomOf="@id/img_filter"
|
android:text="场景类型"
|
android:gravity="center"
|
android:maxEms="2"
|
android:textColor="@android:color/black"
|
android:textStyle="bold"
|
android:textSize="@dimen/textSize_notes"
|
android:visibility="gone"/>
|
</android.support.constraint.ConstraintLayout>
|
</android.support.v7.widget.CardView>
|
|
<android.support.v7.widget.CardView
|
android:id="@+id/cv_upload"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
app:cardBackgroundColor="@color/lightBlue"
|
app:cardElevation="@dimen/dimen6"
|
app:cardCornerRadius="@dimen/dimen6"
|
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintTop_toTopOf="@id/guide_line_2">
|
<ImageView
|
android:layout_width="100dp"
|
android:layout_height="40dp"
|
android:background="?attr/selectableItemBackgroundBorderless"
|
android:src="@drawable/icon_upload" />
|
</android.support.v7.widget.CardView>
|
|
</android.support.constraint.ConstraintLayout>
|