Skip to content

Conversation

@lindroy
Copy link
Contributor

@lindroy lindroy commented Dec 10, 2018

这次主要做了两方面的工作:

  1. 添加了设置IndexBar背景颜色的功能,而且可以分为默认和手指按下时两种;
  2. 为颜色参数添加@ColorInt注解,传参时更加严谨。

希望可以接纳。另外,后面会试试看能不能实现IndexBar背景设置圆角矩形的功能。

@lindroy
Copy link
Contributor Author

lindroy commented Dec 10, 2018

抱歉,里面设置默认背景色的方法有点问题,漏了一行,应为
public void setNorBarBgColor(@ColorInt int norBarBgColor) { this.norBarBgColor = norBarBgColor; mBarBgPaint.setColor(norBarBgColor); }
带来的不便请多多包涵。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant