package catalogue.templates.contentful.activities;

import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.view.View;
import catalogue.templates.contentful.R;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class AboutActivity extends ActionBarActivity {
  @Override protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_about);
    ButterKnife.inject(this);
  }

  @OnClick({R.id.btn_faq, R.id.btn_feedback, R.id.btn_contact, R.id.btn_license})
  void onClickButton(View view) {
    int urlResId;

    switch (view.getId()) {
      case R.id.btn_faq:
        urlResId = R.string.url_faq;
        break;

      case R.id.btn_feedback:
        urlResId = R.string.url_feedback;
        break;

      case R.id.btn_contact:
        urlResId = R.string.url_contact;
        break;

      case R.id.btn_license:
        urlResId = R.string.url_licensing;
        break;

      default:
        return;
    }

    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getString(urlResId))));
  }
}

@@ -157,24 +157,24 @@
 v7.app.A
-ctionBar
+ppCompat
 Activity
@@ -205,49 +205,8 @@
 ew;%0A
-import catalogue.templates.contentful.R;%0A
 impo
@@ -260,16 +260,57 @@
 OnClick;
+%0Aimport catalogue.templates.contentful.R;
 %0A%0Apublic
@@ -343,16 +343,16 @@
 ds A
-ctionBar
+ppCompat
 Acti

Use `AppCompatActivity`