android.util.AndroidRuntimeException: requestFeature() must be called before adding content
生活随笔
收集整理的這篇文章主要介紹了
android.util.AndroidRuntimeException: requestFeature() must be called before adding content
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
?問(wèn)題
Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding contentat com.android.internal.policy.PhoneWindow.requestFeature(PhoneWindow.java:347)
這個(gè)問(wèn)題是
requestWindowFeature(Window.FEATURE_NO_TITLE);
要現(xiàn)在setContentView()前面 即可。
?
總結(jié)
以上是生活随笔為你收集整理的android.util.AndroidRuntimeException: requestFeature() must be called before adding content的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: Subscriber class xxx
- 下一篇: 主播多少钱一个月啊?