parent
dc800ea759
commit
9b5bbbb1de
21 changed files with 450 additions and 302 deletions
@ -1,40 +0,0 @@ |
||||
package com.project.survey.adapter; |
||||
|
||||
import android.content.Context; |
||||
import android.view.ViewGroup; |
||||
|
||||
import androidx.annotation.NonNull; |
||||
|
||||
import com.project.survey.adapter.base.BaseAdapter; |
||||
import com.project.survey.adapter.viewholder.LoftingListViewHolder; |
||||
import com.project.survey.databinding.ItemLoftingListBinding; |
||||
import com.project.survey.model.LoftingListBean; |
||||
import com.project.survey.ui.lofting.pointlofting.PointStakingActivity; |
||||
|
||||
/** |
||||
* 放样列表 |
||||
*/ |
||||
public class LoftingListAdapter extends BaseAdapter<LoftingListViewHolder, LoftingListBean> { |
||||
|
||||
private final Context context; |
||||
|
||||
public LoftingListAdapter(Context context) { |
||||
super(context); |
||||
this.context = context; |
||||
} |
||||
|
||||
@NonNull |
||||
@Override |
||||
public LoftingListViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { |
||||
return new LoftingListViewHolder(ItemLoftingListBinding.inflate(getInflater(), parent, false)); |
||||
} |
||||
|
||||
@Override |
||||
protected void onBindViewHolderDo(LoftingListViewHolder holder, int position) { |
||||
|
||||
holder.mBinding.tvProjectMeasured.setOnClickListener(v -> { |
||||
PointStakingActivity.start(context); |
||||
}); |
||||
|
||||
} |
||||
} |
@ -1,45 +0,0 @@ |
||||
package com.project.survey.adapter; |
||||
|
||||
import android.content.Context; |
||||
import android.view.ViewGroup; |
||||
|
||||
import androidx.annotation.NonNull; |
||||
|
||||
import com.project.survey.adapter.base.BaseAdapter; |
||||
import com.project.survey.adapter.viewholder.PointMeasureListViewHolder; |
||||
import com.project.survey.databinding.ItemPointMeasureListBinding; |
||||
import com.project.survey.model.PointMeasureListBean; |
||||
import com.project.survey.ui.pointmeasure.measure.PointSurveyNewActivity; |
||||
|
||||
/** |
||||
* 点测量列表 |
||||
*/ |
||||
public class PointMeasureListAdapter extends BaseAdapter<PointMeasureListViewHolder, PointMeasureListBean> { |
||||
|
||||
private final Context context; |
||||
private final String type; |
||||
|
||||
public PointMeasureListAdapter(Context context, String type) { |
||||
super(context); |
||||
this.context = context; |
||||
this.type = type; |
||||
} |
||||
|
||||
@NonNull |
||||
@Override |
||||
public PointMeasureListViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { |
||||
return new PointMeasureListViewHolder(ItemPointMeasureListBinding.inflate(getInflater(), parent, false)); |
||||
} |
||||
|
||||
@Override |
||||
protected void onBindViewHolderDo(PointMeasureListViewHolder holder, int position) { |
||||
|
||||
//进入测量
|
||||
holder.mBinding.tvProjectMeasured.setOnClickListener(v -> { |
||||
PointSurveyNewActivity.start(context); |
||||
}); |
||||
|
||||
|
||||
} |
||||
|
||||
} |
@ -0,0 +1,28 @@ |
||||
package com.project.survey.ui.lofting.adapter |
||||
|
||||
import android.content.Context |
||||
import android.view.ViewGroup |
||||
import com.chad.library.adapter4.BaseQuickAdapter |
||||
import com.chad.library.adapter4.viewholder.QuickViewHolder |
||||
import com.project.survey.R |
||||
|
||||
class LoftingListAdapter : BaseQuickAdapter<Any, QuickViewHolder>() { |
||||
|
||||
override fun onBindViewHolder(holder: QuickViewHolder, position: Int, item: Any?) { |
||||
item?.let { bean -> |
||||
holder.setText(R.id.tvWorkName, "作业名称") |
||||
.setText(R.id.tvWorkDesc, "作业内容内容内容") |
||||
.setText(R.id.tvCreateTime, "2022-05-17 10:58:48") |
||||
.setText(R.id.tvProjectName, "单位-分部-分项 3个名称合并显示") |
||||
.setText(R.id.tvSurveyor, "丁汉臻") |
||||
} |
||||
} |
||||
|
||||
override fun onCreateViewHolder( |
||||
context: Context, |
||||
parent: ViewGroup, |
||||
viewType: Int |
||||
): QuickViewHolder { |
||||
return QuickViewHolder(R.layout.item_lofting_list, parent) |
||||
} |
||||
} |
@ -0,0 +1,29 @@ |
||||
package com.project.survey.ui.pointmeasure.adapter |
||||
|
||||
import android.content.Context |
||||
import android.view.ViewGroup |
||||
import com.chad.library.adapter4.BaseQuickAdapter |
||||
import com.chad.library.adapter4.viewholder.QuickViewHolder |
||||
import com.project.survey.R |
||||
|
||||
class PointMeasureListAdapter : BaseQuickAdapter<Any, QuickViewHolder>() { |
||||
|
||||
override fun onBindViewHolder(holder: QuickViewHolder, position: Int, item: Any?) { |
||||
item?.let { bean -> |
||||
holder.setText(R.id.tvName, "测量单位报审(验)单") |
||||
.setText(R.id.tvNO, "XMBH2021-0000-$position") |
||||
.setText(R.id.tvType, "测量类型") |
||||
.setText(R.id.tvProjectName, "单位-分部-分项$position") |
||||
.setText(R.id.tvMeasureContent, "内容名称") |
||||
.setText(R.id.tvApplyUser, "张三") |
||||
} |
||||
} |
||||
|
||||
override fun onCreateViewHolder( |
||||
context: Context, |
||||
parent: ViewGroup, |
||||
viewType: Int |
||||
): QuickViewHolder { |
||||
return QuickViewHolder(R.layout.item_point_measure_list, parent) |
||||
} |
||||
} |
@ -1,5 +1,5 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"> |
||||
<item android:color="@color/colorPrimary" android:state_selected="true" /> |
||||
<item android:color="@color/text_color_1" android:state_selected="false" /> |
||||
<item android:color="@color/text_color_20" android:state_selected="false" /> |
||||
</selector> |
@ -1,21 +1,39 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout 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:orientation="vertical"> |
||||
|
||||
<include |
||||
android:id="@+id/ilToolBar" |
||||
layout="@layout/sh_toolbar" /> |
||||
<!-- <include--> |
||||
<!-- android:id="@+id/ilToolBar"--> |
||||
<!-- layout="@layout/sh_toolbar" />--> |
||||
<com.google.android.material.appbar.MaterialToolbar |
||||
android:id="@+id/toolbar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="?actionBarSize" |
||||
android:background="@color/transparent" |
||||
app:navigationIcon="@drawable/icon_toolbar_back" |
||||
app:popupTheme="@style/ThemeOverlay.AppCompat.Light" |
||||
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" |
||||
app:titleCentered="true" |
||||
app:titleTextAppearance="@style/ToolbarTextAppearance" /> |
||||
|
||||
<include layout="@layout/item_search" /> |
||||
<!-- <include layout="@layout/item_search" />--> |
||||
<com.project.survey.widget.SearchWidget |
||||
android:id="@+id/searchWidget" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="wrap_content" |
||||
app:sw_hint="作业名称、作业描述、分项工程名称" /> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recyclerView" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:padding="@dimen/sw_12dp" |
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" /> |
||||
android:padding="12dp" |
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
||||
tools:itemCount="2" |
||||
tools:listitem="@layout/item_lofting_list" /> |
||||
|
||||
</LinearLayout> |
@ -1,74 +1,128 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<androidx.constraintlayout.widget.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="wrap_content" |
||||
android:background="@drawable/bg_white_round_4" |
||||
android:orientation="vertical" |
||||
android:padding="@dimen/sw_12dp"> |
||||
android:padding="12dp"> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvWorkName" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="作业名称" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" |
||||
android:textStyle="bold" /> |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="13sp" |
||||
android:textStyle="bold" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:text="作业名称" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvWorkDescKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_12dp" |
||||
android:text="作业描述:内容" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:layout_marginTop="12dp" |
||||
android:text="作 业 描 述 :" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvWorkName" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvWorkDesc" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_4dp" |
||||
android:text="创建时间:2022-05-17 10:58:48" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvWorkDescKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvWorkDescKey" |
||||
tools:text="内容" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvCreateTimeKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_4dp" |
||||
android:text="分项工程名称:单位-分部-分项 3个名称合并显示" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:layout_marginTop="4dp" |
||||
android:text="创 建 时 间 :" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvWorkDescKey" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvCreateTime" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_4dp" |
||||
android:layout_marginBottom="@dimen/sw_10dp" |
||||
android:text="测量员:丁汉臻" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvCreateTimeKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvCreateTimeKey" |
||||
tools:text="2022-05-17 10:58:48" /> |
||||
|
||||
<include layout="@layout/line_hor" /> |
||||
<TextView |
||||
android:id="@+id/tvProjectNameKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="4dp" |
||||
android:text="分项工程名称:" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvCreateTimeKey" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
<TextView |
||||
android:id="@+id/tvProjectName" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvProjectNameKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvProjectNameKey" |
||||
tools:text="单位-分部-分项 3个名称合并显示" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvSurveyorKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_10dp" |
||||
android:gravity="end" |
||||
android:orientation="horizontal"> |
||||
android:layout_marginTop="4dp" |
||||
android:text="测  量  员:" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvProjectNameKey" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvProjectMeasured" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginStart="@dimen/sw_11dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="@dimen/sw_28dp" |
||||
android:paddingVertical="@dimen/sw_6dp" |
||||
android:text="@string/lofting" |
||||
android:textColor="@color/text_color_selector_blue_black" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
<TextView |
||||
android:id="@+id/tvSurveyor" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvSurveyorKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvSurveyorKey" |
||||
tools:text="丁汉臻" /> |
||||
|
||||
</LinearLayout> |
||||
<View |
||||
android:id="@+id/viewLine" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="0.5dp" |
||||
android:layout_marginTop="10dp" |
||||
android:background="@color/c_ebebeb" |
||||
app:layout_constraintTop_toBottomOf="@id/tvSurveyorKey" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvLofting" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="10dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="28dp" |
||||
android:paddingVertical="6dp" |
||||
android:text="@string/lofting" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintEnd_toEndOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/viewLine" /> |
||||
|
||||
</LinearLayout> |
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
||||
|
||||
|
@ -1,106 +1,159 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<androidx.constraintlayout.widget.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="wrap_content" |
||||
android:background="@drawable/bg_white_round_4" |
||||
android:orientation="vertical" |
||||
android:padding="@dimen/sw_12dp"> |
||||
android:padding="12dp"> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvName" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="测量单位报审(验)单" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_13sp" /> |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="13sp" |
||||
android:textStyle="bold" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toTopOf="parent" |
||||
tools:text="测量单位报审(验)单" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvNO" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:text="XMBH2021-00001" |
||||
android:textColor="@color/text_color_2" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:textColor="@color/text_color_727778" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvName" |
||||
tools:text="XMBH2021-00001" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvType" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_5dp" |
||||
android:layout_marginTop="5dp" |
||||
android:background="@drawable/bg_approval_blue_stroke" |
||||
android:paddingHorizontal="@dimen/sw_4dp" |
||||
android:paddingVertical="@dimen/sw_1dp" |
||||
android:text="测量类型" |
||||
android:paddingHorizontal="4dp" |
||||
android:paddingVertical="1dp" |
||||
android:textColor="@color/colorPrimary" |
||||
android:textSize="@dimen/sw_10sp" /> |
||||
android:textSize="10sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvNO" |
||||
tools:text="测量类型" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvProjectNameKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_12dp" |
||||
android:text="分项工程名称:单位-分部-分项3个名称合并显示" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:layout_marginTop="12dp" |
||||
android:text="分项工程名称:" |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvType" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvProjectName" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_4dp" |
||||
android:text="测量内容:内容名称" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvProjectNameKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvProjectNameKey" |
||||
tools:text="单位-分部-分项3个名称合并显示" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvMeasureContentKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_4dp" |
||||
android:layout_marginBottom="@dimen/sw_10dp" |
||||
android:text="申请人:丁汉臻" |
||||
android:textColor="@color/text_color_1" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
android:layout_marginTop="4dp" |
||||
android:text="测 量 内 容 :" |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvProjectNameKey" /> |
||||
|
||||
<include layout="@layout/line_hor" /> |
||||
<TextView |
||||
android:id="@+id/tvMeasureContent" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvMeasureContentKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvMeasureContentKey" |
||||
tools:text="内容名称" /> |
||||
|
||||
<LinearLayout |
||||
android:layout_width="match_parent" |
||||
<TextView |
||||
android:id="@+id/tvApplyUserKey" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="4dp" |
||||
android:text="申  请  人:" |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintStart_toStartOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/tvMeasureContentKey" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvApplyUser" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="@dimen/sw_10dp" |
||||
android:gravity="end" |
||||
android:orientation="horizontal"> |
||||
android:textColor="@color/text_color_404145" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvApplyUserKey" |
||||
app:layout_constraintStart_toEndOf="@id/tvApplyUserKey" |
||||
tools:text="丁汉臻" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvAll" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="@dimen/sw_11dp" |
||||
android:paddingVertical="@dimen/sw_5dp" |
||||
android:text="生成报验单" |
||||
android:textColor="@color/text_color_selector_blue_black" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
<View |
||||
android:id="@+id/viewLine" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="0.5dp" |
||||
android:layout_marginTop="10dp" |
||||
android:background="@color/c_ebebeb" |
||||
app:layout_constraintTop_toBottomOf="@id/tvApplyUserKey" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvSurveyPlan" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginStart="@dimen/sw_11dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="@dimen/sw_11dp" |
||||
android:paddingVertical="@dimen/sw_5dp" |
||||
android:text="结束测量" |
||||
android:textColor="@color/text_color_selector_blue_black" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
<TextView |
||||
android:id="@+id/tvGenerateForm" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginEnd="8dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="16dp" |
||||
android:paddingVertical="6dp" |
||||
android:text="生成报验单" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvEnterMeasure" |
||||
app:layout_constraintEnd_toStartOf="@id/tvStopMeasure" /> |
||||
|
||||
<TextView |
||||
android:id="@+id/tvProjectMeasured" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginStart="@dimen/sw_11dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="@dimen/sw_11dp" |
||||
android:paddingVertical="@dimen/sw_5dp" |
||||
android:text="进入测量" |
||||
android:textColor="@color/text_color_selector_blue_black" |
||||
android:textSize="@dimen/sw_12sp" /> |
||||
<TextView |
||||
android:id="@+id/tvStopMeasure" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginEnd="8dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="16dp" |
||||
android:paddingVertical="6dp" |
||||
android:text="结束测量" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintBaseline_toBaselineOf="@id/tvEnterMeasure" |
||||
app:layout_constraintEnd_toStartOf="@id/tvEnterMeasure" /> |
||||
|
||||
</LinearLayout> |
||||
<TextView |
||||
android:id="@+id/tvEnterMeasure" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:layout_marginTop="10dp" |
||||
android:background="@drawable/bg_point_measure_selector" |
||||
android:paddingHorizontal="16dp" |
||||
android:paddingVertical="6dp" |
||||
android:text="进入测量" |
||||
android:textColor="@color/text_color_20" |
||||
android:textSize="12sp" |
||||
app:layout_constraintEnd_toEndOf="parent" |
||||
app:layout_constraintTop_toBottomOf="@id/viewLine" /> |
||||
|
||||
</LinearLayout> |
||||
</androidx.constraintlayout.widget.ConstraintLayout> |
||||
|
||||
|
Loading…
Reference in new issue