Action Bar on Android is still showing despite using NoActionBar theme

Viewed 26

I am using the theme Theme.MaterialComponents.DayNight.NoActionBar (docs) for my Android app.

I am also calling getActionBar().hide() in the MainActivity.

On nearly all my devices, the Action Bar is not displaying. However on one device, a Pixel 6 running Android 12, I still see the Action Bar. I am sure I've installed the latest version of my app.

Any ideas why the Action Bar is still hanging around on this one device?

0 Answers
Related