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

Current indicator background color #3

Closed
AshkanImmortal opened this issue Jan 14, 2015 · 5 comments
Closed

Current indicator background color #3

AshkanImmortal opened this issue Jan 14, 2015 · 5 comments

Comments

@AshkanImmortal
Copy link

Hello there, can you help me change the color of current indicator?

@ongakuer
Copy link
Owner

You can create a new drawable like this , and change solid color.

The XML :

<me.relex.circleindicator.CircleIndicator    
            android:layout_width="match_parent"
            android:layout_height="40dp"
            app:ci_drawable="@drawable/custom_drawable"/>

@AshkanImmortal
Copy link
Author

Thanks for quick reply, yes I did like this, but for example I want to change the color of current indicator, means they are white and second one is yellow

@ongakuer
Copy link
Owner

@AshkanImmortal
Oh, It will be a lot of code changes. I'll give you code later.

@ongakuer
Copy link
Owner

@AshkanImmortal
I have pushed a new branch ( transition_color ).
I think TransitionDrawable is a way to change the color of indicator.

@AshkanImmortal
Copy link
Author

Thanks that's very nice
On Jan 15, 2015 9:42 AM, "relex" notifications@github.com wrote:

@AshkanImmortal https://github.com/AshkanImmortal
I have pushed a new branch ( transition_color
https://github.com/ongakuer/CircleIndicator/tree/transition_color ).

I think TransitionDrawable is a way to change the color of indicator.


Reply to this email directly or view it on GitHub
#3 (comment)
.

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

2 participants