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

can't set backgroundColor to transparent #18

Open
1797918430 opened this issue Jul 2, 2018 · 2 comments
Open

can't set backgroundColor to transparent #18

1797918430 opened this issue Jul 2, 2018 · 2 comments

Comments

@1797918430
Copy link

when i set backgroundColor to transparent,it show 'black' color

@kottamasusaikumar
Copy link

You can add your own styles
ex:Toast.show(toastText,Toast.SHORT,Toast.CENTER,toastStyles);
In the above example I am using toastStyles
iosToastStyles: {
backgroundColor: '#80808080',
color: '#FFFFFF',
borderRadius: 15,
width: 250,
height: 30
}
You can use transparent color also

@adirzoari
Copy link

@kottamasusaikumar @1797918430 when I set background rgba the app is crash..

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

3 participants