ive made a table layout like 4 quadrants, i need to show 1 list for
each quadrant. ive assigned id's to TextViews, ive tried listviews as
well by using

final String[] Cities = new String[] {"karachi", "Lahore", "Bangol",
"Islamabad", "Muree"}; ListView
lv1=(ListView)this.findViewById(R.id.listview1);

    ArrayAdapter<String> list1 = new ArrayAdapter<String>(
            this, android.R.layout.simple_list_item_1,Cities);
    lv1.setAdapter(list1);
this is the simplest code ive seen and used but, there occurs error
and application stops Unexpectedly... ??

does any one know the correct code to display even 2 lists at a time?
or should i use some other views for that?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to