fix [直播分类里的字体颜色需修改为之前潘多拉的颜色,参考截图]
This commit is contained in:
parent
4451403f46
commit
be214df23b
@ -139,7 +139,7 @@ public abstract class AbsMainHomeParentViewHolder extends AbsMainViewHolder {
|
|||||||
public IPagerTitleView getTitleView(Context context, final int index) {
|
public IPagerTitleView getTitleView(Context context, final int index) {
|
||||||
SimplePagerTitleView simplePagerTitleView = new ColorTransitionPagerTitleView(context);
|
SimplePagerTitleView simplePagerTitleView = new ColorTransitionPagerTitleView(context);
|
||||||
simplePagerTitleView.setNormalColor(Color.parseColor("#B1B1B1"));
|
simplePagerTitleView.setNormalColor(Color.parseColor("#B1B1B1"));
|
||||||
simplePagerTitleView.setSelectedColor(Color.parseColor("#FFC621"));
|
simplePagerTitleView.setSelectedColor(Color.parseColor("#7d77fc"));
|
||||||
simplePagerTitleView.setText(titles[index]);
|
simplePagerTitleView.setText(titles[index]);
|
||||||
simplePagerTitleView.setTextSize(18);
|
simplePagerTitleView.setTextSize(18);
|
||||||
simplePagerTitleView.getPaint().setFakeBoldText(true);
|
simplePagerTitleView.getPaint().setFakeBoldText(true);
|
||||||
@ -160,7 +160,7 @@ public abstract class AbsMainHomeParentViewHolder extends AbsMainViewHolder {
|
|||||||
linePagerIndicator.setMode(LinePagerIndicator.MODE_WRAP_CONTENT);
|
linePagerIndicator.setMode(LinePagerIndicator.MODE_WRAP_CONTENT);
|
||||||
linePagerIndicator.setXOffset(DpUtil.dp2px(5));
|
linePagerIndicator.setXOffset(DpUtil.dp2px(5));
|
||||||
linePagerIndicator.setRoundRadius(DpUtil.dp2px(2));
|
linePagerIndicator.setRoundRadius(DpUtil.dp2px(2));
|
||||||
linePagerIndicator.setColors(Color.parseColor("#FFC621"));
|
linePagerIndicator.setColors(Color.parseColor("#7d77fc"));
|
||||||
return linePagerIndicator;
|
return linePagerIndicator;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user