am trying to show a list view in my layout .but not getting why it is not showing the listview.... here is my code please guide me...i know am missing something but not getting it what.....!!!
public class ShowNumberList extends Activity{ ListView list; @Override protected void onCreate(Bundle savedInstanceState) { // TODO Auto-generated method stub super.onCreate(savedInstanceState); setContentView(R.layout.specialnolayout); list=(ListView)findViewById(R.id.ListView01); list.setAdapter(new ArrayAdapter<String>(this,R.layout.specialnolayout, numbers)); //numbers having some numbers which i am taking from databse. } //*layout file*::named specialnolayout <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> <ListView android:id="@+id/ListView01" android:choiceMode="singleChoice" android:layout_width="fill_parent" android:layout_height="fill_parent" > </ListView> <TextView android:text="@+id/TextView11" android:id="@+id/TextView01" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView> </LinearLa -- A N K ! T...... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en