2010-11-23 14 views

答えて

0

.....

 @Override 
    public View getView(int position, View convertView, ViewGroup parent) 
    { 
      LayoutInflater inflater = LayoutInflater.from(context); 
     View view = inflater.inflate(R.layout.relative, null); 
     Button button1 = (Button) view.findViewById(R.id.button1); 
     ......... 
      ........ 
      Button button4 = (Button) view.findViewById(R.id.button4); 
      same for Checkbox 

     return view; 
    } 
を4つのボタンと2つのチェックボックスを使用してXMLを作成して、あなたは次のようなレイアウトのインフレータを使用する場所
関連する問題