<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:src="@drawable/wallpaper" />
</RelativeLayout>
La taille de @drawable/peetscoffee_wallpaper
est 640x480, mais n'est pas centrée horizontalement. Comment puis-je résoudre ce problème?ImageView trouble