首页 > getActionBar()返回null
我想有几种可能:1)看到题主使用了appcompat兼容库,题主的activity应该是基础了ActionBarActivity或AppCompatActivity,这种情况下应该使用`getSupportActionBar()
`