修改疲劳驾驶的停车场推荐图片显示

This commit is contained in:
zhuangyan
2020-11-20 11:28:57 +08:00
parent 86eba35ebf
commit 764c400d0f
8 changed files with 36 additions and 5 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="6px" />
<gradient
android:angle="0"
android:endColor="#37DED9"
android:startColor="#1DAAA5" />
</shape>

View File

@@ -21,13 +21,17 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
<TextView
android:id="@+id/tagEventType"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="@dimen/v2x_driving_width"
android:layout_height="@dimen/v2x_driving_heigt"
android:layout_marginStart="@dimen/dp_30"
android:gravity="center"
android:background="@drawable/bg_fatigue_driving"
android:textColor="@color/v2x_item_white"
android:textSize="@dimen/v2x_recommond_route_size"
android:layout_marginTop="@dimen/dp_20"
android:src="@drawable/icon_parting_icon"
android:text="@string/recommended_route"
app:layout_constraintBottom_toTopOf="@+id/tvAddress"
app:layout_constraintStart_toEndOf="@+id/ivIconP"
app:layout_constraintTop_toTopOf="parent" />

View File

@@ -108,5 +108,8 @@
<dimen name="v2x_right_context_margin">460px</dimen>
<dimen name="v2x_video_window_height_content">370px</dimen>
<dimen name="v2x_video_window_height">380px</dimen>
<dimen name="v2x_driving_width">84px</dimen>
<dimen name="v2x_driving_heigt">26px</dimen>
<dimen name="v2x_recommond_route_size">14px</dimen>
</resources>

View File

@@ -45,7 +45,7 @@
<dimen name="module_v2x_panel_surrounding_marginbottom">2px</dimen>
<dimen name="module_v2x_panel_surrounding_stance">30px</dimen>
<dimen name="module_v2x_surrounding_top">22px</dimen>
<string name="v2x_recommond_route_size">14px</string>
<dimen name="module_v2x_surrounding_list_margin_left">12px</dimen>
<dimen name="module_v2x_surrounding_item_margin_left">16px</dimen>
@@ -109,5 +109,8 @@
<dimen name="v2x_right_context_margin">460px</dimen>
<dimen name="v2x_video_window_height_content">370px</dimen>
<dimen name="v2x_video_window_height">380px</dimen>
<dimen name="v2x_driving_width">84px</dimen>
<dimen name="v2x_driving_heigt">26px</dimen>
<dimen name="v2x_recommond_route_size">14px</dimen>
</resources>

View File

@@ -84,4 +84,7 @@
<dimen name="module_v2x_event_panel_btn_x">940px</dimen>
<dimen name="module_v2x_event_panel_btn_y">701px</dimen>
<dimen name="v2x_driving_width">150px</dimen>
<dimen name="v2x_driving_heigt">46px</dimen>
<dimen name="v2x_recommond_route_size">26px</dimen>
</resources>

View File

@@ -106,6 +106,9 @@
<dimen name="v2x_right_context_margin">830px</dimen>
<dimen name="v2x_video_window_height_content">664px</dimen>
<dimen name="v2x_video_window_height">674px</dimen>
<dimen name="v2x_driving_width">150px</dimen>
<dimen name="v2x_driving_heigt">46px</dimen>
<dimen name="v2x_recommond_route_size">26px</dimen>
</resources>

View File

@@ -95,4 +95,7 @@
<dimen name="module_v2x_event_panel_btn_x">574px</dimen>
<dimen name="module_v2x_event_panel_in_launcher_btn_x">480px</dimen>
<dimen name="module_v2x_event_panel_btn_y">384px</dimen>
<dimen name="v2x_driving_width">150px</dimen>
<dimen name="v2x_driving_heigt">46px</dimen>
<dimen name="v2x_recommond_route_size">26px</dimen>
</resources>

View File

@@ -9,5 +9,7 @@
<string name="v2x_surrounding_detail_top_brief">周围5公里共 %d 条</string>
<string name="v2x_surrounding_go_to_share">去分享</string>
<string name="v2x_surrounding_refresh">刷新</string>
<string name="recommended_route">停车场推荐</string>
<string name="v2x_recommond_route_size">26px</string>
</resources>