Thanks for the link, i'll take a look at it.
For the black background, just remove the backgroundDimEnabled item (that was just for the screenshot)
Edit : I found which attribute is responcible for the little black line. it is the "android:windowContentOverlay" attribute which I set to "@null", and the result is perfect either on the emulator or on the real phone
thanks for your advice and help