je me main.xml et dans le code XML je:couleur de fond d'applications Android
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff">
<ImageView android:id="@+id/imageView1" android:layout_height="wrap_content" android:src="@drawable/logo" android:layout_width="wrap_content" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" android:layout_marginTop="116dp"></ImageView>
<TextView android:layout_height="wrap_content" android:text="Administration 0.0.1" android:textAppearance="?android:attr/textAppearanceSmall" android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_below="@+id/imageView1" android:layout_centerHorizontal="true"></TextView>
</RelativeLayout>
Mais quand je lance l'application dans un émulateur, le thème par défaut montre toujours avec le fond noir. Je ne peux pas comprendre pourquoi il fait ça.
Des idées?
il devrait fonctionner. Pourriez-vous poster le code autour d'elle? – Suchi
Fait - merci pour lookign – oli