Skip to content

Commit 82c4e2a

Browse files
Fixed build.gradle and webview loads with activity
1 parent ad4b750 commit 82c4e2a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Easily reference the library in your Android projects using this dependency in y
5151

5252
```java
5353
dependencies {
54-
compile 'com.thefinestartist:finestwebview:1.1.1'
54+
compile 'com.thefinestartist:finestwebview:1.1.2'
5555
}
5656
```
5757

library/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ android {
1414
minSdkVersion 7
1515
targetSdkVersion 23
1616
versionCode 1
17-
versionName "1.1.1"
17+
versionName "1.1.2"
1818
}
1919
}
2020

@@ -27,14 +27,14 @@ dependencies {
2727
compile "com.android.support:support-annotations:${supportLibVersion}"
2828
compile "com.android.support:appcompat-v7:${supportLibVersion}"
2929
compile "com.android.support:design:${supportLibVersion}"
30-
compile 'com.nineoldandroids:library:2.4.0+'
30+
compile 'com.nineoldandroids:library:2.4.0'
3131
}
3232

3333
publish {
3434
userOrg = 'thefinestartist'
3535
groupId = 'com.thefinestartist'
3636
artifactId = 'finestwebview'
37-
publishVersion = '1.1.1'
37+
publishVersion = '1.1.2'
3838
desc = 'Beautiful and customizable Android Activity that shows web pages within an app.'
3939
website = 'https://github.com/TheFinestArtist/FinestWebView-Android'
4040
}

library/src/main/java/com/thefinestartist/finestwebview/FinestWebViewActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ protected void bindViews() {
403403
menuOpenWith = (LinearLayout) findViewById(R.id.menuOpenWith);
404404
menuOpenWithTv = (TextView) findViewById(R.id.menuOpenWithTv);
405405
webLayout = (FrameLayout) findViewById(R.id.webLayout);
406-
webView = new WebView(getApplicationContext());
406+
webView = new WebView(this);
407407
webLayout.addView(webView);
408408
}
409409

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "com.thefinestartist.finestwebview.sample"
99
minSdkVersion 7
1010
targetSdkVersion 23
11-
versionCode 8
12-
versionName "1.1.1"
11+
versionCode 9
12+
versionName "1.1.2"
1313
}
1414
buildTypes {
1515
release {

sample/sample-release.apk

25 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)