what should be the code
On 11 May 2012 21:41, Justin Anderson <[email protected]> wrote: > Your activity itself has a connection to the XML. > > > Thanks, > Justin Anderson > MagouyaWare Developer > http://sites.google.com/site/magouyaware > > > On Fri, May 11, 2012 at 12:36 PM, Brian Muscat > <[email protected]>wrote: > >> OK then how should i connect the xml >> >> >> On 11 May 2012 18:12, Justin Anderson <[email protected]> wrote: >> >>> No... just the one that takes your intent. You are creating the intent >>> but never using it. >>> >>> >>> Thanks, >>> Justin Anderson >>> MagouyaWare Developer >>> http://sites.google.com/site/magouyaware >>> >>> >>> On Fri, May 11, 2012 at 12:23 AM, Brian Muscat <[email protected] >>> > wrote: >>> >>>> Thanks should I use 2 setcontent? >>>> >>>> >>>> On Thursday, May 10, 2012 6:26:07 AM UTC+2, MagouyaWare wrote: >>>>> >>>>> http://developer.android.com/**reference/android/widget/** >>>>> TabHost.TabSpec.html#**setContent%28android.content.**Intent%29<http://developer.android.com/reference/android/widget/TabHost.TabSpec.html#setContent%28android.content.Intent%29> >>>>> >>>>> Thanks, >>>>> Justin Anderson >>>>> MagouyaWare Developer >>>>> http://sites.google.com/site/**magouyaware<http://sites.google.com/site/magouyaware> >>>>> >>>>> >>>>> On Tue, May 8, 2012 at 5:11 AM, Brian Muscat >>>>> <[email protected]>wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I am trying to set the tab host so that each of the tabs has an XML >>>>>> file and and Activity file currently I am using >>>>>> >>>>>> intent = new Intent().setClass(this, Settings.class); >>>>>> spec = tabHost.newTabSpec("Settings")** >>>>>> .setIndicator("Settings", >>>>>> res.getDrawable(R.drawable.** >>>>>> ic_tab_settings)) >>>>>> .setContent(R.layout.**settings); >>>>>> tabHost.addTab(spec); >>>>>> >>>>>> whit this tabs are viewed as it is supposed buy the Activity class is >>>>>> not connected how can I do this pls? >>>>>> >>>>>> -- >>>>>> 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 <[email protected]> >>>>>> To unsubscribe from this group, send email to >>>>>> android-developers+**[email protected]<android-developers%[email protected]> >>>>>> For more options, visit this group at >>>>>> http://groups.google.com/**group/android-developers?hl=en<http://groups.google.com/group/android-developers?hl=en> >>>>> >>>>> >>>>> -- >>>> 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 >>>> >>> >>> -- >>> 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 >>> >> >> -- >> 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 >> > > -- > 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 > -- 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

