On May 19, 4:48 am, Nithin <nithin.war...@gmail.com> wrote:
> Got it..
>
> TabHost tabHost = new TabHost(SampleTab.this);
> TabWidget tabW = new TabWidget(this);
> FrameLayout frame = new FrameLayout(this);
> frame.setId(android.R.id.tabcontent);
> tabW.addView(frame);
> tabW.setId(android.R.id.tabs);
> tabHost.addView(tabW);

all above can be defined in xml layout file

pskink

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