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

Kshitij Patil

01/27/2021, 12:30 PM
Modifier.navigationBarsWithImePadding()
or
Modifier.imePadding()
from
accompanist-insets
does not apply to
ConstraintLayout
. Is this a bug or am I doing something wrong? Compose:
1.0.0-alpha10
accompanist:
0.4.2
c

cb

01/27/2021, 6:13 PM
Please paste in the layout. ConstraintLayout should honour the
padding()
, but it depends on the constraints, etc.
@Mihai Popa
k

Kshitij Patil

01/28/2021, 6:49 AM
m

Mihai Popa

02/04/2021, 7:20 PM
Sorry I missed this. Did you find out what the problem is? I don't see immediately anything wrong here, and as Chris said, ConstraintLayout should respect padding
k

Kshitij Patil

02/13/2021, 3:38 PM
No, I didn’t find what is the problem and I ended up wrapping all
ConstraintLayouts
in
Box
4 Views