Skip to content

kaii-lb/YAMFsquared

 
 

Repository files navigation

YAMF^2 :D

Yet Another Yet Another Mi-FreeForm

More my style floating windows!

Requirements

  • Android 13+ (>= api 33)
  • LSPosed

Features

  • Launch from recents app icon
  • Launch by home button long press (read further)
  • Launch from app icon long press from homescreen/app drawer
  • Launch from taskbar
  • Multiple window support
  • Minimize window to take up less space
  • Resize window
  • Scale window maybe?
  • FLAG_SECURE support
  • Quick Settings tiles
  • App Rotation detection
  • Custom default window size
  • Custom DPI setting
  • Bunch of others in app :D

Launch by home button long press (or swipe gesture)

  • Be willing to give up google assistant
  • Go to Settings -> Assistant App
  • Change it to YAMF^2
  • Profit

How to install

  • Grab the latest APK from the releases section
  • Install it
  • Enable module in LSPosed
  • Go to Accessibility Settings and enable YAMF^2 accessibility service
  • Reboot

"API"

  • Broadcast io.github.kaii_lb.yamfsquared.action.CURRENT_TO_WINDOW to float the currently visible app
  • Maybe more to come

Issues

  • The system will crash if the module is different from the injected version, its an xposed thing
  • Some apps can't seem to launch in small windows
  • Some apps scale abnormally at certain sizes

TODO

  • Minimize to app icon (half done? long press minimize button to try)
  • Scale window (not resize)
  • Hide default virtual display window on pressing back button enough times
  • RtL support
  • You tell me

Special Thanks

About

Yet Another, Yet Another Mi-FreeForm

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 84.0%
  • Java 15.5%
  • AIDL 0.5%