BGASwipeBackLayout-Android is an Android library that adds swipe-back navigation behavior to Activity screens. It implements the interaction by adapting SlidingPaneLayout behavior from the support library. The project supports normal swipe-back behavior, WeChat-style swipe-back behavior, and use with non-transparent Activity themes. Developers can dynamically enable or disable swipe-back, choose whether tracking starts only from the left edge, and control whether the WeChat-style interaction is active. It also provides options for shadows, shadow fading, swipe thresholds, and navigation bar overlap behavior. The library supports fullscreen, landscape, and portrait layouts, making it useful for apps that want gesture-based back navigation across different screen modes.
Features
- Android Activity swipe-back navigation
- WeChat-style swipe-back mode
- Non-transparent theme support
- Dynamic gesture enablement
- Shadow and threshold configuration
- Fullscreen, landscape, and portrait support