https://kotlinlang.org logo
#compose
Title
# compose
z

zsperske

12/13/2020, 5:39 AM
is there a way to achieve negative padding? I'm implementing swipe to dismiss on a list and while I want my list item's content to be padded from the edge, I would like the red bar which appears as you swipe to have no padding and emerge from the edge
r

robnik

12/13/2020, 2:54 PM
Maybe try something with the
offset
modifier?
6 Views