在底部导航栏中添加选项

时间:2020-04-16 18:46:08

标签: android android-studio bottomnavigationview android-bottomnav

我需要在底部导航栏上的更多按钮中添加诸如关机和注销之类的选项

如何实施?

底部导航栏中的首页,个人资料,更多等有5个按钮。 当我点击首页个人资料等时,它应该打开不同的片段。 但是,当我单击更多时,它将弹出一个小方框窗口,显示2个选项Shutdown和Logout。

Look at the image showing Bottom Navigation Bar

Look at the small squared image showing options like shutdown and logout

0 个答案:

没有答案