Re: [android-developers] Re: "Unable to start activity ComponentInfo" during TabActivity initialization

2011-02-17 Thread MerlinBG
Well, I am just trying to run the example, so this is my main.xml: http://schemas.android.com/apk/res/android"; android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> This is the activity code: public

Re: [android-developers] Re: "Unable to start activity ComponentInfo" during TabActivity initialization

2011-02-17 Thread MerlinBG
Well, I am just trying to run the example, so this is my main.xml: http://schemas.android.com/apk/res/android"; android:id="@android:id/tabhost" android:layout_width="fill_parent" android:layout_height="fill_parent"> This is the activity code: public cl

[android-developers] Re: "Unable to start activity ComponentInfo" during TabActivity initialization

2011-02-16 Thread MerlinBG
Sorry, forgot to mention - in the activiry that should be displayed in the tab, there is clause, if this is important. Again, the activity is displayed fine when not in tab. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] "Unable to start activity ComponentInfo" during TabActivity initialization

2011-02-16 Thread MerlinBG
Hi, I am creating a simple TabActivity by following the example: http://developer.android.com/resources/tutorials/views/hello-tabwidget.html However, when started I get "Unable to start activity ComponentInfo" and in the details: android.view.InflateException: Binary XML file line #24: Error in

Re: [android-developers] Re: Nested layouts in separate XML

2011-02-02 Thread MerlinBG
Well, thanks for the link, this seems to work fine. However - about the reopening the 2 years old thread - searching only provided obsolete results, most referring to the technique Selmi gave a link above. I am glad this changed meanwhile, however it is hard to find, no reference in the Dev Gui

[android-developers] Re: Nested layouts in separate XML

2011-01-31 Thread MerlinBG
I am really surprised to see this thread! I have googled how to nest XML-based layouts, assuming it is possible, however found this. This is a basic functionality, guys. There are some threads around about why to use XML based layouts, MVC, etc... and I agree that extracting the view in XML is

[android-developers] Re: XML layout vs. programmatic

2011-01-16 Thread MerlinBG
I think this the XML layout is introduced mostly in order to facilitate GUI generators, like http://droiddraw.org/ If they generate Java, which is editable for the developers, switching between code and modeling becomes rather error-prone. The good thing is that you are not bound to it, you can

Re: [android-developers] Re: What is the name of this widget?

2011-01-11 Thread MerlinBG
+1 mort The NumberPicker is already created for Date- and TimePickers. If it is already existing, and reusable component, why not be public?! Nobody is speaking of requesting new widgets or components, but at least let's have the existing ones public. Btw - I have tried the widget proposed by K

Re: [android-developers] Re: What is the name of this widget?

2011-01-10 Thread MerlinBG
Yes, you are right, it is from HTC Desire. First thought that Sense adds some kind of skin over the NumberPicker, but this seems not to be the case when I duplicated it... or perhaps I miss something, I am still newbie with Android. Well, I guess the general feeling is up to the user, I personal

Re: [android-developers] Re: What is the name of this widget?

2011-01-09 Thread MerlinBG
Thank you for the help, the proposed widget looks good. metal mikey, I am interested not in date/time entering, but in a way to enter numbers - something like the NumberPicker, which seems to be internal, and for the means I need it - the wheel looks cooler. Having this in mind and since while

Re: [android-developers] What is the name of this widget?

2011-01-09 Thread MerlinBG
Not even internal? -- 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 mo

[android-developers] What is the name of this widget?

2011-01-09 Thread MerlinBG
Hi, as the title says: I would like to reuse the widget in green on the attached picture, but I don't know it's name. It is part of the calendar application, used for setting time and date. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers

Re: [android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-07 Thread MerlinBG
Thank you. -- 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 optio

Re: [android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-06 Thread MerlinBG
By public I mean included in the public API - not internal. To reuse it, not to copy/duplicate it. Thanks for the link, I do use Google quite successful :) The question was more like "do we still need to duplicate existing code, or this changed during the year since this topic is posted". -- Y

[android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-06 Thread MerlinBG
I see this thread is more than an year old. Any chance to have the NumberPicker public by now? -- 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 thi