Before, I didn't set the minSDKVersion in my manifest file and all works good. But now as I'm using a ScaleGestureDetector, I'd like to set it:
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8"/>
My phone is in 2.2 so the launch is ok, but when I'm on the activity which uses the ScaleGestureDetector, all the user interface is strange: it seems that it's displayed for another screen resolution ! The image I resize to fit the screen is smaller than the screen (but the ImageView in which the image is is at the good size), and the layout I set in the bottom of the screen is stretched (in fact its width is always the screen width but it's less heighter than usal). What's the problem?