View contentView = LayoutInflater.from(context).inflate(R.layout.fv_test,null);
FloatWindow floatWindow = new FloatWindow.With(this, layout)
.setModality(false)
.setMoveAble(true)
.setAutoAlign(true)
.setAlpha(0.5f)
.setWidth(WindowManager.LayoutParams.WRAP_CONTENT)
.setHeight(WindowManager.LayoutParams.MATCH_PARENT)
.create();
// Displayed on the screen
floatWindow.show();
// Remove from the screen
floatWindow.remove();
-
Notifications
You must be signed in to change notification settings - Fork 1
AfterFX/FloatingTool
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Android floating app
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published