Friday, July 29, 2011

Re: [android-developers] Re: SDK Tools r12 causing aapt to fail

You really really really do not want to do this. please read all my
comments on the bug.

While you think it does what you want, it will *not* work on any
devices. It would only work on a device using the same build as the
SDK, which is basically only the emulator.

Every other device will have assigned a different integer to the style
you are setting as a parent than the one set in your resources. At
runtime it will fail to find the parent style, probably silently but
it means you won't actually extend any style (or the wrong one!)

On Thu, Jul 28, 2011 at 12:18 AM, Diederik <diederikjhattingh@gmail.com> wrote:
> From the logged bug:
>
> Comment 6 by tomy...@gmail.com, Jul 26
> parent="@*android:style/xxxxx" seems to be the work around in the new
> Tool.
>
> --
> 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
>

--
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

--
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

No comments:

Post a Comment