Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

v0.2.0

Compare
Choose a tag to compare
@chrisbanes chrisbanes released this 03 Nov 22:32

This is a big release 🎉

New features

  • Widgets library, allowing easy inset handling on top of ConstraintLayout, allowing the same attributes provided by dbx. See the widgets library for more info.
  • Edge-to-edge flag APIs: Insetter.setEdgeToEdgeSystemUiFlags(), with accompanying dbx attribute: layout_edgeToEdge.
  • Insetter.applyInsetsToView() function, which allows easy application of insets at runtime from code. This is what powers all of the widgets and dbx libraries.
  • Sample added. It's very basic but does what it needs to.

API changes

  • Renamed app:paddingXXXGestureInsets to app:paddingXXXSystemGestureInsets for consistency.
  • Renamed app:marginXXXX attributes to match system naming scheme: app:layout_marginXXXX

[Commit diff]