Draggable Panel is an archived Android library for building draggable interfaces similar to YouTube's older minimized video panel. It provides separate widgets for applications that use Fragments and those that work directly with Views. A top element can be dragged, scaled, and repositioned while a secondary view remains available underneath. Developers can configure margins, scale factors, view relationships, and other presentation details through attributes or code. The implementation is based on Android's ViewDragHelper and includes supporting documentation intended to clarify its behavior. It targets Android 4.x and later because scaling interactions do not work correctly on older versions. The project is deprecated and has been read-only since 2017.
Features
- Fragment-based DraggablePanel widget
- View-based DraggableView widget
- Drag and scale interface transitions
- Configurable margins and scale factors
- Android ViewDragHelper implementation
- Android 4.x and later support