On Thu, May 10, 2012 at 11:59 AM, Narendra Singh Rathore <
[email protected]> wrote:

>
>
>> On Wed, May 9, 2012 at 5:49 PM, nageswara rao rajana <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> How to generate xml file form list view items.
>>> Please help me...........
>>>
>>>
> Did you want this or something else?
>
>

sry for this incomplete thread.
Well, I was suggesting this.

 lv.setOnItemClickListener(new OnItemClickListener() {

    public void onItemClick(AdapterView<?> arg0, View arg1, int arg2, long
arg3) {
        // TODO Auto-generated method stub
        if(arg2==0)
    {
        setContentView(R.layout.one);

    }
        else
        {
        setContentView(R.layout.two);

        }

    }
});

-- 
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