Pinheiro wrote: > Hi! > I don't know if this is a bug in Eclipse or something wrong in the > SDK. I have a project with a Build Target set to 1.5 and want to > support all screen sizes. > So, as mentioned in the Dev Guide, I've put in manifest.xml: > > ... > <uses-sdk android:minSdkVersion="3" /> > ... > <supports-screens android:smallScreens="true" > android:normalScreens="true" android:largeScreens="true" /> > > Eclipse gives 3 "no resource identifier for attribute --- in package > Android", one for each screen size. > > Is this a known bug or am I doing something wrong? > > Thanks in advance!
<supports-screens> was added in Android API Level 4, otherwise known as Android 1.6. Hence, you need to set your Build Target to be Android 1.6 or higher if you want to use that element. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.0 Available! -- 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

