Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Hover Menu elevation not working #26

Open
jahirfiquitiva opened this issue Jan 22, 2017 · 5 comments
Open

Hover Menu elevation not working #26

jahirfiquitiva opened this issue Jan 22, 2017 · 5 comments
Labels

Comments

@jahirfiquitiva
Copy link

Hi

I have built this library from the source from here, without any modifications, and the Hover Menu elevation seems not to work.

I found a line in the code that, if I'm not wrong, is supposed to set the elevation to the menu, but it doesn't seem to work.

This is how the Hover Menu looks like:

screenshot_20170122-120806 01

I'm using a device with Android 7.1.1 so the elevation should be properly set/viewed.

I hope you can fix it. Thanks in advance.

@matthew-carroll
Copy link
Contributor

Hi Jahir, did you launch the menu in the window, or within an Activity? (there are 2 launch buttons in the demo app).

@jahirfiquitiva
Copy link
Author

@matthew-carroll
Thanks for the reply. I launched it in the window. With the first button (from top to bottom) in the app.

@matthew-carroll
Copy link
Contributor

Ok. Perhaps some aspect of the elevation API changes with Android 7. My devices on 6 are still showing the elevation shadow as far as I can tell. I'll take a look when I get a minute. In the meantime if you stumble upon a solution, please feel free to post it here and I'll integrate it (I haven't formalized the contribution process yet).

@jahirfiquitiva
Copy link
Author

@matthew-carroll
Thanks. I will try to investigate a bit more. From what I have found (in the last couple days of me trying to find an answer to not bother you with this issue), all solutions were either hard for me to understand, or made with XML files. Will keep trying. Thanks.

@AhmedMourad0
Copy link

found a solution yet? having the same problem here on android lollipop

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants