1) i have tried copying the same code u have given but keep geting errors
in this line i get the error "R.layout.splashscreen" cannot be resolved. if i change it to R.layout.main then thee error goes away.
2) also i have added a png image to the drawable directory. and i have put that image name in
android:src="@drawable/image.png" in the splashscreen.xml file.
i get the message in console of eclipse that ERROR: Failure processing PNG image C:\workspace\Splash\res\drawable\image.png