diff --git a/README.md b/README.md index 18e4258..27c38e1 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Easily reference the library in your Android projects using this dependency in y ```java dependencies { - compile 'com.thefinestartist:finestwebview:1.1.1' + compile 'com.thefinestartist:finestwebview:1.1.2' } ``` diff --git a/library/build.gradle b/library/build.gradle index 1c815de..63d16cb 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -14,7 +14,7 @@ android { minSdkVersion 7 targetSdkVersion 23 versionCode 1 - versionName "1.1.1" + versionName "1.1.2" } } @@ -27,14 +27,14 @@ dependencies { compile "com.android.support:support-annotations:${supportLibVersion}" compile "com.android.support:appcompat-v7:${supportLibVersion}" compile "com.android.support:design:${supportLibVersion}" - compile 'com.nineoldandroids:library:2.4.0+' + compile 'com.nineoldandroids:library:2.4.0' } publish { userOrg = 'thefinestartist' groupId = 'com.thefinestartist' artifactId = 'finestwebview' - publishVersion = '1.1.1' + publishVersion = '1.1.2' desc = 'Beautiful and customizable Android Activity that shows web pages within an app.' website = 'https://github.com/TheFinestArtist/FinestWebView-Android' } \ No newline at end of file diff --git a/library/src/main/java/com/thefinestartist/finestwebview/FinestWebViewActivity.java b/library/src/main/java/com/thefinestartist/finestwebview/FinestWebViewActivity.java index 5f0003e..9bc41d2 100644 --- a/library/src/main/java/com/thefinestartist/finestwebview/FinestWebViewActivity.java +++ b/library/src/main/java/com/thefinestartist/finestwebview/FinestWebViewActivity.java @@ -403,7 +403,7 @@ protected void bindViews() { menuOpenWith = (LinearLayout) findViewById(R.id.menuOpenWith); menuOpenWithTv = (TextView) findViewById(R.id.menuOpenWithTv); webLayout = (FrameLayout) findViewById(R.id.webLayout); - webView = new WebView(getApplicationContext()); + webView = new WebView(this); webLayout.addView(webView); } diff --git a/sample/build.gradle b/sample/build.gradle index 876d5dd..86a5e81 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.thefinestartist.finestwebview.sample" minSdkVersion 7 targetSdkVersion 23 - versionCode 8 - versionName "1.1.1" + versionCode 9 + versionName "1.1.2" } buildTypes { release { diff --git a/sample/sample-release.apk b/sample/sample-release.apk index 67a16d4..43237a7 100644 Binary files a/sample/sample-release.apk and b/sample/sample-release.apk differ