问题标签 [floating-action-menu]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - Snackbar overlaps floating action bar in constraint layout
I'm working for the first time with constraint layout
and what I want to achieve is a snackbar
to be shown on activity
launch. The snackbar
is showing but its overlapping my floating action menu
. I've tried everything but nothing's working.
I'll post my XML and Java so you tell me what could be the problem. I've already tried all solutions online but nothing is working.
Here is the xml:
The Java part:
Here is a screenshot so you can see what I mean:
java - 如何更改部落浮动操作菜单的状态?
这是我的氏族浮动操作菜单结构的样子:
当我单击一个浮动操作按钮时,我希望将氏族浮动操作菜单折叠起来。我在互联网上找不到任何东西。
类似的东西(随机):
或者
这个菜单也在我的应用程序的主屏幕上。所以发生的情况是,当我按下后退按钮关闭活动并再次回到家时,菜单仍然打开,显示所有操作按钮。
所以我想关闭(更改状态FloatingActionMenu
)menu
。
注意:如果您需要更多说明,请在下方评论,我将附上屏幕截图。
android - 如何在屏幕上移动 FloatingActionMenu?
我正在使用clans.fab.FloatingActionMenu库来添加浮动操作按钮。所有功能正常工作。现在我想按照用户的意愿在屏幕中移动 FloatingActionMenu。是否有任何方法或侦听器可以更改 FloatingActionMenu 的位置?