增加车信按车道编辑,自动生成问题描述功能
This commit is contained in:
@@ -51,9 +51,9 @@
|
||||
android:layout_marginRight="5dp"
|
||||
android:background="@color/transparent"
|
||||
android:src="@drawable/icon_delete"
|
||||
app:layout_constraintBottom_toBottomOf="@id/evaluation_bar_save"
|
||||
app:layout_constraintRight_toLeftOf="@id/evaluation_bar_save"
|
||||
app:layout_constraintTop_toTopOf="@id/evaluation_bar_save"
|
||||
app:layout_constraintBottom_toBottomOf="@id/evaluation_bar_save" />
|
||||
app:layout_constraintTop_toTopOf="@id/evaluation_bar_save" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
@@ -62,9 +62,9 @@
|
||||
android:layout_height="40dp"
|
||||
android:background="@color/transparent"
|
||||
android:src="@drawable/measuring_tool_distance"
|
||||
app:layout_constraintBottom_toBottomOf="@id/evaluation_bar_save"
|
||||
app:layout_constraintRight_toLeftOf="@id/evaluation_bar_delete"
|
||||
app:layout_constraintTop_toTopOf="@id/evaluation_bar_save"
|
||||
app:layout_constraintBottom_toBottomOf="@id/evaluation_bar_save"/>
|
||||
app:layout_constraintTop_toTopOf="@id/evaluation_bar_save" />
|
||||
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="0dp"
|
||||
@@ -84,6 +84,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="7dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -97,8 +98,7 @@
|
||||
<TextView
|
||||
android:id="@+id/evaluation_id"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
android:id="@+id/evaluation_problem_type"
|
||||
style="@style/evaluation_fragment_text_style"
|
||||
android:onClick="@{fragment::onClick}"
|
||||
android:text="@{viewModel.liveDataQsRecordBean.problemType}" />
|
||||
android:text="" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -223,6 +223,7 @@
|
||||
android:text="问题描述" />
|
||||
|
||||
<com.navinfo.omqs.ui.widget.MyEditeText
|
||||
android:id="@+id/evaluation_description"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/shape_rect_white_2dp_bg"
|
||||
@@ -235,7 +236,6 @@
|
||||
android:paddingLeft="12dp"
|
||||
android:paddingTop="2dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:text="@={viewModel.liveDataQsRecordBean.description}"
|
||||
android:textSize="12sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
107
app/src/main/res/layout/fragment_line_info_edit.xml
Normal file
107
app/src/main/res/layout/fragment_line_info_edit.xml
Normal file
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout 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:layout_marginTop="55dp"
|
||||
tools:context=".ui.fragment.evaluationresult.LaneInfoEditFragment">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/fragment_phenomenon_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="right"
|
||||
android:background="@drawable/shape_middle_fragment_bg"
|
||||
android:clickable="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/lane_info_top_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp"
|
||||
android:requiresFadingEdge="horizontal"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:gravity="center_horizontal"
|
||||
>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lane_info_top_container"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/gray"
|
||||
android:orientation="horizontal"
|
||||
android:padding="5dp" />
|
||||
</HorizontalScrollView>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/lane_info_radiogroup"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/lane_info_radio_1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="true"
|
||||
android:text="普通车道"
|
||||
android:textColor="@color/lane_info_0" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/lane_info_radio_2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="false"
|
||||
android:text="附加车道"
|
||||
android:textColor="@color/lane_info_1" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/lane_info_radio_3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:checked="false"
|
||||
android:text="公交车道"
|
||||
android:textColor="@color/lane_info_2" />
|
||||
</RadioGroup>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/lane_info_backspace"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/icon_back_n" />
|
||||
</LinearLayout>
|
||||
|
||||
<GridView
|
||||
android:id="@+id/lane_info_gridview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:horizontalSpacing="2dp"
|
||||
android:numColumns="8"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:scrollbars="none"
|
||||
android:verticalSpacing="2dp" />
|
||||
|
||||
<GridView
|
||||
android:id="@+id/lane_info_gridview2"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:horizontalSpacing="2dp"
|
||||
android:numColumns="2"
|
||||
android:layout_marginTop="8dp"
|
||||
android:paddingLeft="20dp"
|
||||
android:paddingRight="20dp"
|
||||
android:scrollbars="none"
|
||||
android:verticalSpacing="2dp" />
|
||||
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
11
app/src/main/res/layout/laneinfo_item.xml
Normal file
11
app/src/main/res/layout/laneinfo_item.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/laneinfo_item_layout"
|
||||
android:padding="2dp"
|
||||
android:orientation="horizontal"
|
||||
android:background="@color/gray"
|
||||
android:gravity="center"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="60dp">
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user