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
Thanks,
Justin Anderson
MagouyaWare Developer
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 brianmuscat...@gmail.comwrote:
Thanks should I use 2 setcontent?
OK then how should i connect the xml
On 11 May 2012 18:12, Justin Anderson magouyaw...@gmail.com 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
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 brianmus...@hotmail.co.ukwrote:
OK then how should i connect the xml
On 11 May 2012 18:12, Justin Anderson
what should be the code
On 11 May 2012 21:41, Justin Anderson magouyaw...@gmail.com 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
what should be the code
What? To get an Activity to display something, you call setContentView()
with a reference to your xml layout... This is pretty basic stuff here.
http://developer.android.com/reference/android/app/Activity.html#setContentView%28int%29
Thanks,
Justin Anderson
MagouyaWare
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,
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
On Tue, May 8, 2012 at 5:11 AM, Brian Muscat brianmus...@dss.com.mt wrote:
Hi,
I am trying
8 matches
Mail list logo