package fr.masciulli.drinks.activity;

import android.app.Activity;
import android.os.Bundle;
import android.view.MenuItem;
import android.webkit.WebView;

import fr.masciulli.drinks.R;

public class LicensesActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_licenses);
        getActionBar().setDisplayHomeAsUpEnabled(true);

        WebView webView = (WebView) findViewById(R.id.webview);
        webView.loadUrl("file:///android_asset/licenses.html");
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        switch (item.getItemId()) {
            case android.R.id.home:
                finish();
                return true;
        }
        return super.onOptionsItemSelected(item);
    }
}

@@ -149,16 +149,79 @@
 bView;%0A%0A
+import butterknife.ButterKnife;%0Aimport butterknife.InjectView;%0A
 import f
@@ -292,16 +292,66 @@
 ivity %7B%0A
+%0A    @InjectView(R.id.webview) WebView mWebView;%0A%0A
     @Ove
@@ -509,16 +509,51 @@
 enses);%0A
+        ButterKnife.inject(this);%0A%0A
         
@@ -613,73 +613,10 @@
     
+m
 W
-ebView webView = (WebView) findViewById(R.id.webview);%0A        w
 ebVi

Use ButterKnife in LicensesActivity