It shows app name and fragment toolbar even if I use supportActionBar.hide
and Theme.MaterialComponents.DayNight.NoActionBar
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
Add this in style
Then add this in activity tag inside manifest
You are adding PlaceholderFragment in your activity. –>
Now PlaceholderFragment class is inflating the same layout as your activity as –>