ladjs / react-native-loading-spinner-overlay

:barber: React Native loading spinner overlay
MIT License
1.58k stars 173 forks source link

Overlay turned into grey when applying the theme for Android #39

Closed ithieund closed 5 years ago

ithieund commented 7 years ago

Hi @niftylettuce , This plugin is really good, I'm using it in my project. But when I implemented the Chat page with Gifted Chat plugin, I need to apply the theme for Android to make the chat display properly. See this issue: https://github.com/FaridSafi/react-native-gifted-chat/issues/200

But, after applying that theme. The overly turned into grey, not opacity any more.

overlay error

Can you please help?

SandroMachado commented 7 years ago

@ithieund to an activity in android be transparent (like a modal activity) it is required some changes in the activity theme, usually just extend the default android Theme.Translucentworks. Probably changing the theme changes the RN modal view.

Can you test in your code show a transparent modal view? Check the documentation here.