architecture-samples
architecture-samples copied to clipboard
Fragment launching without an ActionBar
As I was testing this sample, while running the test containing the launchFragmentInContainer
method, I can see that the ActionBar
is clearly visible.
However, running it on my own app, the fragment takes up the entire space and does not display the ActionBar
. Any idea why this behavior might be arising because I need to test an action on the ActionBar
.
The following are my dependencies. Any idea why I might be getting this behavior? My dependencies are the same as those in this project.
try to set support action bar . check whether it is androidX or android