[英]How to remove bottom nav bar on main activity from fragment?
On clicking on the notification, fragment appearing on screen has bottom navigation bar.单击通知后,屏幕上出现的片段具有底部导航栏。 And I want to remove it as it is not in fragement.
我想删除它,因为它不在片段中。 Please help me.
请帮我。 `
`
val pendingIntent = NavDeepLinkBuilder(requireContext())
.setComponentName(MainActivity::class.java)
.setGraph(R.navigation.mobile_navigation)
.setDestination(R.id.navigation_pairAnimation)
.createPendingIntent()
` `
I find it hard to understand you.我觉得很难理解你。 You have set up your Main Activity to host fragments but you don't want it to appear on clicking the notification?
您已将 Main Activity 设置为托管 Fragment,但您不希望它在单击通知时出现? Kindly give a more detailed info so that we can help you
请提供更详细的信息,以便我们为您提供帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.