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

Remove shadow #28

Open
pgouv opened this issue Feb 2, 2014 · 4 comments
Open

Remove shadow #28

pgouv opened this issue Feb 2, 2014 · 4 comments

Comments

@pgouv
Copy link

pgouv commented Feb 2, 2014

Tried this shadowDrawable="@android:color/transparent" but couldnt remove shadow. Is it possible ?

@janakagamini
Copy link

I don't get it, so how does one remove the shadow drawable? (Instead of creating a transparent .png and setting that)

@f2prateek
Copy link
Owner

Could you show me screenshots of with the transparent drawable and without so I can visualize what the issue is?

@janakagamini
Copy link

There is no real issue, it's just that you can't set @android:color/transparent as shadowDrawable. The View grew insanely large (sorry not at my development pc to show a screenshot).

Instead you can create a fully transparent .PNG of the same size as the other drawables and set that as the shadowDrawable.

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