android / android/architecture-samples
Fragment launching without an ActionBar
- Dominant language
- Kotlin
- Stars
- 45.8k
- Forks
- 11.9k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
Start by comparing the sample test that uses `launchFragmentInContainer` with the reporter's own app, focusing on why the sample shows an `ActionBar` while the fragment fills the available space. Review the listed dependencies and the relevant app configuration; done means explaining the differing behavior and how to test an `ActionBar` action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100