GLSurfaceView 浮动在仪表板布局顶部

发布于 2024-12-06 02:34:39 字数 279 浏览 0 评论 0原文

我在布局上创建一个透明的子glsurfaceview(制作zorderontop(true))并将其放置在滚动视图中。

在我的父视图组中,这是一个相对布局,顶部有一个仪表板,下面的滚动视图包含 glsurfaceview。

当我滚动视图时表面视图移动到仪表板的顶部,但我希望我的 glsurfaceview 位于该仪表板下方。

如果我使 zorderontop(false) 背景不透明。如何实现?

请有人帮助我。

预先非常感谢。

Im creating a transparent sub-glsurfaceview on a layout (making zorderontop(true)) and placing it in a scrollview.

In my parent viewgroup which is a relative layout, at the top im having a dashboard and below that the scrollview containg the glsurfaceview.

When Im scrolling the view the surfaceview moves on the top of the dashboard but I want my glsurfaceview go below that dashboard.

If I make my zorderontop(false) the background is not transparent. how to achieve it?

please someone help me.

Thanks a lot in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文