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

Transparent black background can not be removed #70

Closed
ergunkocak opened this issue Jul 28, 2015 · 5 comments
Closed

Transparent black background can not be removed #70

ergunkocak opened this issue Jul 28, 2015 · 5 comments

Comments

@ergunkocak
Copy link

Hello,

Even i used :

setBackgroundColorResourceId(R.color.transparent_color)

there is still a transparent background i could change it like this :

((FrameLayout) findViewById(R.id.content_container).getParent()).setBackgroundColor(getResources().getColor(R.color.transparent_color))

FYI

@orhanobut
Copy link
Owner

@ergunkocak backgroundcolor is used for the content, not for the transparent black overlay. But we can add this feature, or contribute is also very welcome :)

@ergunkocak
Copy link
Author

ok this is on me than :) I will contribute asap

@orhanobut
Copy link
Owner

👍

@orhanobut
Copy link
Owner

I have added a method to change the overlay background resource. for example:
setOverlayBackgroundResource(R.color.transparent)

@orhanobut
Copy link
Owner

Closing this issue since it can be done via new method. 👍

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