package com.antwei.meetingsys.fragments;

import com.antwei.meetingsys.R;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;

public class FragmentLogin extends Fragment implements OnClickListener {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		return inflater.inflate(R.layout.layout_login, container, false);
		
	}
	
	
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		
	}
	
	

}

package com.antwei.meetingsys.fragments;

import com.antwei.meetingsys.R;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;

public class FragmentLogin extends Fragment implements OnClickListener {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		return inflater.inflate(R.layout.layout_login, container, false);
		
	}
	
	
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		sweitch(v.getId()){
			case 1:
				break;
				case 2:
					break;
					default :
					break;
		}
	}
	
	

}

Update FragmentLogin.java