**你的Fx版本是多少** 2.3.5 **遇到了什么问题** App级别悬浮窗,拖动时只在一个小范围内显示,超过范围后悬浮窗不可见了 **可复现的示例代码 或者 复现步骤** FxAppHelper helper = new FxAppHelper.Builder() .setContext(context) .setLayout(R.layout.fs_floating_view) .setOffsetXY(0, FoxSdkCommonExt.dp2px(context, 100)) .setScopeType(FxScopeType.APP) .setEnableAnimation(true) .setOnClickListener(v -> { if (v != null && v.getContext() != null) { Intent intent = new Intent(v.getContext(), FSHomeActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); } }) .build(); FloatingX.install(helper).show(); https://github.com/user-attachments/assets/7a1e3eef-0a1e-47f9-b750-9dd6c96402c7
你的Fx版本是多少
2.3.5
遇到了什么问题
App级别悬浮窗,拖动时只在一个小范围内显示,超过范围后悬浮窗不可见了
可复现的示例代码 或者 复现步骤
FxAppHelper helper = new FxAppHelper.Builder()
.setContext(context)
.setLayout(R.layout.fs_floating_view)
.setOffsetXY(0, FoxSdkCommonExt.dp2px(context, 100))
.setScopeType(FxScopeType.APP)
.setEnableAnimation(true)
.setOnClickListener(v -> {
if (v != null && v.getContext() != null) {
Intent intent = new Intent(v.getContext(), FSHomeActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
context.startActivity(intent);
}
})
.build();
FloatingX.install(helper).show();
device-2025-11-03-111303.mp4