+ * type=2 tab1按钮-出行动态
+ *
+ * type=3 tab2按钮-周边事件
+ *
+ * type=4 tab3按钮-我的分享
+ *
+ * type=5 tab4按钮-关闭按钮
+ */
+ public static void trackV2xHistoryEvent(int type) {
+ try {
+ Map properties = new HashMap<>();
+ properties.put("type", type);
+ V2XServiceManager.getMogoAnalytics().track(V2XConst.V2X_ROAD_EVET_HISTORY_BUTTON, properties);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
}
diff --git a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history_other_help.xml b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history_other_help.xml
index 16f6583eaa..b0e638cd58 100644
--- a/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history_other_help.xml
+++ b/modules/mogo-module-v2x/src/main/res/layout/item_v2x_scennario_history_other_help.xml
@@ -69,7 +69,7 @@
android:layout_marginStart="@dimen/dp_10"
android:layout_marginEnd="@dimen/dp_30"
android:textColor="@android:color/white"
- android:textSize="@dimen/dp_34"
+ android:textSize="@dimen/dp_33"
android:textStyle="bold"
app:layout_constraintEnd_toStartOf="@+id/tvFaultHelpDistance"
app:layout_constraintStart_toEndOf="@id/ivFaultHelpHead"
@@ -82,11 +82,12 @@
android:id="@+id/tvFaultHelpEventTime"
android:layout_width="0dp"
android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/dp_5"
android:layout_marginEnd="@dimen/dp_30"
android:layout_marginBottom="@dimen/dp_24"
android:alpha="0.59"
android:textColor="@android:color/white"
- android:textSize="@dimen/dp_30"
+ android:textSize="@dimen/dp_29"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/tvFaultHelpDistance"
app:layout_constraintStart_toStartOf="@id/tvFaultHelpName"
@@ -102,10 +103,9 @@
android:textColor="#FFF"
android:textSize="@dimen/dp_80"
android:textStyle="bold"
- app:layout_constraintBottom_toBottomOf="@+id/ivFaultHelpEventCall"
+ app:layout_constraintBottom_toBottomOf="@+id/tvFaultHelpEventTime"
app:layout_constraintEnd_toStartOf="@+id/ivFaultHelpEventCall"
app:layout_constraintStart_toEndOf="@+id/tvFaultHelpEventTime"
- app:layout_constraintTop_toTopOf="@+id/ivFaultHelpEventCall"
tools:text="300M" />