This commit is contained in:
yangyakun
2022-11-21 22:35:15 +08:00
parent a18bc05194
commit 4677253e00
35 changed files with 1297 additions and 1297 deletions

View File

@@ -29,9 +29,9 @@ import androidx.appcompat.app.AlertDialog;
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotVehicleStateListener;
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotManager;
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotVehicleStateListenerManager;
import com.mogo.eagle.core.utilcode.mogo.view.OnPreventFastClickListener;
import com.mogo.eagle.core.utilcode.util.ThreadUtils;
import com.mogo.eagle.core.utilcode.util.ToastUtils;
import com.mogo.module.common.view.OnPreventFastClickListener;
import com.mogo.och.sweeper.R;
import com.mogo.och.sweeper.util.SweeperFutianCmdUtil;

View File

@@ -8,7 +8,7 @@
android:angle="315"
/>
<size
android:width="120px"
android:height="120px"
android:width="120dp"
android:height="120dp"
/>
</shape>

View File

@@ -8,7 +8,7 @@
android:angle="225"
/>
<size
android:width="120px"
android:height="120px"
android:width="120dp"
android:height="120dp"
/>
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#2B6EFF"/>
<corners android:radius="33px"/>
<corners android:radius="33dp"/>
</shape>

View File

@@ -2,17 +2,17 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape>
<corners android:radius="27px" />
<corners android:radius="27dp" />
<solid android:color="#3B4577"/>
</shape>
</item>
<item
android:bottom="3px"
android:left="3px"
android:right="3px"
android:top="3px">
android:bottom="3dp"
android:left="3dp"
android:right="3dp"
android:top="3dp">
<shape>
<corners android:radius="27px" />
<corners android:radius="27dp" />
<solid android:color="#3B4577"/>
</shape>
</item>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<size android:width="26px" android:height="26px"/>
<corners android:radius="13px" />
<size android:width="26dp" android:height="26dp"/>
<corners android:radius="13dp" />
<gradient
android:angle="225"
android:startColor="#FF0030"

View File

@@ -2,9 +2,9 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="line">
<stroke
android:width="6px"
android:dashGap="5px"
android:dashWidth="5px"
android:width="6dp"
android:dashGap="5dp"
android:dashWidth="5dp"
android:color="@color/sweeper_current_station_notice_text_color" />
<gradient
android:startColor="#f00"

View File

@@ -3,8 +3,8 @@
<item>
<shape android:shape="rectangle">
<corners android:bottomLeftRadius="40px"
android:bottomRightRadius="40px"/>
<corners android:bottomLeftRadius="40dp"
android:bottomRightRadius="40dp"/>
<gradient android:angle="180" android:endColor="#004DFF" android:startColor="#20AAFF" />
</shape>
</item>

View File

@@ -3,7 +3,7 @@
<item>
<shape android:shape="rectangle">
<corners android:radius="60px"/>
<corners android:radius="60dp"/>
<gradient
android:angle="0"

View File

@@ -3,7 +3,7 @@
<item>
<shape android:shape="rectangle">
<corners android:radius="60px"/>
<corners android:radius="60dp"/>
<gradient
android:angle="0"

View File

@@ -13,8 +13,8 @@
<!-- android:topLeftRadius="@dimen/dp_20"-->
<!-- android:topRightRadius="@dimen/dp_100" />-->
<corners
android:bottomLeftRadius="130px"
android:bottomRightRadius="30px"
android:topLeftRadius="30px"
android:topRightRadius="130px" />
android:bottomLeftRadius="130dp"
android:bottomRightRadius="30dp"
android:topLeftRadius="30dp"
android:topRightRadius="130dp" />
</shape>

View File

@@ -21,7 +21,7 @@
android:maxLines="1"
android:text="--"
android:textColor="#FFF"
android:textSize="38px"
android:textSize="38dp"
android:textStyle="bold"
app:layout_constraintRight_toLeftOf="@+id/module_och_sweeper_tag"
app:layout_constraintLeft_toLeftOf="parent"
@@ -70,7 +70,7 @@
android:id="@+id/module_och_sweeper_current_station_anchor"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="14px"
android:layout_marginLeft="14dp"
android:layout_marginTop="@dimen/dp_24"
android:text="当前站点:"
android:textColor="#CAD6FF"
@@ -132,7 +132,7 @@
android:id="@+id/greenDot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="14px"
android:layout_marginTop="14dp"
android:src="@drawable/sweeper_icon_arrived_station"
app:layout_constraintBottom_toBottomOf="@+id/module_och_sweeper_current_station"
app:layout_constraintLeft_toLeftOf="@+id/module_och_sweeper_line_name"

