package net.idlesoft.android.hubroid;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Dashboard extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dashboard);

		((Button)findViewById(R.id.btn_dashboard_newsfeed)).setOnClickListener(new OnClickListener() {
			public void onClick(View v)
			{
				startActivity(new Intent(Dashboard.this, NewsFeed.class));
			}
		});
	}
}

@@ -215,16 +215,51 @@
 .Button;
+%0Aimport android.widget.ImageButton;
 %0A%0Apublic
@@ -433,16 +433,247 @@
 oard);%0A%0A
+%09%09((ImageButton)findViewById(R.id.btn_search)).setOnClickListener(new OnClickListener() %7B%0A            public void onClick(View v) %7B%0A                startActivity(new Intent(Dashboard.this, Search.class));%0A            %7D%0A        %7D);%0A
 %09%09((Butt

Add code to handle the search button