title: How to Set BottomNavigationView in AndroidX with No ActionBar
body: <p>I am using Android architecture components with the Single Activity pattern on Android. The navigation pattern I am using is BottomNavigationView.I actually want the parent activity to have no ActionBar but setting my theme to be of type NoActionBar crashes the App. Setting Navigation in Activity has been done as below</p>
  
  <pre><code>val navController = findNavController(R.id.nav_host_fragment)
  // Passing each menu ID as a set of Ids because each
  // menu should be considered as top level destinations.
  val appBarConfiguration = AppBarConfiguration(
      setOf(R.id.navigation_popular, R.id.navigation_top_rated, R.id.navigation_favorites)
  )
  setupActionBarWithNavController(navController, appBarConfiguration)
  navView.setupWithNavController(navController)
  </code></pre>
  
  <p>How do I set up bottom navigation to have no actionBar since I wish to have on of the some fragments with ActionBar, like CollapsingToolbarLayout?</p>