View File

@@ -6,25 +6,25 @@
<com.mogo.och.sweeper.view.VerticalDashLineView
android:id="@+id/module_mogo_och_sweeper_station_bottom_dash"
android:layout_width="1px"
android:layout_height="30px"
android:layout_width="1dp"
android:layout_height="30dp"
app:layout_constraintLeft_toLeftOf="@id/module_mogo_och_sweeper_station_icon"
app:layout_constraintRight_toRightOf="@id/module_mogo_och_sweeper_station_icon"
app:layout_constraintTop_toTopOf="@id/module_mogo_och_sweeper_station_name"
android:layout_marginTop="15px"/>
android:layout_marginTop="15dp"/>
<com.mogo.och.sweeper.view.VerticalDashLineView
android:id="@+id/module_mogo_och_sweeper_station_top_dash"
android:layout_width="1px"
android:layout_height="30px"
android:layout_width="1dp"
android:layout_height="30dp"
app:layout_constraintBottom_toBottomOf="@id/module_mogo_och_sweeper_station_name"
android:layout_marginBottom="15px"
android:layout_marginBottom="15dp"
app:layout_constraintLeft_toLeftOf="@id/module_mogo_och_sweeper_station_icon"
app:layout_constraintRight_toRightOf="@id/module_mogo_och_sweeper_station_icon" />
<ImageView
android:id="@+id/module_mogo_och_sweeper_station_icon"
android:layout_width="20px"
android:layout_height="20px"
android:layout_width="20dp"
android:layout_height="20dp"
android:scaleType="center"
android:src="@drawable/sweeper_icon_arrived_station"
app:layout_constraintBottom_toBottomOf="@id/module_mogo_och_sweeper_station_name"
@@ -50,7 +50,7 @@
android:text="起点"
android:textColor="@color/sweeper_station_notice_text_color"
android:textSize="@dimen/module_mogo_och_sweeper_station_notice_text_size"
android:layout_marginEnd="10px"
android:layout_marginEnd="10dp"
app:layout_constraintBottom_toBottomOf="@id/module_mogo_och_sweeper_station_name"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@id/module_mogo_och_sweeper_station_name" />

View File

@@ -34,8 +34,8 @@
<ImageView
android:id="@+id/sweeper_autopilot_btn_iv"
android:layout_width="73px"
android:layout_height="73px"
android:layout_width="73dp"
android:layout_height="73dp"
android:layout_centerVertical="true"
android:src="@drawable/sweeper_ic_autopilot" />
@@ -44,7 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="28px"
android:layout_marginLeft="28dp"
android:layout_toRightOf="@+id/sweeper_autopilot_btn_iv"
android:text="自动驾驶"
android:textColor="@color/sweeper_autopilot_text_color_normal"

View File

@@ -9,8 +9,8 @@
<ImageView
android:id="@+id/no_order_data_iv"
android:layout_width="502px"
android:layout_height="455px"
android:layout_width="502dp"
android:layout_height="455dp"
android:src="@drawable/no_order_data"
android:scaleType="fitXY"
app:layout_constraintTop_toTopOf="parent"
@@ -21,9 +21,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#9099BF"
android:textSize="46px"
android:textSize="46dp"
android:gravity="center"
android:layout_marginTop="58px"
android:layout_marginTop="58dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/no_order_data_iv"

View File

@@ -55,7 +55,7 @@
<ImageView
android:id="@+id/switch_line_end_dotLine"
android:layout_width="wrap_content"
android:layout_height="0px"
android:layout_height="0dp"
android:scaleType="fitXY"
android:src="@drawable/sweeper_och_dot_line"
app:layout_constraintBottom_toTopOf="@+id/switch_line_end_blueDot"

View File

