I'm creating an app, and when I build it and start it on my phone (a Sony Xperia Z1 with Android 4.4.4), the title bar doesn't show. All activities is rendered without the title bar, like this:
I'm using Android Studio, and in the editor, the title bar is visible. It just don't work when the app is being ran.
All help with this is appreciated!
I just found the answer. Each of my
Activity classes extended
Activity, and when changing that to
ActionBarActivity, the action bar (called "title bar" by me) shows up. I changed those values when I created the classes, because I "was sure" that in all my other projects, the classes extended just
Activity, and not
ActionBarActivity, but I "was sure wrong".
Thanks everyone for your suggestions!