Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default markerColor is black (should be white), also can't change it #3

Open
DennisVanAcker1 opened this issue Jun 27, 2018 · 0 comments

Comments

@DennisVanAcker1
Copy link

DennisVanAcker1 commented Jun 27, 2018

I added the seekbar in my fragment like this:

<com.bq.markerseekbar.MarkerSeekBar
android:id="@+id/seekbar"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foregroundGravity="center"
app:markerTextColor="#ffffff"
/>

MarkerSeekBar:

setTextColor and setTextAppearance should be reversed:

markerTextView.setTextColor(a.getColor(R.styleable.MarkerSeekBar_markerTextColor, Color.WHITE));
markerTextView.setTextAppearance(context,a.getResourceId(R.styleable.MarkerSeekBar_markerTextAppearance, R.style.Widget_MarkerSeekBar_TextAppearance));

I tried creating a branch for doing a pull request but i don't have permissions

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

No branches or pull requests

1 participant