*Nirvan*, Call function in which create new reference of tab-host. Try to position it by assigning it properties. Have not tried by myself but this should work according to me. But again assigning layouts for different tabs will be bit tricky.You need to dig this topic. Good Luck
*Thanks* Fahad Mullaji On Mon, Jul 30, 2012 at 12:37 PM, |-NK-| <[email protected]> wrote: > Hi > I am developing an application in android, where I need to create a > Tab control containing variable no of tabs. > > I need to know how to create tab control dynamically. > > I have seen some examples where they have used tabhost as root element > in an xml layout file. > I need to have some controls such as buttons and textviews on screen > and below these controls I need a tab control. > > I am confused as I have seen different examples. > > Thanks. > > -- > 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 > -- Regards Fahad Mullaji -- 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