@@ -1,154 +1,154 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- 本套资源适配分体机xhdpi -->
<dimen name="module_mogo_och_sweeper_station_panel_width">300px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_height">348px</dimen>
<dimen name="module_mogo_och_sweeper_two_station_panel_height">211px</dimen>
<dimen name="module_mogo_och_sweeper_three_station_panel_height">276px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_width">300dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_height">348dp</dimen>
<dimen name="module_mogo_och_sweeper_two_station_panel_height">211dp</dimen>
<dimen name="module_mogo_och_sweeper_three_station_panel_height">276dp</dimen>
<dimen name="module_mogo_och_sweeper_station_list_height">220px</dimen>
<dimen name="module_mogo_och_sweeper_two_station_list_height">98px</dimen>
<dimen name="module_mogo_och_sweeper_three_station_list_height">159px</dimen>
<dimen name="module_mogo_och_sweeper_station_list_height">220dp</dimen>
<dimen name="module_mogo_och_sweeper_two_station_list_height">98dp</dimen>
<dimen name="module_mogo_och_sweeper_three_station_list_height">159dp</dimen>
<dimen name="module_mogo_och_sweeper_current_station_name_text_size">32px</dimen>
<dimen name="module_mogo_och_sweeper_current_station_notice_text_size">20px</dimen>
<dimen name="module_mogo_och_sweeper_station_name_text_size">26px</dimen>
<dimen name="module_mogo_och_sweeper_station_notice_text_size">20px</dimen>
<dimen name="module_mogo_och_sweeper_current_station_name_text_size">32dp</dimen>
<dimen name="module_mogo_och_sweeper_current_station_notice_text_size">20dp</dimen>
<dimen name="module_mogo_och_sweeper_station_name_text_size">26dp</dimen>
<dimen name="module_mogo_och_sweeper_station_notice_text_size">20dp</dimen>
<dimen name="module_mogo_och_sweeper_station_name_margin_left">15px</dimen>
<dimen name="module_mogo_och_sweeper_station_name_margin_left">15dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_top">20px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_left">36px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_bottom">28px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_right">36px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_top">20dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_left">36dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_bottom">28dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_padding_right">36dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_left">3px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_right">3px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_top">17px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_bottom">17px</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_left">3dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_right">3dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_top">17dp</dimen>
<dimen name="module_mogo_och_sweeper_station_panel_guide_offset_bottom">17dp</dimen>
<dimen name="module_och_sweeper_panel_width">300px</dimen>
<dimen name="module_och_sweeper_panel_height">270px</dimen>
<dimen name="module_och_sweeper_order_status_marginLeft">30px</dimen>
<dimen name="module_och_sweeper_order_status_marginTop">24px</dimen>
<dimen name="module_och_sweeper_order_status_textSize">24px</dimen>
<dimen name="module_och_sweeper_order_status_divider_height">1px</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginLeft">30px</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginTop">23px</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginRight">30px</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_height">146px</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingLeft">20px</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingTop">23px</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingRight">30px</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingBottom">23px</dimen>
<dimen name="module_och_sweeper_order_start_station_textSize">26px</dimen>
<dimen name="module_och_sweeper_order_start_station_anchor_textSize">34px</dimen>
<dimen name="module_och_sweeper_order_end_station_anchor_textSize">20px</dimen>
<dimen name="module_och_sweeper_order_distance_container_height">80px</dimen>
<dimen name="module_och_sweeper_order_distance_container_marginLeft">3px</dimen>
<dimen name="module_och_sweeper_order_distance_anchor_marginTop">34px</dimen>
<dimen name="module_och_sweeper_order_distance_anchor_textSize">20px</dimen>
<dimen name="module_och_sweeper_order_distance_textSize">28px</dimen>
<dimen name="module_och_sweeper_order_distance_marginRight">27px</dimen>
<dimen name="module_och_sweeper_panel_width">300dp</dimen>
<dimen name="module_och_sweeper_panel_height">270dp</dimen>
<dimen name="module_och_sweeper_order_status_marginLeft">30dp</dimen>
<dimen name="module_och_sweeper_order_status_marginTop">24dp</dimen>
<dimen name="module_och_sweeper_order_status_textSize">24dp</dimen>
<dimen name="module_och_sweeper_order_status_divider_height">1dp</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginLeft">30dp</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginTop">23dp</dimen>
<dimen name="module_och_sweeper_order_status_divider_marginRight">30dp</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_height">146dp</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingLeft">20dp</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingTop">23dp</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingRight">30dp</dimen>
<dimen name="module_och_sweeper_order_status_stationInfo_paddingBottom">23dp</dimen>
<dimen name="module_och_sweeper_order_start_station_textSize">26dp</dimen>
<dimen name="module_och_sweeper_order_start_station_anchor_textSize">34dp</dimen>
<dimen name="module_och_sweeper_order_end_station_anchor_textSize">20dp</dimen>
<dimen name="module_och_sweeper_order_distance_container_height">80dp</dimen>
<dimen name="module_och_sweeper_order_distance_container_marginLeft">3dp</dimen>
<dimen name="module_och_sweeper_order_distance_anchor_marginTop">34dp</dimen>
<dimen name="module_och_sweeper_order_distance_anchor_textSize">20dp</dimen>
<dimen name="module_och_sweeper_order_distance_textSize">28dp</dimen>
<dimen name="module_och_sweeper_order_distance_marginRight">27dp</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_height">25.6px</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_m_t">20px</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_m_r">20px</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_p_r">64px</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_p_l">16px</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_height">25.6dp</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_m_t">20dp</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_m_r">20dp</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_p_r">64dp</dimen>
<dimen name="module_mogo_och_autopilot_order_tag_p_l">16dp</dimen>
<dimen name="module_mogo_och_margin_left">40px</dimen>
<dimen name="module_mogo_och_margin_right">40px</dimen>
<dimen name="module_mogo_och_margin_bottom">46px</dimen>
<dimen name="module_mogo_och_margin_top">24px</dimen>
<dimen name="module_mogo_och_margin_left">40dp</dimen>
<dimen name="module_mogo_och_margin_right">40dp</dimen>
<dimen name="module_mogo_och_margin_bottom">46dp</dimen>
<dimen name="module_mogo_och_margin_top">24dp</dimen>
<dimen name="module_mogo_och_station_panel_container_margin_top_no_call">530px</dimen>
<dimen name="module_mogo_och_station_panel_container_margin_top_with_call">492px</dimen>
<dimen name="module_mogo_och_station_panel_container_margin_top_no_call">530dp</dimen>
<dimen name="module_mogo_och_station_panel_container_margin_top_with_call">492dp</dimen>
<dimen name="module_mogo_och_slide_panel_block_start_x">20px</dimen>
<dimen name="module_mogo_och_slide_panel_block_start_y">20px</dimen>
<dimen name="module_mogo_och_slide_panel_normal_text_margin_left">70px</dimen>
<dimen name="module_mogo_och_slide_panel_normal_text_margin_right">130px</dimen>
<dimen name="module_mogo_och_slide_panel_short_text_margin_left">93px</dimen>
<dimen name="module_mogo_och_slide_panel_short_text_margin_right">150px</dimen>
<dimen name="module_mogo_och_slide_panel_textSize">70px</dimen>
<dimen name="module_mogo_och_slide_panel_block_start_x">20dp</dimen>
<dimen name="module_mogo_och_slide_panel_block_start_y">20dp</dimen>
<dimen name="module_mogo_och_slide_panel_normal_text_margin_left">70dp</dimen>
<dimen name="module_mogo_och_slide_panel_normal_text_margin_right">130dp</dimen>
<dimen name="module_mogo_och_slide_panel_short_text_margin_left">93dp</dimen>
<dimen name="module_mogo_och_slide_panel_short_text_margin_right">150dp</dimen>
<dimen name="module_mogo_och_slide_panel_textSize">70dp</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_corner">24px</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_width">616px</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_height">180px</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_corner">24dp</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_width">616dp</dimen>
<dimen name="module_mogo_och_autopilot_status_bg_height">180dp</dimen>
<dimen name="module_mogo_och_operation_status_bg_width">112px</dimen>
<dimen name="module_mogo_och_operation_status_bg_height">112px</dimen>
<dimen name="module_mogo_och_operation_status_bg_width">112dp</dimen>
<dimen name="module_mogo_och_operation_status_bg_height">112dp</dimen>
<dimen name="module_mogo_och_operation_status_padding">92px</dimen>
<dimen name="module_mogo_och_operation_status_padding">92dp</dimen>
<dimen name="module_mogo_och_autopilot_order_m_t">30px</dimen>
<dimen name="module_mogo_och_autopilot_order_bg_width">616px</dimen>
<dimen name="module_mogo_och_autopilot_order_bg_height">754px</dimen>
<dimen name="module_mogo_och_autopilot_order_m_t">30dp</dimen>
<dimen name="module_mogo_och_autopilot_order_bg_width">616dp</dimen>
<dimen name="module_mogo_och_autopilot_order_bg_height">754dp</dimen>
<dimen name="module_mogo_och_autopilot_status_text_size">40px</dimen>
<dimen name="module_mogo_och_autopilot_status_text_padding_top">13px</dimen>
<dimen name="module_mogo_och_autopilot_status_text_drawable_padding">12px</dimen>
<dimen name="module_mogo_och_autopilot_status_text_m_l">350px</dimen>
<dimen name="module_mogo_och_autopilot_status_text_size">40dp</dimen>
<dimen name="module_mogo_och_autopilot_status_text_padding_top">13dp</dimen>
<dimen name="module_mogo_och_autopilot_status_text_drawable_padding">12dp</dimen>
<dimen name="module_mogo_och_autopilot_status_text_m_l">350dp</dimen>
<dimen name="module_mogo_och_notice_text_max_width">460px</dimen>
<dimen name="module_mogo_och_notice_text_size">30px</dimen>
<dimen name="module_mogo_och_notice_text_max_width">460dp</dimen>
<dimen name="module_mogo_och_notice_text_size">30dp</dimen>
<dimen name="sweeper_ext_arcView_center_text_size">110px</dimen>
<dimen name="sweeper_ext_arcView_des_text_size">40px</dimen>
<dimen name="sweeper_ext_arcView_height">320px</dimen>
<dimen name="sweeper_ext_arcView_stroke_with">20px</dimen>
<dimen name="sweeper_ext_arcView_top">40px</dimen>
<dimen name="sweeper_ext_arcView_width">320px</dimen>
<dimen name="sweeper_ext_speed_height">460px</dimen>
<dimen name="sweeper_ext_speed_padding">70px</dimen>
<dimen name="sweeper_ext_speed_width">460px</dimen>
<dimen name="sweeper_ext_speed_width_big_radius">130px</dimen>
<dimen name="sweeper_ext_speed_width_sm_radius">30px</dimen>
<dimen name="sweeper_ext_arcView_center_text_size">110dp</dimen>
<dimen name="sweeper_ext_arcView_des_text_size">40dp</dimen>
<dimen name="sweeper_ext_arcView_height">320dp</dimen>
<dimen name="sweeper_ext_arcView_stroke_with">20dp</dimen>
<dimen name="sweeper_ext_arcView_top">40dp</dimen>
<dimen name="sweeper_ext_arcView_width">320dp</dimen>
<dimen name="sweeper_ext_speed_height">460dp</dimen>
<dimen name="sweeper_ext_speed_padding">70dp</dimen>
<dimen name="sweeper_ext_speed_width">460dp</dimen>
<dimen name="sweeper_ext_speed_width_big_radius">130dp</dimen>
<dimen name="sweeper_ext_speed_width_sm_radius">30dp</dimen>
<dimen name="sweeper_dp_10">10px</dimen>
<dimen name="sweeper_dp_20">20px</dimen>
<dimen name="sweeper_dp_200">200px</dimen>
<dimen name="sweeper_dp_52">52px</dimen>
<dimen name="sweeper_dp_65">65px</dimen>
<dimen name="sweeper_layout_margin_bottom">20px</dimen>
<dimen name="sweeper_hmi_autopilot_status_bg_big_radius">50px</dimen>
<dimen name="sweeper_hmi_autopilot_status_bg_sm_radius">20px</dimen>
<dimen name="sweeper_hmi_btn_size">38px</dimen>
<dimen name="sweeper_hmi_btn_text_size">33px</dimen>
<dimen name="sweeper_hmi_check_left">368px</dimen>
<dimen name="sweeper_hmi_check_size">76px</dimen>
<dimen name="sweeper_switch_image_circle">60px</dimen>
<dimen name="sweeper_dp_10">10dp</dimen>
<dimen name="sweeper_dp_20">20dp</dimen>
<dimen name="sweeper_dp_200">200dp</dimen>
<dimen name="sweeper_dp_52">52dp</dimen>
<dimen name="sweeper_dp_65">65dp</dimen>
<dimen name="sweeper_layout_margin_bottom">20dp</dimen>
<dimen name="sweeper_hmi_autopilot_status_bg_big_radius">50dp</dimen>
<dimen name="sweeper_hmi_autopilot_status_bg_sm_radius">20dp</dimen>
<dimen name="sweeper_hmi_btn_size">38dp</dimen>
<dimen name="sweeper_hmi_btn_text_size">33dp</dimen>
<dimen name="sweeper_hmi_check_left">368dp</dimen>
<dimen name="sweeper_hmi_check_size">76dp</dimen>
<dimen name="sweeper_switch_image_circle">60dp</dimen>
<dimen name="sweeper_switch_map">276px</dimen>
<dimen name="sweeper_switch_map_height">112px</dimen>
<dimen name="sweeper_switch_margin_left">22px</dimen>
<dimen name="sweeper_switch_text_size">36px</dimen>
<dimen name="sweeper_switch_image">50px</dimen>
<dimen name="sweeper_ext_top_view_width_in_vr_mode">822px</dimen>
<dimen name="sweeper_switch_map">276dp</dimen>
<dimen name="sweeper_switch_map_height">112dp</dimen>
<dimen name="sweeper_switch_margin_left">22dp</dimen>
<dimen name="sweeper_switch_text_size">36dp</dimen>
<dimen name="sweeper_switch_image">50dp</dimen>
<dimen name="sweeper_ext_top_view_width_in_vr_mode">822dp</dimen>
<dimen name="sweeper_switch_line_title">46px</dimen>
<dimen name="sweeper_switch_line_btn_width">700px</dimen>
<dimen name="sweeper_switch_line_btn_height">120px</dimen>
<dimen name="sweeper_switch_line_btn_width_1">560px</dimen>
<dimen name="sweeper_switch_line_btn_height_1">116px</dimen>
<dimen name="sweeper_switch_line_btn_margin_b">50px</dimen>
<dimen name="sweeper_switch_line_title">46dp</dimen>
<dimen name="sweeper_switch_line_btn_width">700dp</dimen>
<dimen name="sweeper_switch_line_btn_height">120dp</dimen>
<dimen name="sweeper_switch_line_btn_width_1">560dp</dimen>
<dimen name="sweeper_switch_line_btn_height_1">116dp</dimen>
<dimen name="sweeper_switch_line_btn_margin_b">50dp</dimen>
<dimen name="sweeper_traffic_light_layout_width">225px</dimen>
<dimen name="sweeper_traffic_light_layout_height">154px</dimen>
<dimen name="sweeper_traffic_light_layout_corner">60px</dimen>
<dimen name="sweeper_traffic_light_layout_margin_right">40px</dimen>
<dimen name="sweeper_traffic_light_layout_margin_top">23px</dimen>
<dimen name="sweeper_traffic_light_bg_width">210px</dimen>
<dimen name="sweeper_traffic_light_bg_height">120px</dimen>
<dimen name="sweeper_traffic_light_bg_margin_left">15px</dimen>
<dimen name="sweeper_traffic_light_bg_margin_top">17px</dimen>
<dimen name="sweeper_traffic_light_icon_size">154px</dimen>
<dimen name="sweeper_traffic_light_time_view_width">130px</dimen>
<dimen name="sweeper_traffic_light_time_size">60px</dimen>
<dimen name="sweeper_traffic_light_layout_width">225dp</dimen>
<dimen name="sweeper_traffic_light_layout_height">154dp</dimen>
<dimen name="sweeper_traffic_light_layout_corner">60dp</dimen>
<dimen name="sweeper_traffic_light_layout_margin_right">40dp</dimen>
<dimen name="sweeper_traffic_light_layout_margin_top">23dp</dimen>
<dimen name="sweeper_traffic_light_bg_width">210dp</dimen>
<dimen name="sweeper_traffic_light_bg_height">120dp</dimen>
<dimen name="sweeper_traffic_light_bg_margin_left">15dp</dimen>
<dimen name="sweeper_traffic_light_bg_margin_top">17dp</dimen>
<dimen name="sweeper_traffic_light_icon_size">154dp</dimen>
<dimen name="sweeper_traffic_light_time_view_width">130dp</dimen>
<dimen name="sweeper_traffic_light_time_size">60dp</dimen>
<dimen name="sweeper_operate_panel_btn_bg_corner">16px</dimen>
<dimen name="sweeper_operate_panel_btn_text_size">36px</dimen>
<dimen name="sweeper_operate_panel_btn_bg_corner">16dp</dimen>
<dimen name="sweeper_operate_panel_btn_text_size">36dp</dimen>
</resources>

