getactivity/bgaswipebacklayout-android — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2018-06-19
Add swipe-to-go-back navigation to an Android chat or social app
Give content-heavy Android screens an iOS-like swipe-to-dismiss feel
Enable edge-swipe back gestures on screens with scrollable lists or swipe-to-delete items
| getactivity/bgaswipebacklayout-android | c1422113471-cpu/hermes-wechat-relay | cornerdevice/checkappdevice | |
|---|---|---|---|
| Stars | 17 | 17 | 17 |
| Language | Java | Java | Java |
| Last pushed | 2018-06-19 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | moderate | hard |
| Complexity | 2/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires careful handling of transparent versus opaque app themes to avoid revealing the home screen during swipe-back.
BGASwipeBackLayout-Android is a tool for Android app developers that adds a "swipe to go back" gesture to their apps. You know how in WeChat you can swipe from the left edge of the screen to return to the previous page instead of tapping a back button? This library lets developers bring that same smooth, satisfying interaction to their own Android apps with minimal effort. At a technical level, it works by modifying an existing Android sliding panel component to create the swipe-back behavior. Developers initialize it once when their app starts, then plug it into a base activity class that all their screens inherit from. From there, it just works. The library offers a range of toggles developers can flip on a per-screen basis: whether swipe-back is enabled, whether it tracks only the left edge, whether to show a shadow effect during the swipe, and how far the user needs to drag before the gesture commits. It also handles both portrait and landscape orientations, and works with full-screen modes. The primary audience is Android developers building apps where polished, modern navigation matters. If you are creating a chat app, a social feed, or any content-heavy app and want that tactile, iOS-like swipe-to-dismiss feel, this saves you from building the gesture system from scratch. The README notes it works alongside scrollable lists and swipe-to-delete item layouts, so it is practical for complex screens rather than just simple ones. One thing worth noting: the library requires some care with transparent versus opaque app themes. If a developer uses a transparent theme for the bottom-level screen in their navigation stack, swiping back can briefly reveal the phone's home screen behind the app. The README also mentions that screens with certain special controls, like maps, can crash if touched immediately after a swipe-back finishes, though the library already handles common cases like web views internally.
An Android library that adds swipe-to-go-back gestures to apps, like WeChat's edge-swipe navigation. Developers plug it into a base activity to enable smooth swipe-back on all screens.
Mainly Java. The stack also includes Java, Android.
Dormant — no commits in 2+ years (last push 2018-06-19).
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.