2011年11月8日 星期二

[Android] requestFeature() must be called before adding content

Error Message

Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content

Occurred when using requestWindowFeature


Solution

必須在 setContentView 前呼叫 requestWindowFeature



沒有留言:

張貼留言