Tuesday, February 7, 2012

Re: [android-developers] How to add e new element to public.xml?

By making it public you are declaring a final resource ID for it that can not change.  You should not be doing this unless you are building the next API level of the platform.

On Tue, Feb 7, 2012 at 5:42 PM, hongbosb <ufo22940268@gmail.com> wrote:
I am modifying framework of AOSP. And i have declare a new style in styles.xml under framework/core/base/res/res/values. This style hasn't been set to hide. When i execute "make update-api" in root directory, it won't add this new element to public.xml. Shoud i add this new entry to pubic.xml by hand? i don't really want to do this because it contains a attribute that is the memory address of this element. It may change later. 

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate