diff --git a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/BaseSweeperTabFragment.java b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/BaseSweeperTabFragment.java index 86ab9b915e..ee5728ca9e 100644 --- a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/BaseSweeperTabFragment.java +++ b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/BaseSweeperTabFragment.java @@ -6,7 +6,6 @@ import android.view.MotionEvent; import android.view.View; import android.widget.FrameLayout; import android.widget.ImageView; -import android.widget.LinearLayout; import com.amap.api.maps.model.LatLng; import com.amap.api.navi.model.NaviLatLng; diff --git a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/SweeperFragment.kt b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/SweeperFragment.kt index f7f3960578..f1694198d7 100644 --- a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/SweeperFragment.kt +++ b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/fragment/SweeperFragment.kt @@ -1,5 +1,6 @@ package com.mogo.och.sweeper.fragment +import android.graphics.Color import android.os.Bundle import android.view.View import androidx.lifecycle.lifecycleScope @@ -100,6 +101,8 @@ class SweeperFragment : BaseSweeperTabFragment() } if (position == mSelectPosition) { holder.selectIv.visibility = View.VISIBLE - holder.itemView.setBackgroundColor(Color.parseColor("#FF152644")) + holder.itemView.setBackgroundColor(Color.parseColor("#FF122B4E")) } else { holder.selectIv.visibility = View.GONE holder.itemView.setBackgroundColor(Color.parseColor("#00000000")) diff --git a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/view/SweeperCurrentTaskInfoView.kt b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/view/SweeperCurrentTaskInfoView.kt index 7501f1e0dd..b15d150219 100644 --- a/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/view/SweeperCurrentTaskInfoView.kt +++ b/OCH/mogo-och-sweeper/src/main/java/com/mogo/och/sweeper/view/SweeperCurrentTaskInfoView.kt @@ -104,14 +104,16 @@ class SweeperCurrentTaskInfoView : ConstraintLayout { * 设置准备就绪按钮时都可以点击 */ fun setEnableClickBtn(isWorking: Boolean) { - readyTaskBtn.isSelected = !isWorking + readyTaskBtn.isSelected = isWorking readyTaskBtn.isClickable=!isWorking presenter?.setWorking(isWorking) if (isWorking) { tvTaskState.text = "正在作业" + readyTaskBtn.text="任务中" tvTaskState.setBackgroundResource(R.drawable.bg_shape_task_state_working) } else { tvTaskState.text = "暂未准备" + readyTaskBtn.text="开始任务" tvTaskState.setBackgroundResource(R.drawable.bg_shape_task_state_not_ready) } } diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_normal.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_normal.png index eb0a354b95..ac5d521078 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_normal.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_normal.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_pressed.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_pressed.png index 38f5009f85..34456d135f 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_pressed.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_card_pressed.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_normal.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_normal.png index 81b6cc6f6f..2b220e1513 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_normal.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_normal.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_pressed.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_pressed.png index 781764c62e..3ceca7609c 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_pressed.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_collect_pressed.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_close.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_close.png old mode 100644 new mode 100755 index 3396262088..d17834748b Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_close.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_close.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_open.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_open.png old mode 100644 new mode 100755 index 1ac1ab0eca..73b03bc1f3 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_open.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_msg_box_open.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_not_select_subtask.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_not_select_subtask.png old mode 100644 new mode 100755 index ba1a86b3dd..dc4c4f6f0d Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_not_select_subtask.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_not_select_subtask.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_select_subtask.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_icon_select_subtask.png old mode 100644 new mode 100755 diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_normal.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_normal.png index 16af31581b..72a8664bef 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_normal.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_normal.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_pressed.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_pressed.png index e4ec724aaa..a765e75a41 100755 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_pressed.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_setting_pressed.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_big_normal.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_big_normal.png old mode 100755 new mode 100644 index 6989ed7a51..67c4ded462 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_big_normal.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_big_normal.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_normal.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_normal.png old mode 100644 new mode 100755 index e5de70fe46..4ce0d75174 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_normal.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_normal.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_pressed.png b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_pressed.png old mode 100644 new mode 100755 index f9aaaf6351..7c75d1e495 Binary files a/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_pressed.png and b/OCH/mogo-och-sweeper/src/main/res/drawable-xhdpi/sweeper_switch_map_small_pressed.png differ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_bubble.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_bubble.xml index cfa9d4b17e..9533060ae5 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_bubble.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_bubble.xml @@ -2,7 +2,7 @@ diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml index 71b0dfe461..e6970921d5 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_dialog_no_title.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml index 68d17d9fcc..76e59781e4 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_bottom_round.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml index 564ba5aa4f..bd0ab9d1e1 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/bg_shape_left_right_bottom_round.xml @@ -1,5 +1,5 @@ - + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_btn.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_btn.xml index 01ea942bfc..90bef4e1d4 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_btn.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_btn.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_not_selected.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_not_selected.xml index d534c3b4e2..97a8340239 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_not_selected.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_not_selected.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_selected.xml b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_selected.xml index c8aa6168ec..6d189929bc 100644 --- a/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_selected.xml +++ b/OCH/mogo-och-sweeper/src/main/res/drawable/sweeper_task_list_selected.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/fragment_och_sweeper.xml b/OCH/mogo-och-sweeper/src/main/res/layout/fragment_och_sweeper.xml index 51979ce459..5f11cfe729 100644 --- a/OCH/mogo-och-sweeper/src/main/res/layout/fragment_och_sweeper.xml +++ b/OCH/mogo-och-sweeper/src/main/res/layout/fragment_och_sweeper.xml @@ -115,7 +115,7 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" android:text="确认" - android:textColor="@color/white" + android:textColor="#999999" android:gravity="center" android:textSize="@dimen/dp_42" /> diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_current_task_info.xml b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_current_task_info.xml index 9723e4943c..41908b5b47 100644 --- a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_current_task_info.xml +++ b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_current_task_info.xml @@ -105,7 +105,6 @@ android:id="@+id/currentSubTask" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/dp_16" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/preSubTask" /> @@ -114,7 +113,6 @@ android:id="@+id/lastSubTask" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/dp_16" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/currentSubTask" /> @@ -122,7 +120,7 @@ android:id="@+id/tvStartAuto" android:layout_width="0dp" android:layout_height="@dimen/dp_116" - android:background="@drawable/sweeper_start_auto_not_running" + android:background="@drawable/sweeper_start_auto_btn" android:gravity="center" android:text="启动自驾" android:textColor="@android:color/white" @@ -138,7 +136,7 @@ android:layout_width="0dp" android:layout_height="@dimen/dp_116" android:layout_weight="1" - android:background="@drawable/sweeper_task_not_working" + android:background="@drawable/sweeper_task_btn" android:gravity="center" android:text="开始任务" android:textColor="@android:color/white" diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_item_task_info.xml b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_item_task_info.xml index 595c3f51f3..16ae3d304b 100644 --- a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_item_task_info.xml +++ b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_item_task_info.xml @@ -58,7 +58,7 @@ diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_subtask_view.xml b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_subtask_view.xml index 43223b665e..25964e716b 100644 --- a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_subtask_view.xml +++ b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_subtask_view.xml @@ -20,13 +20,13 @@ /> \ No newline at end of file diff --git a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_traffic_data.xml b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_traffic_data.xml index b79a999f65..da272fbf6a 100644 --- a/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_traffic_data.xml +++ b/OCH/mogo-och-sweeper/src/main/res/layout/sweeper_traffic_data.xml @@ -135,7 +135,7 @@ android:layout_marginBottom="@dimen/dp_36" android:layout_gravity="center" android:gravity="center" - android:layout_marginEnd="@dimen/dp_20" + android:layout_marginEnd="@dimen/dp_36" >