Releases: klinker24/Android-DragDismissActivity
Android Q Improvements
Migrate to Android X
Build an Android X version of the drag-dismiss library.
Smoothness fixes
This release brought in some upstream fixes to smooth out the "jump" that the initial drag-dismiss had:
Fixes for Essential Phone
- Don't assume 24dp for the status bar size (Essential Ph-1)
- Add DragDismissIntentBuilder preference for whether or not you want to draw under the status bar.
- If not, the library will handle the content margin at the top, to take the status bar into account
- This is off by default, so the library is handling the status bar size, for you
Fix adjustResize
The activity did not resize itself, when focusing on an EditText
to bring up the soft keyboard.
Support shared activity transitions
The library will now use AppCompatActivity#finishAfterTransition
instead of Activity#finish
, to support shared element transitions
Update dependencies
This updates the support library dependencies. The main improvement here is on scrolling performance for the non-RecyclerView
layouts, as discussed here:
Create delegates
If you don't want to extend the DragDismissAcitivity
or DragDismissRecyclerViewActivity
, I have created and exposed some delegates that you can implement instead.
For example usage, see the AbstractDragDismissActivity.
No changes are required to implement the individual Activities
.
Initial Public Release
v1.2.3 improve the drag-dismiss distance