bug fix
This commit is contained in:
@@ -186,7 +186,7 @@ public class EntranceViewHolder {
|
||||
icon.setBackgroundResource(R.drawable.module_ext_left_notice_icon_red_bg);
|
||||
}
|
||||
icon.setImageResource(iconRes);
|
||||
TextView tvContent = view.findViewById(R.id.module_ext_vr_mode_left_notice_container);
|
||||
TextView tvContent = view.findViewById(R.id.module_ext_tv_left_notice_content);
|
||||
tvContent.setText(content);
|
||||
return view;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
android:layout_marginBottom="@dimen/module_common_shadow_width_pos">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/module_ext_vr_mode_left_notice_icon_width"
|
||||
@@ -13,6 +14,7 @@
|
||||
android:background="@drawable/module_ext_left_notice_icon_red_bg"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_ext_tv_left_notice_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="@dimen/module_ext_vr_mode_left_notice_height"
|
||||
android:text="应急车辆优先通行"
|
||||
|
||||
@@ -149,7 +149,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="@dimen/module_common_shadow_width_pos"
|
||||
android:layout_marginLeft="@dimen/module_ext_vr_mode_left_feature_margin_left"
|
||||
app:layout_goneMarginLeft="@dimen/module_common_shadow_width_pos"
|
||||
android:layout_marginBottom="@dimen/module_common_shadow_width_pos"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/module_ext_vr_mode_left_notice_container">
|
||||
|
||||
@@ -175,4 +175,5 @@
|
||||
<dimen name="module_ext_vr_mode_left_notice_content_text_size">40px</dimen>
|
||||
<dimen name="module_ext_vr_mode_left_notice_content_padding_top">32px</dimen>
|
||||
<dimen name="module_ext_vr_mode_left_notice_content_padding_left">40px</dimen>
|
||||
<dimen name="module_ext_vr_mode_left_feature_margin_left">50px</dimen>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user