私はアンドロイドが初めてです.今日私がしようとしているのは、リストビューのデータを最初の行に3つのテキストビュー、2番目に2つのテキストビュー、最後に1つのテキストビューとして表示することです.このために、コードでこれを試しました助けてくださいアウト 。
すべてのリストビューで3行のテキストビューを表示できますが、 3 2 1 テキストビューとしては表示できません。これの方法を教えてください。私の主な活動で私を助けてください
ListView lview3;  
 ListView3Activity adapter;  
    private static String month[] = {"January","February","March","April","May",  
        "June","July","August","September",  
        "October","November","December"};  
    private static String desc[] = {"Month - 1","Month - 2","Month - 3",  
        "Month - 4","Month - 5","Month - 6","Month - 7",  
        "Month - 8","Month - 9","Month - 10","Month - 11","Month - 12"};  
    private static String details[] = {"Month - 1","Month - 2","Month - 3",  
        "Month - 4","Month - 5","Month - 6","Month - 7",  
        "Month - 8","Month - 9","Month - 10","Month - 11","Month - 12"};  
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);
    lview3 = (ListView) findViewById(R.id.listView1);  
    adapter = new ListView3Activity(this, month, desc,details);  
    lview3.setAdapter(adapter);  
    lview3.setOnItemClickListener(this);  
}
@Override
public void onItemClick(AdapterView<?> arg0, View arg1, int position, long arg3) {
    // TODO Auto-generated method stub
    Toast.makeText(this, "Title => "+month[position]+" n Description => "+desc[position], Toast.LENGTH_SHORT).show();  
}
}
listView3Activity は次のとおりです
