Niwatori - One Handed Mode - Nougat compatible
This is the reborn package for original Niwatori - One Handed Mode. The original link is here: http://repo.xposed.info/module/jp.tkgktyk.xposed.niwatori
The original author tkgktyk doesn't support to work on Nougat and chooses to share the source code with community.
With my effort, now it can work on Nougat and I also brings some improvement. I test it with Android 6.0 stock FW on Nexus 7, Oxygen OS on Oneplus 3T and Slim7 on Oneplus 1. I don't have more devices to test. If you have any problem, please feel free to report on GitHub or XDA post.
1. Show current intent consumer on log switch.
2. Improve battery drain.
3. Bug fixes.
Bug fixes.
1. Re-arch all one-hand-mode handlers. Now they inherited from one base class.
2. Remove support for extra actions. This once was designed for manipulating notification panels. Now you can use notification panel gesture to do that.
3. Add switch for enabling/disabling triggering gesture.
4. Bug fix.
1. Add global triggering gesture for small screen mode. Now you can swipe on left or right edge to trigger small mode in any Activity window.
2. Fix the background graphical issue for notification panel.
3. Other minor bug fixes.
There are bunch of new features in this version. So I bump it up to a big version change.
1.The content view in small screen mode is moved away from the edge with margins in both X and Y axis.
2.You can use gestures in those margins. Be noted that this gesture still doesn't work with Notification panel. I will work on this soon. The gestures include:
- slide down to slide the upper half of the shrunk content down to bottom half.
- slide up to reset to original shrunk screen position
- scroll left to zoom out
- scroll right to zoom in
3. Add a tutorial guide in the first app launch. You can also open it up with a menu item.
4. Translate into Chinese simplified.
5. Remove all the donation limitation. You can use every premium feature free.
Fix a crash during multi-finger gesture in OOS and H2OS.
1.Remove the redundant auto reset.
2.Persistent small screen works without background service.
3.Roll to latest gradle tool and Android tool chain.
4. Move default pivotY to 0.5.
1.Add double tap gesture on notification panel. You can play with Notification panel much easier with Niwatori.
2.Fix background issue in Discord and Taobao.
NOTE: use reboot rather than soft reboot to make the update work well. Otherwise, you may have issues.
1.Compile with Oreo.
2.Swap directly instead of broadcast receiver to work better in Oreo. Because Oreo cut off most cross wake up among apps.
3.Enhance compatibility.
1. Improve the compatibility.
2. Merge the shared preference solutions in Slim7 (AOSP based) and Oxygen OS.