In my manifest.xml I have defined:
<uses-sdk android:minSdkVersion:"8" android:targetSdkVersion:"8" />
and in android's documentation for View class it's been said:
setBackground(Drawable)
// ADDED IN API LEVEL 16
This method has been added in api level 16. But when I use it in my code, eclipse doesn't issue any complaint and my app crashes on devices running api under 16.
Where am I wrong?