From fa3c78472224ef0e852d9c35ab20859b5dd6481b Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Mon, 9 Feb 2015 15:30:50 -0500 Subject: [PATCH] Add in attribution to jsoup library --- res/layout/license_activity.xml | 42 ++++++++++++++----- res/values/strings.xml | 2 + .../browser/lightning/LicenseActivity.java | 4 ++ 3 files changed, 38 insertions(+), 10 deletions(-) diff --git a/res/layout/license_activity.xml b/res/layout/license_activity.xml index a9c024e..e557432 100644 --- a/res/layout/license_activity.xml +++ b/res/layout/license_activity.xml @@ -15,7 +15,6 @@ android:paddingTop="10dp" > + + + + + + + + + \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 05287d3..6f96753 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -202,4 +202,6 @@ Loading… Couldn\'t load anything from the page. Snacktory + jsoup: Java HTML Parser + MIT License diff --git a/src/acr/browser/lightning/LicenseActivity.java b/src/acr/browser/lightning/LicenseActivity.java index 7b1885c..e442f88 100644 --- a/src/acr/browser/lightning/LicenseActivity.java +++ b/src/acr/browser/lightning/LicenseActivity.java @@ -31,6 +31,7 @@ public class LicenseActivity extends ActionBarActivity implements View.OnClickLi findViewById(R.id.licenseHosts).setOnClickListener(this); findViewById(R.id.licenseOrbot).setOnClickListener(this); findViewById(R.id.licenseSnactory).setOnClickListener(this); + findViewById(R.id.licenseJsoup).setOnClickListener(this); } @Override @@ -51,6 +52,9 @@ public class LicenseActivity extends ActionBarActivity implements View.OnClickLi case R.id.licenseSnactory: actionView("http://www.apache.org/licenses/LICENSE-2.0"); break; + case R.id.licenseJsoup: + actionView("http://jsoup.org/license"); + break; } }