新增左下角功能view添加模块

This commit is contained in:
tongchenfei
2020-10-14 10:52:34 +08:00
parent 02f918dc8a
commit f37fd59467
18 changed files with 148 additions and 27 deletions

View File

@@ -6,7 +6,7 @@
>
<View
android:id="@+id/module_map_id_navi_bg"
android:layout_width="match_parent"
style="@style/NaviViewStyle"
android:layout_height="@dimen/module_ext_navi_info_panel_height"
android:background="@drawable/module_ext_dw_navi_info_panel_bkg"
android:focusable="true"
@@ -14,9 +14,7 @@
android:layout_marginLeft="@dimen/module_common_shadow_width_pos"
android:layout_marginRight="@dimen/module_common_shadow_width_pos"
android:layout_marginTop="@dimen/module_common_shadow_width_pos"
app:layout_constraintHorizontal_bias="0.501"
app:layout_constraintLeft_toLeftOf="@id/module_entrance_id_top_container"
app:layout_constraintRight_toRightOf="@id/module_entrance_id_top_container"
app:layout_constraintTop_toTopOf="@id/module_entrance_id_top_motion_layout" />
<ImageView

View File

@@ -168,7 +168,7 @@
<!--关联别的控件的头部容器-->
<com.mogo.module.extensions.navi.TopView
android:id="@+id/module_entrance_id_top_container"
android:layout_width="match_parent"
style="@style/NaviViewStyle"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NaviViewStyle">
<item name="android:layout_width">@dimen/module_ext_navi_width</item>
</style>
</resources>

View File

@@ -9,4 +9,7 @@
<dimen name="module_ext_destination_online_car_paddingLeft">14px</dimen>
<dimen name="module_ext_destination_online_car_paddingRight">14px</dimen>
<dimen name="module_common_shadow_width_pos">8px</dimen>
<dimen name="module_ext_top_view_max_width">1920px</dimen>
<dimen name="module_ext_navi_width">-1</dimen>
<dimen name="module_ext_bottom_btn_margin_bottom">0px</dimen>
</resources>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NaviViewStyle">
<item name="android:layout_width">match_parent</item>
</style>
</resources>

View File

@@ -154,4 +154,8 @@
<dimen name="module_ext_destination_online_car_drawablePadding">8px</dimen>
<dimen name="module_ext_destination_online_car_paddingLeft">21px</dimen>
<dimen name="module_ext_destination_online_car_paddingRight">31px</dimen>
<dimen name="module_ext_top_view_max_width">1920px</dimen>
<dimen name="module_ext_navi_width">-1</dimen>
<dimen name="module_ext_bottom_btn_margin_bottom">0px</dimen>
</resources>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NaviViewStyle">
<item name="android:layout_width">match_parent</item>
</style>
</resources>

View File

@@ -168,4 +168,6 @@
<dimen name="module_ext_seek_help_notice_text_size">34px</dimen>
<dimen name="module_ext_seek_help_notice_text_margin_start">20px</dimen>
<dimen name="module_ext_seek_help_notice_number_text_size">40px</dimen>
<dimen name="module_ext_navi_width">-1</dimen>
<dimen name="module_ext_bottom_btn_margin_bottom">0px</dimen>
</resources>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NaviViewStyle">
<item name="android:layout_width">match_parent</item>
</style>
</resources>

View File

@@ -111,7 +111,7 @@
<dimen name="module_ext_voice_msg_padding_bottom">9px</dimen>
<dimen name="module_ext_voice_msg_padding_left">18px</dimen>
<dimen name="module_ext_voice_msg_padding_right">18px</dimen>
<dimen name="module_ext_voice_msg_icon_margin_left">-1px</dimen>
<dimen name="module_ext_voice_msg_icon_margin_left">-1</dimen>
<dimen name="module_ext_weather_bkg_corner">30px</dimen>
<dimen name="module_ext_weather_container_paddingLeft">23px</dimen>
@@ -178,4 +178,7 @@
<dimen name="module_ext_navi_small_corner">11px</dimen>
<dimen name="module_ext_navi_small_margin_bottom">11px</dimen>
<dimen name="module_ext_navi_small_margin_right">10px</dimen>
<dimen name="module_ext_navi_width">-1</dimen>
<dimen name="module_ext_bottom_btn_margin_bottom">0px</dimen>
</resources>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="NaviViewStyle">
<item name="android:layout_width">match_parent</item>
</style>
</resources>