优化了V2X的UI适配

This commit is contained in:
董宏宇
2020-07-21 19:48:47 +08:00
parent 0c931bfbf5
commit ca7f20632b
4 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_20"
android:layout_marginTop="@dimen/dp_13"
android:layout_marginTop="@dimen/dp_10"
android:background="@drawable/bg_v2x_event_type_blue"
android:gravity="center"
android:paddingLeft="@dimen/dp_10"

View File

@@ -11,6 +11,7 @@
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:layout_marginTop="@dimen/dp_10"
android:padding="@dimen/dp_10"
android:src="@drawable/selector_live_btn"
android:visibility="gone"

View File

@@ -48,7 +48,7 @@
android:layout_marginEnd="@dimen/dp_20"
android:gravity="center_vertical"
android:textColor="#FFF"
android:textSize="@dimen/dp_82"
android:textSize="@dimen/dp_86"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="@+id/ivToNav"
app:layout_constraintEnd_toStartOf="@+id/ivToNav"

View File

@@ -13,7 +13,7 @@
<dimen name="module_v2x_event_icon_size">160px</dimen>
<dimen name="module_v2x_event_button_size">90px</dimen>
<dimen name="module_v2x_event_button_size_detail">120px</dimen>
<dimen name="module_v2x_event_button_size_detail">100px</dimen>
<dimen name="module_v2x_event_image_height">270px</dimen>
<dimen name="module_v2x_event_image_width">480px</dimen>