rsktash
11/12/2021, 4:44 PMrsktash
11/12/2021, 4:45 PMStylianos Gakis
11/12/2021, 4:47 PMrsktash
11/12/2021, 4:48 PMStylianos Gakis
11/12/2021, 4:49 PMrsktash
11/12/2021, 4:50 PMLouis Pullen-Freilich [G]
11/12/2021, 4:52 PMcontentPadding
parameter would be confusing as it’s unclear what this would actually change, and it probably doesn’t help in most casesStylianos Gakis
11/12/2021, 4:52 PMStylianos Gakis
11/12/2021, 4:53 PMLouis Pullen-Freilich [G]
11/12/2021, 4:54 PMStylianos Gakis
11/12/2021, 4:54 PMrsktash
11/12/2021, 4:56 PMStylianos Gakis
11/12/2021, 4:56 PMStylianos Gakis
11/12/2021, 4:57 PMrsktash
11/12/2021, 4:58 PMLouis Pullen-Freilich [G]
11/12/2021, 4:59 PMWhy is this different in this case that just happens to be using the slots API?Because there are multiple pieces of ‘content’ - the title / navigation icon / actions are all separate, and have their own padding. It’s misleading that you can set contentPadding to 0, and there will still be padding applied to the start of the nav icon and title
Is there a workaround if I want to implement edge-to-edge top bar for compose app?Accompanist provides APIs for this as linked above
Stylianos Gakis
11/12/2021, 4:59 PMrsktash
11/12/2021, 5:00 PMStylianos Gakis
11/12/2021, 5:01 PMStylianos Gakis
11/12/2021, 5:02 PMLouis Pullen-Freilich [G]
11/12/2021, 5:02 PMStylianos Gakis
11/12/2021, 5:04 PMrsktash
11/12/2021, 5:06 PM