修复了没有 道路名称的时候使用"未知道路"做占位
This commit is contained in:
@@ -32,7 +32,7 @@ public class MarkerExploreWay implements Serializable {
|
||||
|
||||
public String getAddr() {
|
||||
if (TextUtils.isEmpty(addr)) {
|
||||
return "";
|
||||
return "未知道路";
|
||||
}
|
||||
return addr;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
android:id="@+id/ivIconP"
|
||||
android:layout_width="@dimen/module_v2x_history_event_icon_size"
|
||||
android:layout_height="@dimen/module_v2x_history_event_icon_size"
|
||||
android:layout_marginEnd="@dimen/dp_16"
|
||||
android:src="@drawable/icon_illegal_parking"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tagEventType"
|
||||
app:layout_constraintTop_toTopOf="@+id/tvAddress" />
|
||||
@@ -57,7 +58,6 @@
|
||||
android:id="@+id/tvAddress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:layout_marginTop="@dimen/dp_24"
|
||||
android:layout_marginRight="@dimen/dp_30"
|
||||
android:ellipsize="end"
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/ivEmptyView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_390"
|
||||
android:layout_height="@dimen/dp_390"
|
||||
android:layout_marginTop="@dimen/dp_120"
|
||||
android:src="@drawable/icon_blank_history_event"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tvTrip"
|
||||
|
||||
Reference in New Issue
Block a user