- Fixed "missing navigation bar shadow on Android 29" issue (#2) when edgeToEdge is applied to Activity or a bottom sheet Dialog.
- New
Edge.All
,Edge.TopArc
andEdge.BottomArc
shortcuts. - New
view.fitWidth {}
adjustment block. - Fixed ignored fitting rules when used with
ConstraintLayout
transitions on some devices.
- New
Edge.Left
andEdge.Right
edges.
- Improved detection of default
adjustment
andclipToPading
values. View.fitPadding
,View.fitHeight
andView.fitMargin
are inline methods now.- More documentation added.
- New
view.fitMargin
,view.fitPadding
andview.fitHeight
convenience methods. - View fitting cannot consume window insets anymore.
- View property is a weak reference in the fitting class.
- New
Fragment.fitEdgeToEdge()
function. - New
edgeToEdge { view.unfit() }
function. - New
ConstraintLayout + Transition
sample screen. edgeToEdge {}
can be applied multiple times.- Some documentation added.
- New public
Window.setEdgeToEdgeFlags()
. - New samples for
BottomSheetDialog
andBottomSheetDialogFragment
.
- Edge-to-Edge system window flags are set automatically.
- New
fit { adjustment = Adjustment.Margin }
. - Insets are not consumed by default, but can be consumed by setting
fit { consumeInsets = true }
.
- New property
fit { consumeInsets: Boolean }
for suppressing insets consumption. - New
Toolbar + ViewPager in ConstraintLayout
sample screen.
- Initial release