第1个回答 2015-08-07
先定义
private LinearLayout faxian;
后直接找到
faxian=(LinearLayout)findViewById(R.id.faxian);
faxian.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
// TODO Auto-generated method stub
Intent it = new Intent();
it.setClass(mContext, AboutActivity.class);
startActivity(it);
}
});本回答被提问者和网友采纳