Je suis en train d'écrire un nouveau thème en copiant des parties de la Theme.Light, et je ne comprends pas ce que android: colorForeground signifie.La signification de android: colorForeground
La seule information que j'ai pu trouver est "Couleur par défaut de l'imagerie de premier plan" here mais je n'arrive toujours pas à comprendre ce que cela signifie.
Quelqu'un peut-il m'éclairer?
La mise en page que j'utilise pour le test:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:colorForeground="#80ff8000" >
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="First EditText"
android:colorForeground="#ffffffff" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="First TextView"
android:colorForeground="#ff000000" />
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:colorForeground="#ffffffff" >
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Second EditText, inside a RelativeLayout"
android:colorForeground="#ff0000ff"
android:layout_alignParentTop="true"
android:layout_marginTop="10dip" />
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Second TextView, inside a RelativeLayout"
android:colorForeground="#ff00ff00"
android:layout_alignParentTop="true" />
</RelativeLayout>
</LinearLayout>