Android开发
yyhhuige
这个作者很懒,什么都没留下…
展开
-
Menu items should specify a title(解决方法)
Just a wrong XML namespace! Try with: xmlns:android="http://schemas.android.com/apk/res/android">And as G.T. suggested you should consider using appcompat on the showAsAction property (only n转载 2017-04-06 21:29:11 · 2006 阅读 · 0 评论 -
NullPointerException: with ActionBar.setDisplayHomeAsUpEnabled(boolean)' on a null object reference
The cause of your issue is using MainActivity extend Activity with support theme style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar". It's incompatible things. Which min sdk you nee转载 2017-04-06 21:56:31 · 1471 阅读 · 1 评论