getActionBar() returns null

前端 未结 24 1807
暗喜
暗喜 2020-11-22 13:31

I\'m having an odd problem. I am making an app with targetsdk 13.

In my main activity\'s onCreate method i call getActionBar() to setup my actionbar. T

24条回答
  •  执笔经年
    2020-11-22 13:50

    I had the same issue. It solved by chaning App theme in styles.xml

    Before