import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
public class OneFragment extends Fragment implements OnClickListener {
String []str= new String[1] ;
int []count = new int [1];
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_one, container, false);
RelativeLayout r1 = (RelativeLayout) view.findViewById(R.id.la1);
LinearLayout l1 =(LinearLayout) view.findViewById(R.id.la2);
LinearLayout l2 =(LinearLayout) view.findViewById(R.id.la3);
Button ms[]= new Button[1];
Button ps[]= new Button[1];
TextView tv[]= new TextView[1];
for(int i=0;i<ms.length;i++)
{
ms[i]= new Button(this); <---- 이쪽 부분이 에러입니다. ㅜㅜ