On Monday, July 30, 2012 2:52:43 PM UTC+5:30, fahad mullaji wrote: 
>
> *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-| <niravnkulka...@gmail.com> 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 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
>>
>
>
>
> -- 
> Regards 
> Fahad Mullaji
>
> HI,
 
I was able to create Tab control dynamically. However I dont know how to 
create it through xml file.
 
Thanks,
 

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

Reply via email to