opt
This commit is contained in:
@@ -184,7 +184,6 @@ public class TanluListWindow extends RelativeLayout implements IMogoMarkerClickL
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void initWindow() {
|
public void initWindow() {
|
||||||
Logger.d("liyz", "initWindow --------->");
|
|
||||||
EventBus.getDefault().register(this);
|
EventBus.getDefault().register(this);
|
||||||
initInterface();
|
initInterface();
|
||||||
initModelData();
|
initModelData();
|
||||||
|
|||||||
@@ -184,6 +184,7 @@ public class V2XSurroundingFragment extends MvpFragment<SurroundingEventView, Su
|
|||||||
//设置字体大小,true表示前面的字体大小 dip
|
//设置字体大小,true表示前面的字体大小 dip
|
||||||
spannableString.setSpan(new AbsoluteSizeSpan((int) getContext().getResources().getDimension(R.dimen.module_v2x_surrounding_top), true),
|
spannableString.setSpan(new AbsoluteSizeSpan((int) getContext().getResources().getDimension(R.dimen.module_v2x_surrounding_top), true),
|
||||||
7, originStr.length() - 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
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);
|
spannableString.setSpan(new StyleSpan(Typeface.NORMAL), 7, originStr.length() - 5, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||||
mTotalTv.setText(spannableString);
|
mTotalTv.setText(spannableString);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_bottom_image_height">38px</dimen>
|
<dimen name="module_v2x_surrounding_item_bottom_image_height">38px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_marigin_left">12px</dimen>
|
<dimen name="module_v2x_surrounding_item_marigin_left">28px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16px</dimen>
|
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_marginbottom">5px</dimen>
|
<dimen name="module_v2x_panel_surrounding_marginbottom">5px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_stance">80px</dimen>
|
<dimen name="module_v2x_panel_surrounding_stance">80px</dimen>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_bottom_image_height">38px</dimen>
|
<dimen name="module_v2x_surrounding_item_bottom_image_height">38px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_marigin_left">12px</dimen>
|
<dimen name="module_v2x_surrounding_item_marigin_left">28px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16px</dimen>
|
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">16px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_marginbottom">5px</dimen>
|
<dimen name="module_v2x_panel_surrounding_marginbottom">5px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_stance">80px</dimen>
|
<dimen name="module_v2x_panel_surrounding_stance">80px</dimen>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8px</dimen>
|
<dimen name="module_v2x_surrounding_item_marigin_bottom_left">8px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_marginbottom">2px</dimen>
|
<dimen name="module_v2x_panel_surrounding_marginbottom">2px</dimen>
|
||||||
<dimen name="module_v2x_panel_surrounding_stance">30px</dimen>
|
<dimen name="module_v2x_panel_surrounding_stance">30px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_top">30px</dimen>
|
<dimen name="module_v2x_surrounding_top">50px</dimen>
|
||||||
|
|
||||||
<dimen name="module_v2x_surrounding_refresh_bt_radius">24px</dimen>
|
<dimen name="module_v2x_surrounding_refresh_bt_radius">24px</dimen>
|
||||||
<dimen name="module_v2x_surrounding_top_textsize">18px</dimen>
|
<dimen name="module_v2x_surrounding_top_textsize">18px</dimen>
|
||||||
|
|||||||
Reference in New Issue
Block a user