📜  android 小吃店消息在后退按钮后面 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:46.338000             🧑  作者: Mango

代码示例1
FloatingActionButton fab = findViewById(R.id.fab);
Snackbar snackbar = Snackbar.make(view, "Snackbar over BottomAppBar", Snackbar.LENGTH_LONG);
snackbar.setAnchorView(fab);