diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-02-25 22:35:12 +0100 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-02-25 22:35:12 +0100 |
commit | f7304266446dc6b4347806274bd955f7ed62977e (patch) | |
tree | 980a84aa3d069274c1ac10f1f95af602ca854915 /src/de | |
parent | cca91b12b9df7c23121b4c01172863ff64d35cfe (diff) | |
download | AntennaPod-f7304266446dc6b4347806274bd955f7ed62977e.zip |
License.html wasn't loaded correctly
Diffstat (limited to 'src/de')
-rw-r--r-- | src/de/danoeh/antennapod/activity/AboutActivity.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/activity/AboutActivity.java b/src/de/danoeh/antennapod/activity/AboutActivity.java index 54240c5c7..e3265d1eb 100644 --- a/src/de/danoeh/antennapod/activity/AboutActivity.java +++ b/src/de/danoeh/antennapod/activity/AboutActivity.java @@ -2,6 +2,7 @@ package de.danoeh.antennapod.activity; import android.os.Bundle; import android.webkit.WebView; +import android.webkit.WebViewClient; import com.actionbarsherlock.app.SherlockActivity; @@ -18,6 +19,15 @@ public class AboutActivity extends SherlockActivity { getSupportActionBar().hide(); setContentView(R.layout.about); webview = (WebView) findViewById(R.id.webvAbout); + webview.setWebViewClient(new WebViewClient() { + + @Override + public boolean shouldOverrideUrlLoading(WebView view, String url) { + view.loadUrl(url); + return false; + } + + }); webview.loadUrl("file:///android_asset/about.html"); } |