Monday, December 3, 2012

Re: [android-developers] keeping compatibility but using new features

 did that styles and styles-v11.xml

have this in the v11 file

    <style name="MyTheme" parent="@android:style/Theme.Holo">


changed the target platform to v11 - otherwise Holo is undefined.

But still the checkboxes look the same...

Did the checkboxes (the blue left-right toggle) did that change in v11 or later.


On Monday, December 3, 2012 8:33:13 AM UTC-5, Mark Murphy (a Commons Guy) wrote:
On Mon, Dec 3, 2012 at 8:24 AM, dashman <erjd...@gmail.com> wrote:
> should this override file be in
>
> res/values-v11/styles.xml or themes.xml

The file name does not matter from a system standpoint. Convention has
it in styles.xml.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Localized Android Question-and-Answer Sites: http://www.andglobe.com

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