[android-developers] Re: ICS - checkbox style
i've got the following in my manifest file uses-sdk android:minSdkVersion=4 android:targetSdkVersion=11 / but i have to build with the api-11 sdk??? and if i did that - it'll still be compatible with api-4??? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ICS - checkbox style
On Thu, Dec 29, 2011 at 7:39 AM, dashman erjdri...@gmail.com wrote: i've got the following in my manifest file uses-sdk android:minSdkVersion=4 android:targetSdkVersion=11 / but i have to build with the api-11 sdk??? If you wish to refer to things that only exist with API Level 11+, yes. and if i did that - it'll still be compatible with api-4??? Done carefully, yes. The build target merely controls what you compile against. You can have an API Level 4 build target and still have something that will not run on API Level 4 (e.g., you access newer stuff via reflection and screw it up), so it's not like the build target is some magic elixir for compatibility. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ICS - checkbox style
On Thu, Dec 29, 2011 at 9:15 AM, dashman erjdri...@gmail.com wrote: just before release, i'll comment out the holo theme style and build against api-4 - to make sure it's all good. That's certainly one strategy. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS - checkbox style
ok mark i think i've got it now. just before release, i'll comment out the holo theme style and build against api-4 - to make sure it's all good. then i'll release using api-11 sdk. good? -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ICS - checkbox style
Make sure your build target is API Level 11 or higher. On Wed, Dec 28, 2011 at 8:40 PM, dashman erjdri...@gmail.com wrote: getting following compile error message error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS - checkbox style
using your suggestion, added this to my android v1.6 project (from the above link) style name=LightThemeSelector parent=android:Theme.Holo.Light ... /style i'm getting a syntax error on the theme name. i'm thinking because the project is built for v1.6 and the Holo theme is for a later api. does this mean i have to build for api 11. i'm trying to get a v1.6 compatible project - but if it happens to be running on a api 11+ ...use the holo theme. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: ICS - checkbox style
On Wed, Dec 28, 2011 at 8:17 PM, dashman erjdri...@gmail.com wrote: i'm trying to get a v1.6 compatible project - but if it happens to be running on a api 11+ ...use the holo theme. Have a res/values-v11/ directory that defines a theme that uses Theme.Holo.Light. Have a res/values/ directory that has a theme with the same name that does not use Theme.Holo.Light. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS - checkbox style
yes i have that. i have values folder with the followings styles.xml style name=LightThemeSelector parent=android:Theme.Light /style then i have values-v11 folder with the following styles.xml style name=LightThemeSelector parent=android:Theme.Holo.Light /style again i'm building the app with api4 sdk. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS - checkbox style
getting following compile error message error: Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Holo.Light'. -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: ICS - checkbox style
On Saturday, December 24, 2011 8:19:56 AM UTC-5, dashman wrote: I'd like my checkboxes to appear like the default ICS checkboxes. how can i do that and maintaining backward compatibity. i assume it has to do with style..or is it a theme. This page, specifically the select a theme based on a platform version section will help: http://developer.android.com/guide/topics/ui/themes.html -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en