View File

@@ -198,7 +198,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/dp_84"
android:layout_marginTop="308px"
android:layout_marginTop="308dp"
android:text="@string/taxi_p_check_input_phone_tail_title"
android:textColor="@color/taxi_p_check_keyboard_samll_mogo_color"
android:textSize="@dimen/dp_36"
@@ -280,7 +280,7 @@
android:id="@+id/tv_taxi_passenger_number_seven"
style="@style/och_check_number_keyboard"
android:layout_marginEnd="@dimen/dp_39"
android:layout_marginBottom="24px"
android:layout_marginBottom="24dp"
android:text="7"
app:layout_constraintBottom_toTopOf="@id/tv_taxi_passenger_number_back"
app:layout_constraintEnd_toStartOf="@+id/tv_taxi_passenger_number_eight"
@@ -309,7 +309,7 @@
android:id="@+id/tv_taxi_passenger_number_four"
style="@style/och_check_number_keyboard"
android:layout_marginEnd="@dimen/dp_39"
android:layout_marginBottom="24px"
android:layout_marginBottom="24dp"
android:text="4"
app:layout_constraintBottom_toTopOf="@id/tv_taxi_passenger_number_seven"
app:layout_constraintEnd_toStartOf="@+id/tv_taxi_passenger_number_five"
@@ -337,7 +337,7 @@
android:id="@+id/tv_taxi_passenger_number_one"
style="@style/och_check_number_keyboard"
android:layout_marginEnd="@dimen/dp_39"
android:layout_marginBottom="24px"
android:layout_marginBottom="24dp"
android:text="1"
app:layout_constraintBottom_toTopOf="@id/tv_taxi_passenger_number_four"
app:layout_constraintEnd_toStartOf="@+id/tv_taxi_passenger_number_two"

