-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
Shadow not displaying. SetElevation not working #35
Comments
Yes, I am also using setElevation and setArrowColor but not working. it's just display normal background without elevation and arrow color can not be changed |
@GuillemRoca @rajal2009 |
@rajal2009 |
Hello @skydoves! After a brief investigation, I believe this could be caused by this. In the method:
I've changed the The bad thing is that it messes with the arrow and the background set in the API. Maybe you can help me get to the final solution. |
Hi, @GuillemRoca , @rajal2009 |
Awesome! I will take a look and test it! 😄 |
I've finally had time to test it and it works as intended! Great work and great library! :D |
Please complete the following information:
Describe the Bug:
I tried the parameter setElevation in order to display the shadow as recently you released this feature in version 1.1.3 and I couldn't manage to get it to work.
I've tested in my own app and in the sample of the repo and I couldn't manage to get it to work, I've edited all the Factories without success:
Sample code
Also shouldn't the elevation be set as the padding or the width/height which is an Int and not a Float for consistency API reasons? The elevation should also be applied in dp.
Expected Behavior:
The elevation should behave as normal and be displayed in the UI.
PS: Thanks for the awesome library! Keep up the good work! 💪
The text was updated successfully, but these errors were encountered: