Bearded-Hen / Android-Bootstrap

Bootstrap style widgets for Android, with Glyph Icons
MIT License
7.29k stars 1.43k forks source link

how to change bootstrap progressbar background color ash to white? #195

Closed kalyanimvn closed 7 years ago

kalyanimvn commented 7 years ago

I want like below image. capture

what my problem is i am getting ash color instead of white.How to change that ash color to white?in android.

Thanks in advance.

khalid-mahmood commented 7 years ago

@kalyanimvn to achieve this this you have to import library code as project to your App.. Update BootstrapProgressBar.java bgPaint.setColor(ColorUtils.resolveColor(R.color.bootstrap_gray_light, getContext())); Add white color to color.xml and set in code. bgPaint.setColor(ColorUtils.resolveColor(R.color.white, getContext()));

kalyanimvn commented 7 years ago

Thank you so much i will check and update .

On Thu, Mar 30, 2017 at 11:58 AM, Khalid Mahmood notifications@github.com wrote:

@kalyanimvn https://github.com/kalyanimvn to achieve this this you have to import library code as project to your App.. Update BootstrapProgressBar bgPaint.setColor(ColorUtils.resolveColor(R.color.bootstrap_gray_light, getContext())); Add white color to color.xml and set in code. bgPaint.setColor(ColorUtils.resolveColor(R.color.white, getContext()));

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Bearded-Hen/Android-Bootstrap/issues/195#issuecomment-290314719, or mute the thread https://github.com/notifications/unsubscribe-auth/AX6TwD0ShtahCKRfmkHNOPXP4AYW6nI4ks5rq0t2gaJpZM4MaIBQ .

-- With Regards, M.V.N.Kalyani Android developer.