Thanks for the reply.

However I am still cloudy about some of the underlying ideas.

Especially for "android.R.id.list", is that defined through an explicit "

<item type="id" name="list">

resource definition or was it defined through

<ListView android:id="@id/list">

If it was the second case, I assume there are some properties already
defined for a ListView identified by "android:id/list".

And then when an application using ListActivity defines a view

<ListView android:id="@android:id/list"
...some more properties
</ListView>

Are we overriding the properties?

Sorry for the long list of questions, but continuing the idea in the
following case

<SomeView android:id="@+id/myview-id">

It says the "+" is there to create a new id "myview-id" if it doesn't
exit. When will the following ever makes sense then:

<SomeView android:id="@id/myview-id">

So this code assumes that there is an existing id called "myview-id"
somewhere in the R.java. Will such a preexisting id defined through an
explicit item id tag?

Thank you once again for extra ordinary support on this forum

Satya.

On Mon, Oct 6, 2008 at 3:05 AM, hackbod <[EMAIL PROTECTED]> wrote:
>
> On Oct 5, 8:36 pm, "Satya Komatineni" <[EMAIL PROTECTED]>
> wrote:
>> Can one change R.java file manually? (I take it is auto generated
>> based on res files)
>>
>> How did "android.R.id.list" constant got into android.R.java file?
>>
>> was there a layout in android that said
>>
>> "<ListView android:id="@+id/list".../>
>
> Yes, the R.id.* symbols are all of the identifier symbols you created
> either through "@+..." or with an explicit <id> tag.
>
> The android.R symbols are a little different, because all of the ones
> that show up there also must be explicitly declared to be public
> through the <public> tag.  This is not the case for application
> resources.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to