DragLinearLayout icon indicating copy to clipboard operation
DragLinearLayout copied to clipboard

replaced top and bottom shadow by background shadow 9patch

Open meesec opened this issue 8 years ago • 6 comments

suggested fix for recent discussion around drag shadow.

meesec avatar May 21 '16 17:05 meesec

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.

justasm avatar May 22 '16 09:05 justasm

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.

meesec avatar May 22 '16 12:05 meesec

What did you use to generate the 9-patch?

justasm avatar May 22 '16 12:05 justasm

A designer in my project build it a while ago. I assume sketch.

meesec avatar May 22 '16 12:05 meesec

thanks, I will check it as soon as I can

escobar5 avatar May 23 '16 19:05 escobar5

How can I remove shadow when moving?

daktarin avatar Jul 16 '18 05:07 daktarin