# Petterpx/FloatingX

Android上强大的悬浮窗组件，支持 系统浮窗(需要权限)、应用内浮窗(无权限)、局部悬浮(View)，支持边缘吸附、回弹、自定义动画、位置保存、窗口化及分屏后位置修复等。Android without permission suspension window(App), support global(View), local suspension, support edge adsorption, rebound, custom animation, position saving, windowing and split-screen position repair.

Repository: https://github.com/Petterpx/FloatingX
Canonical: https://ross.abutalabs.com/products/floatingx
Language: Kotlin
License: MIT
License Family: permissive
Topics: floating, floating-window, kotlin-android, android-lifecylce
Last push: 2026-02-16T15:31:46+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 67, release rhythm 44, longevity 100
- inputs: {"age_days": 1920, "days_push": 198, "days_rel": 374, "gap_med": 22, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1496, forks 188 (observed 2026-08-28T04:04:53.671507+00:00)

## What it is
FloatingX is a Kotlin library for Android that provides flexible floating window functionality, supporting system overlays (with permission), in-app floating windows (no permission), and local View-based suspension. It offers edge adsorption, rebound, custom animations, position saving, and split-screen position repair.

## Use cases
- show a floating widget over other apps on android
- create in-app draggable floating view without overlay permission
- add edge-snapping floating button with rebound animation
- remember floating window position across sessions
- display floating window inside fragment or viewgroup
- support floating windows in split-screen mode

## When to choose
- you need floating windows on android with or without overlay permission
- you want compose support and rich gesture handling
- you need per-page allow/deny lists for floating views

## When to avoid
- you need desktop OS floating windows
- your project is not android/kotlin

## Facets
- artifact type: library
- maturity: active
- function: ui-components, animation
- domain: mobile-development, android-tools
- platform: jvm
- tags: floating-window, jetpack-compose, overlay, drag-and-drop, android

## Member repositories
- Petterpx/FloatingX (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:53.671507+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:11.723017+00:00, confidence not recorded.
  - readme: https://github.com/Petterpx/FloatingX (fetched 2026-08-28T04:04:53.671507+00:00, sha ff28aeea4e23)
- Data as of 2026-08-30T08:39:29.467469+00:00.
