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

Change background color to white doesn't show anything #12

Open
NehaDhanwani opened this issue Sep 29, 2016 · 6 comments
Open

Change background color to white doesn't show anything #12

NehaDhanwani opened this issue Sep 29, 2016 · 6 comments

Comments

@NehaDhanwani
Copy link

I changed the colors of waveform from VerticesDataGenerator and put a background color white/transparent but it doesn't work. It works with gray or any other such variant. How to fix it?

@Cool04ek
Copy link
Contributor

Hi, firstly, it's pretty hard to set transparent colour for GlSurfaceView. You need to use solid colour. Please, specify what are you trying to achieve.

@NehaDhanwani
Copy link
Author

I want to display the waveform, same colors as it displays in the sample on Playstore but on white background

@Cool04ek
Copy link
Contributor

You can use solid white color like #FFFFFF

@NehaDhanwani
Copy link
Author

I did.. doesn't work, no matter what colors i give to waveform it doesn't work with white. Any other color is fine

@LeeWoo337
Copy link

LeeWoo337 commented Dec 5, 2016

Any update on this? I am having the same issue. If you set the background to white or transparent it is not working. Transparent gives a black background since there are some values you need to update to allow for transparent (see here). Passing in #FFFFFF (white) hides the waves and the entire glSurfaceView is just white.

@magicster
Copy link

Heey, i woud like to implement Horizon on white background as well and maybe there is something like transparency of wave colors in horizon library ? It looks like it. Where can i change it ?

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

4 participants