View File

@@ -3,8 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardCornerRadius="30px"
app:cardElevation="8px"
app:cardCornerRadius="30dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
app:cardPreventCornerOverlap="false"
app:cardBackgroundColor="@android:color/transparent">

View File

@@ -230,7 +230,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp_30"
android:inputType="textMultiLine"
android:lineSpacingExtra="16px"
android:lineSpacingExtra="16dp"
android:textColor="#CAD6FF"
android:textSize="30dp"
tools:text="送乘客至"

View File

@@ -3,8 +3,8 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:cardCornerRadius="30px"
app:cardElevation="8px"
app:cardCornerRadius="30dp"
app:cardElevation="8dp"
app:cardUseCompatPadding="true"
app:cardPreventCornerOverlap="false"
app:cardBackgroundColor="@android:color/transparent">

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#3B4577" />
<corners android:radius="32px" />
<corners android:radius="32dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#29305E" />
<corners android:radius="48px" />
<corners android:radius="48dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#29305E" />
<corners android:radius="20px" />
<corners android:radius="20dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#2B6EFF" />
<corners android:radius="20px" />
<corners android:radius="20dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#33E1E5FF" />
<corners android:radius="32px" />
<corners android:radius="32dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#29305E" />
<corners android:radius="32px" />
<corners android:radius="32dp" />
</shape>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="#3B4577" />
<corners android:radius="24px" />
<corners android:radius="24dp" />
</shape>

