libreliodev / android

Android Customizable Reader - Librelio Digital Publishing Suite
www.librelio.com
226 stars 130 forks source link

External hyperlink crashes #291

Closed bagusflyer closed 9 years ago

bagusflyer commented 9 years ago

When I click the hyperlink, it just crashes. The error message is:

Caused by: android.util.AndroidRuntimeException: requestFeature() must be called before adding content at com.android.internal.policy.impl.PhoneWindow.requestFeature(PhoneWindow.java:336) at android.app.Activity.requestWindowFeature(Activity.java:3379) at com.librelio.activity.WebViewActivity.onCreate(WebViewActivity.java:43)

What's wrong with it? I found the requestFeature() is already after setContentView in WebViewActivity.