Re: [android-developers] Re: Tab Layout not working

2011-04-08 Thread Kapil Lokhande
Hi, As u mentioned u r new to android. You may forget to declare tabs individual activity in manifest. -- Thanks & Regards, Kapil Lokhande | Dexter Advisory Pvt. Ltd. | Android Developer [image: dexterlogo.jpg] On Thu, Apr 7, 2011 at 9:34 PM, TreKing wrote: > On Thu, Ap

Re: [android-developers] Re: Tab Layout not working

2011-04-07 Thread TreKing
On Thu, Apr 7, 2011 at 4:23 AM, Liunai wrote: > Actually, that's what I did... or at least tried to do. > > It seems that the problem is calling setContentView() with the reference to > the XML, R.layout.datiattrib. > Why does it seem that that's the problem? ---

[android-developers] Re: Tab Layout not working

2011-04-07 Thread Liunai
Actually, that's what I did... or at least tried to do. It seems that the problem is calling setContentView() with the reference to the XML, R.layout.datiattrib. For example if I try creating a TextView like this: TextView textview = new TextView(this); textview.setText("TextView1"); and then ca

[android-developers] Re: Tab Layout not working

2010-10-01 Thread Anbu
Do you have the crash log ? On Sep 30, 10:39 am, Saied wrote: > Hi, > > I am using the Tab Layout almost copied from the example provided. But > it's not working: > > public class TabHolder extends TabActivity { >     /** Called when the activity is first created. */ >     @Override >     public

[android-developers] Re: Tab Layout not working

2010-09-29 Thread Saied
Never mind! Thanks Mark! I see where the problem is. Best, Saied On Sep 29, 6:05 pm, Mark Murphy wrote: > Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine > LogCat and look at the stack trace associated with your "barf". > > > > On Wed, Sep 29, 2010 at 8:39 PM, Saied wrote

Re: [android-developers] Re: Tab Layout not working

2010-09-29 Thread Mark Murphy
On Wed, Sep 29, 2010 at 9:19 PM, Saied wrote: > I had looked at it, but can't quite make what' wrong: > > It seems that the package name is prepended twice: com.exideas.mekb/ > com.exideas.mekb.TabHolder The first part is your package name. The second part is the activity class name. > Other tha

[android-developers] Re: Tab Layout not working

2010-09-29 Thread Saied
Thanks Mark. I had looked at it, but can't quite make what' wrong: It seems that the package name is prepended twice: com.exideas.mekb/ com.exideas.mekb.TabHolder Other than that, TabHolder is included in the manifest: He