View File

@@ -2,10 +2,10 @@
<com.mogo.eagle.core.widget.RoundConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="1110px"
android:layout_height="668px"
android:layout_width="1110dp"
android:layout_height="668dp"
android:background="#3B4577"
app:roundLayoutRadius="32px"
app:roundLayoutRadius="32dp"
>
<TextView
@@ -14,12 +14,12 @@
android:layout_height="wrap_content"
android:text="case清单"
android:textColor="#FFFFFFFF"
android:textSize="56px"
android:textSize="56dp"
android:gravity="center"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="50px"
android:layout_marginTop="50dp"
/>
<TextView
@@ -28,11 +28,11 @@
android:layout_height="wrap_content"
android:text="取消"
android:textColor="#FFFFFFFF"
android:textSize="52px"
android:textSize="52dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:paddingBottom="50px"
android:paddingBottom="50dp"
android:gravity="center"
/>
@@ -44,7 +44,7 @@
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toTopOf="@id/tvCancel"
android:layout_marginBottom="50px"
android:layout_marginBottom="50dp"
/>
<androidx.recyclerview.widget.RecyclerView
@@ -55,7 +55,7 @@
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaseListTitle"
app:layout_constraintBottom_toTopOf="@id/viewCancelDivider"
android:layout_margin="50px"
android:layout_margin="50dp"
/>
</com.mogo.eagle.core.widget.RoundConstraintLayout>

