Hi Folks,

I need help on how to load XML  file dynamically in the code.I have an
activity and for the activity I have 5 xml layout files.I want to load
one of the XML file depending on the some logical condition.for e.g

switch(i)
{
case 1:
//load XML file 1
break;
case 2:
//load XML file 2
break;
case 3:
//load XML file 3
break;

}

Please help me with some code snippet as i am new to the android
Programming.

Thanks,
Shekhar

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