architecture-samples icon indicating copy to clipboard operation
architecture-samples copied to clipboard

Fragment launching without an ActionBar

Open Fbada006 opened this issue 5 years ago • 1 comments

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.

Fbada006 avatar Feb 01 '20 13:02 Fbada006

try to set support action bar . check whether it is androidX or android

Akashsri3bi avatar Sep 20 '21 17:09 Akashsri3bi