View File

@@ -2,8 +2,8 @@
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="1270px"
android:layout_height="959px"
android:layout_width="1270dp"
android:layout_height="959dp"
>
<TextView
@@ -11,17 +11,17 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#FFFFFFFF"
android:textSize="56px"
android:textSize="56dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="50px"
android:layout_marginTop="50dp"
/>
<View
android:id="@+id/viewVerticalLine"
android:layout_width="2px"
android:layout_height="160px"
android:layout_width="2dp"
android:layout_height="160dp"
android:background="#66B8BFE8"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
@@ -31,7 +31,7 @@
<View
android:id="@+id/viewHorizontalLine"
android:layout_width="match_parent"
android:layout_height="2px"
android:layout_height="2dp"
android:background="#66B8BFE8"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
@@ -48,7 +48,7 @@
app:layout_constraintRight_toLeftOf="@id/viewVerticalLine"
android:text="保存"
android:textColor="#FFFFFFFF"
android:textSize="52px"
android:textSize="52dp"
android:gravity="center"
/>
@@ -62,18 +62,18 @@
app:layout_constraintRight_toRightOf="parent"
android:text="取消"
android:textColor="#FFFFFFFF"
android:textSize="52px"
android:textSize="52dp"
android:gravity="center"
/>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clSearchLayout"
android:layout_width="1030px"
android:layout_height="96px"
android:layout_width="1030dp"
android:layout_height="96dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvCaseName"
android:layout_marginTop="50px"
android:layout_marginTop="50dp"
android:focusable="true"
android:focusableInTouchMode="true"
android:background="@drawable/bad_case_search_bg"
@@ -81,13 +81,13 @@
<ImageView
android:id="@+id/ivSearch"
android:layout_width="38px"
android:layout_height="42px"
android:layout_width="38dp"
android:layout_height="42dp"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"
android:src="@drawable/icon_bad_case_search"
android:layout_marginEnd="40px"
android:layout_marginEnd="40dp"
/>
<EditText
@@ -99,11 +99,11 @@
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@id/ivSearch"
android:hint="topic搜索"
android:textSize="38px"
android:textSize="38dp"
android:textColor="#FFFFFFFF"
android:textColorHint="#B3FFFFFF"
android:background="@null"
android:layout_marginStart="40px"
android:layout_marginStart="40dp"
/>
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -116,7 +116,7 @@
app:layout_constraintRight_toRightOf="@id/clSearchLayout"
app:layout_constraintTop_toBottomOf="@id/clSearchLayout"
app:layout_constraintBottom_toTopOf="@id/viewHorizontalLine"
android:layout_marginTop="50px"
android:layout_marginTop="50dp"
android:layout_marginBottom="20dp"
android:scrollbars="vertical"
android:fadeScrollbars="false"

View File

@@ -2,9 +2,9 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/caseName"
android:layout_width="match_parent"
android:layout_height="116px"
android:layout_height="116dp"
android:textColor="#FFFFFFFF"
android:textSize="43px"
android:textSize="43dp"
android:background="@drawable/case_list_selector"
android:gravity="center"
android:layout_marginTop="5dp"

View File

@@ -2,9 +2,9 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/caseName"
android:layout_width="match_parent"
android:layout_height="84px"
android:layout_height="84dp"
android:textColor="#FFFFFFFF"
android:textSize="34px"
android:textSize="34dp"
android:background="@drawable/case_list_selector"
android:gravity="center"
android:layout_marginTop="20dp"

View File

@@ -7,7 +7,7 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:textColor="#FFFFFFFF"
android:textSize="38px"
android:textSize="38dp"
android:paddingStart="5dp"
android:gravity="center_vertical"
>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="24px"/>
<corners android:radius="24dp"/>
<solid android:color="#1E3062" />
</shape>

File diff suppressed because it is too large Load Diff