-
Notifications
You must be signed in to change notification settings - Fork 378
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 added to SpaceNavigationView, behaviour tested with/without be… #89
base: master
Are you sure you want to change the base?
Conversation
@mecoFarid can you explain it how to do properly ? What are the params ? And if @armcha doesn't accepts it, how can I use yours ? Since I didn't found any implementation methods on your fork. |
Download the lib from here and unzip it. Then follow this StackOverflow question to add it as an external library. In this question, use Approach 2) part. While following steps in this question choose |
@mecoFarid thanks for your reply. I know how to download the zip and use the library. I was just looking for simple implementation methods. Anyways, if the shadow occurs by default, what is its value in dp ? Can you share an image to get an idea of elevation effect. Also, it would be great if there is a method to provide own value for elevation. Doesn't matters, if it would be from XML or directly from JAVA code. |
@vishalroygeek default Material elevation for AppBar. Since there is no parameter for shadow length in AppBar either. I will provide two options |
@mecoFarid that's cool to add those params. But i would request you to add dynamic elevation param as well. Because sometimes some UI elements need to stand out more than it should. So, providing dynamic elevation would be great. You can also see that most of the UI elements have the elevation param. And it really helps in many cases. Anyways, you did a great job buddy. And let me know when you make the suitable changes |
This link was deleted. |
the link was deleted, can u upload this library again, please? |
Here is the link spacelib. Also, edited link in the original comment. |
Added shadow to SpaceNavigationView. Shadow consists of offset paths with different levels of alphas along the upper border of SaceNavigationView