Ah, yessss... I was wrong about the @hide - it's applied to a different <item> before the one I need.
Thanks. 29 января 2012 г. 23:11 пользователь Mark Murphy <[email protected]>написал: > On Sun, Jan 29, 2012 at 1:59 PM, Kostya Vasilyev <[email protected]> > wrote: > > - <item name="activatedBackgroundIndicator"> in the platform's > > res/values/themes.xml is marked with @hide, referencing it from my > layouts > > produces an error > > I have a couple of projects with this in res/values-v11/styles.xml: > > <?xml version="1.0" encoding="utf-8"?> > <resources> > <style name="activated" parent="android:Theme.Holo"> > <item > name="android:background">?android:attr/activatedBackgroundIndicator</item> > </style> > </resources> > > I have had no errors, compile or runtime, and some of that code is > nearly a year old. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > 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 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] 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

