抽离V2X中的UI适配尺寸,方便后面的适配工作。
This commit is contained in:
15
.idea/codeStyles/Project.xml
generated
15
.idea/codeStyles/Project.xml
generated
@@ -3,9 +3,18 @@
|
||||
<JetCodeStyleSettings>
|
||||
<option name="PACKAGES_TO_USE_STAR_IMPORTS">
|
||||
<value>
|
||||
<package name="java.util" withSubpackages="false" static="false" />
|
||||
<package name="kotlinx.android.synthetic" withSubpackages="true" static="false" />
|
||||
<package name="io.ktor" withSubpackages="true" static="false" />
|
||||
<package name="java.util" alias="false" withSubpackages="false" />
|
||||
<package name="kotlinx.android.synthetic" alias="false" withSubpackages="true" />
|
||||
<package name="io.ktor" alias="false" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
<option name="PACKAGES_IMPORT_LAYOUT">
|
||||
<value>
|
||||
<package name="" alias="false" withSubpackages="true" />
|
||||
<package name="java" alias="false" withSubpackages="true" />
|
||||
<package name="javax" alias="false" withSubpackages="true" />
|
||||
<package name="kotlin" alias="false" withSubpackages="true" />
|
||||
<package name="" alias="true" withSubpackages="true" />
|
||||
</value>
|
||||
</option>
|
||||
</JetCodeStyleSettings>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
android:paddingRight="@dimen/dp_10"
|
||||
android:paddingBottom="@dimen/dp_3"
|
||||
android:textColor="#fff"
|
||||
android:textSize="@dimen/dp_24"
|
||||
android:textSize="@dimen/module_v2x_event_type_title_text_size"
|
||||
app:layout_constraintStart_toEndOf="@+id/rlRoadEventImg"
|
||||
app:layout_constraintTop_toTopOf="@+id/rlRoadEventImg"
|
||||
tools:text="道路施工" />
|
||||
@@ -66,7 +66,7 @@
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_36"
|
||||
android:textSize="@dimen/module_v2x_event_title_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintEnd_toStartOf="@+id/ivEventHead"
|
||||
app:layout_constraintStart_toStartOf="@+id/tvEventTypeTitle"
|
||||
@@ -89,7 +89,7 @@
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:alpha="0.6"
|
||||
android:textColor="@color/v2x_FFF_666"
|
||||
android:textSize="@dimen/dp_28"
|
||||
android:textSize="@dimen/module_v2x_event_sub_title_text_size"
|
||||
app:layout_constraintBottom_toBottomOf="@id/ivEventDistanceLogo"
|
||||
app:layout_constraintStart_toEndOf="@id/ivEventDistanceLogo"
|
||||
app:layout_constraintTop_toTopOf="@id/ivEventDistanceLogo"
|
||||
@@ -102,7 +102,7 @@
|
||||
android:layout_marginStart="@dimen/dp_30"
|
||||
android:alpha="0.6"
|
||||
android:textColor="@color/v2x_FFF_999"
|
||||
android:textSize="@dimen/dp_28"
|
||||
android:textSize="@dimen/module_v2x_event_sub_title_text_size"
|
||||
app:layout_constraintBottom_toBottomOf="@id/ivEventDistanceLogo"
|
||||
app:layout_constraintStart_toEndOf="@+id/tvEventDistance"
|
||||
app:layout_constraintTop_toTopOf="@id/ivEventDistanceLogo"
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivIconP"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/module_v2x_event_icon_size"
|
||||
android:layout_height="@dimen/module_v2x_event_icon_size"
|
||||
android:src="@drawable/icon_parking_p"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
@@ -39,7 +39,7 @@
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:layout_marginBottom="@dimen/dp_20"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_34"
|
||||
android:textSize="@dimen/module_v2x_event_parking_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tvAddressDistance"
|
||||
@@ -54,7 +54,7 @@
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_80"
|
||||
android:textSize="@dimen/module_v2x_event_help_distance_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivToNav"
|
||||
app:layout_constraintEnd_toStartOf="@+id/ivToNav"
|
||||
|
||||
@@ -23,15 +23,15 @@
|
||||
android:paddingBottom="@dimen/dp_5"
|
||||
android:text="求助信息"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/dp_24"
|
||||
android:textSize="@dimen/module_v2x_event_type_title_text_size"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_chainStyle="packed" />
|
||||
|
||||
<com.mogo.service.imageloader.MogoImageView
|
||||
android:id="@+id/ivFaultHelpHead"
|
||||
android:layout_width="@dimen/dp_75"
|
||||
android:layout_height="@dimen/dp_75"
|
||||
android:layout_width="@dimen/module_v2x_event_help_head_size"
|
||||
android:layout_height="@dimen/module_v2x_event_help_head_size"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginTop="@dimen/dp_21"
|
||||
@@ -52,7 +52,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_10"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_32"
|
||||
android:textSize="@dimen/module_v2x_event_help_title_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintStart_toEndOf="@id/ivFaultHelpHead"
|
||||
app:layout_constraintTop_toTopOf="@+id/ivFaultHelpHead"
|
||||
@@ -66,7 +66,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:alpha="0.59"
|
||||
android:textColor="@color/v2x_FFF_999"
|
||||
android:textSize="@dimen/dp_26"
|
||||
android:textSize="@dimen/module_v2x_event_help_sub_title_text_size"
|
||||
app:layout_constraintStart_toStartOf="@id/tvFaultHelpName"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvFaultHelpName"
|
||||
tools:text="15:30发布求助信息" />
|
||||
@@ -78,7 +78,7 @@
|
||||
android:layout_marginEnd="@dimen/dp_30"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_80"
|
||||
android:textSize="@dimen/module_v2x_event_help_distance_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/ivFaultHelpEventCall"
|
||||
app:layout_constraintEnd_toStartOf="@+id/ivFaultHelpEventCall"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
android:paddingBottom="@dimen/dp_3"
|
||||
android:text="违章停车"
|
||||
android:textColor="#FFFFFF"
|
||||
android:textSize="@dimen/dp_24"
|
||||
android:textSize="@dimen/module_v2x_event_type_title_text_size"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tvAddress"
|
||||
app:layout_constraintStart_toEndOf="@+id/ivIconP"
|
||||
@@ -48,7 +48,7 @@
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/dp_34"
|
||||
android:textSize="@dimen/module_v2x_event_title_text_size"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tvAddressDistance"
|
||||
app:layout_constraintEnd_toStartOf="@+id/llIllegalParkingLike"
|
||||
app:layout_constraintStart_toStartOf="@+id/tagEventType"
|
||||
@@ -63,7 +63,7 @@
|
||||
android:alpha="0.6"
|
||||
android:gravity="center_vertical"
|
||||
android:textColor="@color/v2x_FFF_666"
|
||||
android:textSize="@dimen/dp_26"
|
||||
android:textSize="@dimen/module_v2x_event_sub_title_text_size"
|
||||
app:layout_constraintEnd_toEndOf="@+id/tvAddress"
|
||||
app:layout_constraintStart_toStartOf="@+id/tagEventType"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tvAddress"
|
||||
|
||||
@@ -81,4 +81,16 @@
|
||||
<dimen name="share_item_text_size">16px</dimen>
|
||||
<dimen name="share_item_padding">20px</dimen>
|
||||
<dimen name="module_v2x_widow_top_gaps">6px</dimen>
|
||||
|
||||
<!--适配 V2X 弹窗 UI-->
|
||||
<dimen name="module_v2x_event_type_title_text_size">13px</dimen>
|
||||
<dimen name="module_v2x_event_title_text_size">20px</dimen>
|
||||
<dimen name="module_v2x_event_sub_title_text_size">16px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_help_head_size">41px</dimen>
|
||||
<dimen name="module_v2x_event_help_title_text_size">18px</dimen>
|
||||
<dimen name="module_v2x_event_help_sub_title_text_size">14px</dimen>
|
||||
<dimen name="module_v2x_event_help_distance_text_size">44px</dimen>
|
||||
<dimen name="module_v2x_event_parking_text_size">19px</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -81,4 +81,16 @@
|
||||
<dimen name="share_item_text_size">16px</dimen>
|
||||
<dimen name="share_item_padding">20px</dimen>
|
||||
<dimen name="module_v2x_widow_top_gaps">3px</dimen>
|
||||
|
||||
<!--适配 V2X 弹窗 UI-->
|
||||
<dimen name="module_v2x_event_type_title_text_size">13px</dimen>
|
||||
<dimen name="module_v2x_event_title_text_size">20px</dimen>
|
||||
<dimen name="module_v2x_event_sub_title_text_size">16px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_help_head_size">41px</dimen>
|
||||
<dimen name="module_v2x_event_help_title_text_size">18px</dimen>
|
||||
<dimen name="module_v2x_event_help_sub_title_text_size">14px</dimen>
|
||||
<dimen name="module_v2x_event_help_distance_text_size">44px</dimen>
|
||||
<dimen name="module_v2x_event_parking_text_size">19px</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -64,4 +64,15 @@
|
||||
|
||||
<dimen name="module_v2x_panel_tab_height">158px</dimen>
|
||||
|
||||
<!--适配 V2X 弹窗 UI-->
|
||||
<dimen name="module_v2x_event_type_title_text_size">24px</dimen>
|
||||
<dimen name="module_v2x_event_title_text_size">36px</dimen>
|
||||
<dimen name="module_v2x_event_sub_title_text_size">28px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_help_head_size">75px</dimen>
|
||||
<dimen name="module_v2x_event_help_title_text_size">32px</dimen>
|
||||
<dimen name="module_v2x_event_help_sub_title_text_size">26px</dimen>
|
||||
<dimen name="module_v2x_event_help_distance_text_size">80px</dimen>
|
||||
<dimen name="module_v2x_event_parking_text_size">34px</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -80,4 +80,15 @@
|
||||
<dimen name="share_item_padding">25px</dimen>
|
||||
<dimen name="module_v2x_widow_top_gaps">2px</dimen>
|
||||
|
||||
<!--适配 V2X 弹窗 UI-->
|
||||
<dimen name="module_v2x_event_type_title_text_size">24px</dimen>
|
||||
<dimen name="module_v2x_event_title_text_size">36px</dimen>
|
||||
<dimen name="module_v2x_event_sub_title_text_size">28px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_help_head_size">75px</dimen>
|
||||
<dimen name="module_v2x_event_help_title_text_size">32px</dimen>
|
||||
<dimen name="module_v2x_event_help_sub_title_text_size">26px</dimen>
|
||||
<dimen name="module_v2x_event_help_distance_text_size">80px</dimen>
|
||||
<dimen name="module_v2x_event_parking_text_size">34px</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -74,5 +74,15 @@
|
||||
<dimen name="v2x_panel_btn_translationY">-8px</dimen>
|
||||
<dimen name="module_v2x_panel_tab_height">84px</dimen>
|
||||
|
||||
<!--适配 V2X 弹窗 UI-->
|
||||
<dimen name="module_v2x_event_type_title_text_size">13px</dimen>
|
||||
<dimen name="module_v2x_event_title_text_size">20px</dimen>
|
||||
<dimen name="module_v2x_event_sub_title_text_size">16px</dimen>
|
||||
|
||||
<dimen name="module_v2x_event_help_head_size">41px</dimen>
|
||||
<dimen name="module_v2x_event_help_title_text_size">18px</dimen>
|
||||
<dimen name="module_v2x_event_help_sub_title_text_size">14px</dimen>
|
||||
<dimen name="module_v2x_event_help_distance_text_size">44px</dimen>
|
||||
<dimen name="module_v2x_event_parking_text_size">34px</dimen>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user