修改故障求助显示问题和道路事件icon不显示问题
This commit is contained in:
1
.idea/gradle.xml
generated
1
.idea/gradle.xml
generated
@@ -77,7 +77,6 @@
|
||||
</set>
|
||||
</option>
|
||||
<option name="resolveModulePerSourceSet" value="false" />
|
||||
<option name="useQualifiedModuleNames" value="true" />
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
android:layout_marginLeft="@dimen/module_common_shadow_width_pos"
|
||||
android:layout_marginTop="@dimen/module_common_shadow_width_pos"
|
||||
android:layout_marginRight="@dimen/module_common_shadow_width_pos"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
android:background="@drawable/module_ext_drawable_seek_help_notice_bg" />
|
||||
|
||||
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
|
||||
<dimen name="module_common_shadow_width_pos">10px</dimen>
|
||||
|
||||
<dimen name="module_ext_seek_help_notice_bg_margin_top">20px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_icon_width">44px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_bg_width">1060px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_bg_height">100px</dimen>
|
||||
|
||||
@@ -170,4 +170,5 @@
|
||||
<dimen name="module_ext_seek_help_notice_text_size">18px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_text_margin_start">10px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_number_text_size">22px</dimen>
|
||||
<dimen name="module_ext_seek_help_notice_bg_margin_top">16px</dimen>
|
||||
</resources>
|
||||
@@ -85,6 +85,7 @@ public abstract class MapMarkerBaseView extends LinearLayout implements IMarkerV
|
||||
}
|
||||
|
||||
protected void loadPoiTypeIcon(String url,int res) {
|
||||
ivIcon.setImageResource(res);
|
||||
if ( Looper.myLooper() != Looper.getMainLooper() ) {
|
||||
UiThreadHandler.post( ()-> loadPoiTypeIconInUiThread(url, res));
|
||||
} else {
|
||||
@@ -93,7 +94,7 @@ public abstract class MapMarkerBaseView extends LinearLayout implements IMarkerV
|
||||
}
|
||||
|
||||
private void loadPoiTypeIconInUiThread(String url,int res) {
|
||||
ivIcon.setImageResource(res);
|
||||
|
||||
if (!url.isEmpty()) {
|
||||
ivIcon.setPlaceHolder(res);
|
||||
ivIcon.setFailureHolder(res);
|
||||
|
||||
Reference in New Issue
Block a user