DragLinearLayout
DragLinearLayout copied to clipboard
replaced top and bottom shadow by background shadow 9patch
suggested fix for recent discussion around drag shadow.
Nice! Thanks a lot, I like this solution. Would be interested to hear from @escobar5 if this solves #25.
Minor nitpicks:
- The 9-patch shadow is a bit too dark imo, I think it may look nicer if the opacity was lower.
- We should include a 9-patch for each of the common densities.
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?