Use Theme.Light on those older devices.

If you created your project recently using the Eclipse new-project
wizard, much of that may already be set up for you. If not:

Step #1: In res/values/styles.xml, have something like this:

<resources>
<style name="AppTheme" parent="android:Theme.Light"/>
</resources>

Step #2: In res/values-v11/styles.xml, have something like this:

<resources>
<style name="AppTheme" parent="android:Theme.Holo.Light"/>
</resources>

Step #3: Use AppTheme in your manifest instead of Theme.Holo.Light


On Sat, Mar 16, 2013 at 3:10 PM, Kaushik Pendurthi
<kaushiks...@gmail.com> wrote:
> hi all,
>
>  i am using  Theme.Holo.Light in android 4.2 (api level 17 ). But now i want
> to make it compatible to 2.3 (api level 10 ) . Can someone suggest a way i
> can do it?
>
> --
> Thanks&Regards
> Kaushik Pendurthi
>
> http://kaushikpendurthi.blogspot.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+unsubscr...@googlegroups.com
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
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 4.6 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to