-
Notifications
You must be signed in to change notification settings - Fork 121
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
replaced top and bottom shadow by background shadow 9patch #26
base: master
Are you sure you want to change the base?
Conversation
* The shadow to be drawn below the {@link #draggedItem}. | ||
*/ | ||
private final Drawable dragBottomShadowDrawable; | ||
private final Drawable dragShadowDrawable; | ||
private final int dragShadowHeight; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename this to dragShadowMargin
or similar.
updated. i checked on an ldpi emulator, seems to work fine with the xxhdpi 9patch. set alpha to 75 on the shadow. feel free to pick a different alpha. |
What did you use to generate the 9-patch? |
A designer in my project build it a while ago. I assume sketch. |
thanks, I will check it as soon as I can |
How can I remove shadow when moving? |
suggested fix for recent discussion around drag shadow.