package credit.android.dg;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.ImageView;
import android.widget.TextView;

public class Feedback extends Activity{
	private ImageView mButton;
	private TextView mT;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		
		requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
		setContentView(R.layout.feedback);			
		
		getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.header);
		mT = (TextView) findViewById(R.id.header_text);
		mT.setText("feedback");
		mButton = (ImageView) findViewById(R.id.back_button);
		mButton.setOnClickListener(new View.OnClickListener(){
		public void onClick(View view){
			mT.setText("Back Button Pressed");
		}
		});
	}

}
