美文网首页
requestFeature() must be called

requestFeature() must be called

作者: 石先 | 来源:发表于2019-07-31 14:17 被阅读0次

Well, just do what the error message tells you.

Don't call setContentView() before requestFeature().

Note:

As said in comments, for both ActionBarSherlock and AppCompat library, it's necessary to call requestFeature() before super.onCreate()

相关文章

网友评论

      本文标题:requestFeature() must be called

      本文链接:https://www.haomeiwen.com/subject/vnazrctx.html