优化展示高度
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
<dimen name="cards_container_shadow_dp_margin_top">319px</dimen>
|
||||
|
||||
<dimen name="module_main_apps_fragment_container_width">110px</dimen>
|
||||
<dimen name="module_main_apps_fragment_container_padding">16px</dimen>
|
||||
<dimen name="module_main_apps_fragment_container_padding">10px</dimen>
|
||||
<dimen name="module_main_header_fragment_container_marginTop">15px</dimen>
|
||||
<dimen name="module_main_header_fragment_container_marginLeft">460px</dimen>
|
||||
<dimen name="module_main_id_entrance_fragment_container_marginLeft">444px</dimen>
|
||||
<dimen name="module_main_id_left_panel_fragment_container_width">350px</dimen>
|
||||
<dimen name="module_main_entrance_fragment_container_padding">16px</dimen>
|
||||
<dimen name="module_main_entrance_fragment_container_padding">10px</dimen>
|
||||
<dimen name="module_main_entrance_fragment_container_padding_top">16px</dimen>
|
||||
<dimen name="module_main_entrance_fragment_container_width">658px</dimen>
|
||||
<dimen name="module_event_fragment_container_padding">8px</dimen>
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
android:id="@+id/tvEventAddress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_15"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
@@ -76,7 +76,7 @@
|
||||
android:id="@+id/ivEventDistanceLogo"
|
||||
android:layout_width="@dimen/dp_35"
|
||||
android:layout_height="@dimen/dp_35"
|
||||
android:layout_marginTop="@dimen/dp_20"
|
||||
android:layout_marginTop="@dimen/dp_5"
|
||||
android:src="@drawable/v2x_icon_help_navi"
|
||||
app:layout_constraintStart_toStartOf="@id/tvEventTypeTitle"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvEventAddress" />
|
||||
@@ -121,77 +121,88 @@
|
||||
app:miv_shape="circle"
|
||||
app:miv_shapeBorderWidth="@dimen/dp_4" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventLive"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_live_btn"
|
||||
android:visibility="gone"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/rlRoadEventImg"
|
||||
app:layout_constraintStart_toEndOf="@+id/rlRoadEventImg"
|
||||
tools:visibility="visible" />
|
||||
app:layout_constraintTop_toBottomOf="@+id/ivEventDistanceLogo">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventReportTrue"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/icon_report_true"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventLive"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
<ImageView
|
||||
android:id="@+id/ivEventLive"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_marginLeft="@dimen/dp_10"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_live_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventReportErr"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/icon_report_err"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventReportTrue"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
<ImageView
|
||||
android:id="@+id/ivEventReportTrue"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/icon_report_true"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventLive"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventCallChart"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_talk_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventReportErr"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
<ImageView
|
||||
android:id="@+id/ivEventReportErr"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/icon_report_err"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventReportTrue"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventEventNav"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_nav_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventCallChart"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
<ImageView
|
||||
android:id="@+id/ivEventCallChart"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_talk_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventReportErr"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventEventNav"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/selector_nav_btn"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventCallChart"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventZan"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/v2x_event_icon_zan"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventEventNav"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEventZan"
|
||||
android:layout_width="@dimen/module_v2x_event_button_size_detail"
|
||||
android:layout_height="@dimen/module_v2x_event_button_size_detail"
|
||||
android:padding="@dimen/dp_10"
|
||||
android:src="@drawable/v2x_event_icon_zan"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivEventLive"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventEventNav"
|
||||
app:layout_goneMarginLeft="@dimen/dp_10"
|
||||
tools:visibility="visible" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -7,7 +7,7 @@
|
||||
android:background="@drawable/v2x_alert_window_bg"
|
||||
android:gravity="center"
|
||||
app:roundLayoutRadius="@dimen/dp_40"
|
||||
tools:layout_height="@dimen/dp_382">
|
||||
tools:layout_height="@dimen/module_v2x_event_window_height">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/dp_110"
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
android:layout_height="@dimen/module_v2x_event_icon_size"
|
||||
android:src="@drawable/icon_illegal_parking"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
<dimen name="module_v2x_search_marginLeft">18px</dimen>
|
||||
<dimen name="module_v2x_operation_panel_share_goneMarginRight">20px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">194px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">170px</dimen>
|
||||
<dimen name="module_v2x_event_window_height_ground">250px</dimen>
|
||||
<dimen name="module_v2x_push_img_height">190px</dimen>
|
||||
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">130px</dimen>
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">122px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_icon_size">82px</dimen>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<dimen name="module_v2x_event_button_size_detail">64px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_image_height">175px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">262px</dimen>
|
||||
<dimen name="module_v2x_event_image_height">156px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">234px</dimen>
|
||||
|
||||
|
||||
<dimen name="module_v2x_event_distance_text">34px</dimen>
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
|
||||
<dimen name="module_v2x_search_marginLeft">32px</dimen>
|
||||
<dimen name="module_v2x_operation_panel_share_goneMarginRight">32px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">350px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">306px</dimen>
|
||||
<dimen name="module_v2x_event_window_height_ground">450px</dimen>
|
||||
<dimen name="module_v2x_push_img_height">390px</dimen>
|
||||
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">220px</dimen>
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">210px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_icon_size">147px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_button_size">98px</dimen>
|
||||
<dimen name="module_v2x_event_button_size_detail">130px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_image_height">320px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">480px</dimen>
|
||||
<dimen name="module_v2x_event_image_height">280px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">421px</dimen>
|
||||
|
||||
|
||||
<dimen name="module_v2x_event_distance_text">60px</dimen>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
<dimen name="module_v2x_search_marginLeft">18px</dimen>
|
||||
<dimen name="module_v2x_operation_panel_share_goneMarginRight">20px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">194px</dimen>
|
||||
<dimen name="module_v2x_event_window_height">170px</dimen>
|
||||
<dimen name="module_v2x_event_window_height_ground">250px</dimen>
|
||||
<dimen name="module_v2x_push_img_height">190px</dimen>
|
||||
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">130px</dimen>
|
||||
<dimen name="module_v2x_fatigue_driving_window_height_ground">122px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_icon_size">82px</dimen>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<dimen name="module_v2x_event_button_size_detail">64px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_image_height">175px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">262px</dimen>
|
||||
<dimen name="module_v2x_event_image_height">156px</dimen>
|
||||
<dimen name="module_v2x_event_image_width">234px</dimen>
|
||||
|
||||
|
||||
<dimen name="module_v2x_event_distance_text">34px</dimen>
|
||||
|
||||
Reference in New Issue
Block a user