package com.marakana.android.yamba;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.Toast;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
	}

	// Called to lazily initialize the action bar
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

	// Called every time user clicks on an action
	@Override
	public boolean onOptionsItemSelected(MenuItem item) {
		switch (item.getItemId()) {
		case R.id.action_settings:
			startActivity(new Intent(this, SettingsActivity.class));
			return true;
		case R.id.action_tweet:
			startActivity(new Intent("com.marakana.android.yamba.action.tweet"));
			return true;
		default:
			return false;
		}
	}
}

@@ -249,25 +249,16 @@
 ity %7B%0A%0A%09
-@Override
 %0A%09protec
@@ -392,189 +392,59 @@
 %09%7D%0A%0A
-%09// Called to lazily initialize the action bar%0A%09@Override%0A%09public boolean onCreateOptionsMenu(Menu menu) %7B%0A%09%09// Inflate the menu; this adds items to the action bar if it is present.
+%0A%09public boolean onCreateOptionsMenu(Menu menu) %7B%0A%09
 %0A%09%09g
@@ -512,64 +512,8 @@
 %7D%0A%0A%09
-// Called every time user clicks on an action%0A%09@Override
 %0A%09pu

Update MainActivity.java