[android-developers] version problem for xml themes ,

2013-03-16 Thread Kaushik Pendurthi
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? -- ThanksRegards Kaushik Pendurthi http://kaushikpendurthi.blogspot.com/ -- -- You received this message because you are

Re: [android-developers] version problem for xml themes ,

2013-03-16 Thread Mark Murphy
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/

Re: [android-developers] version problem for xml themes ,

2013-03-16 Thread Mark Murphy
That is because you changed your build target. Leave your build target where it was. Set your android:minSdkVersion to 10 in your manifest. Lint (Eclipse or command line) will point out to you when you use classes and methods that are available from the build target but exceed your minSdkVersion.