cortinico/slidetoact

Can I implement such slide using this library?

anonym24 opened this issue · 3 comments

image

so basically it's white handle with shadow (on the right) on white background

Mostly yes,

with shadow

The shadow on the right will be the hardest thing to achieve though. This library adds some shadow but not as prominent as in this screenshot

@cortinico thanks for reply.
Yeah. I tried

image

Shadow is not that important. I changed inner background to light grey. This thing in general difficult on Android. So usually it just has only drop elevation, and we can't really control direction

Two more things:

  • text is always in the middle within the inner, would be great to have it with offset from button (outer)
  • button (outer) aspect size is 1:1 only, would be great to have an ability to set size or aspect ratio
  • text is always in the middle within the inner, would be great to have it with offset from button (outer)
    • button (outer) aspect size is 1:1 only, would be great to have an ability to set size or aspect ratio

Yup those two are not possible at the moment