opt
This commit is contained in:
@@ -184,7 +184,6 @@ public class V2XSurroundingFragment extends MvpFragment<SurroundingEventView, Su
|
||||
//设置字体大小,true表示前面的字体大小 dip
|
||||
spannableString.setSpan(new AbsoluteSizeSpan((int) getContext().getResources().getDimension(R.dimen.module_v2x_surrounding_top), true),
|
||||
7, originStr.length() - 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
Log.d("liyz", "size = " + (int) getContext().getResources().getDimension(R.dimen.module_v2x_surrounding_top));
|
||||
spannableString.setSpan(new StyleSpan(Typeface.NORMAL), 7, originStr.length() - 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
mTotalTv.setText(spannableString);
|
||||
} else {
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
android:layout_marginTop="@dimen/module_v2x_surrounding_empty_tv_margin_top"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="周边5公里,暂无交通事件"
|
||||
android:textColor="@color/transparent_white_30"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
android:layout_marginTop="1px"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="你可以试着分享一个事件给其他车主"
|
||||
android:textColor="@color/transparent_white_30"
|
||||
android:textColor="@color/v2x_FFF_333"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize"
|
||||
android:textStyle="bold" />
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<color name="v2x_white_light">#333333</color>
|
||||
<color name="v2x_item_white_light">#FFFFFF</color>
|
||||
<color name="v2x_white_refresh_light">#FFFFFF</color>
|
||||
<color name="transparent_white_30_light">#B3FFFFFF</color>
|
||||
<color name="transparent_white_30_light">#333333</color>
|
||||
<color name="share_event_no_more_color_light">#333333</color>
|
||||
<color name="v2x_FFF_999_light">#999999</color>
|
||||
<color name="v2x_FFF_333_light">#333333</color>
|
||||
|
||||
Reference in New Issue
Block a user