Je viens d'avoir une question stupide ... J'utilise (ou mieux, je suppose d'utiliser) le thème holo lumière dans mon application: je l'ai mis dans le fichier manifeste. Regardez la capture d'écran ci-dessous: le texte est trop clair, n'est-ce pas? Ok, je sais que je peux le définir mais ma question est: est-ce la couleur du texte réel dans le thème holo ou il y a une erreur dans mon application? Je suppose que c'est étrange parce que dans google une couleur illégitime comme celle-ci a été choisie.Android: couleur du texte holo
EDIT:
Je mis le thème avec l'attribut
android:theme="@android:style/Theme.Holo.Light"
de l'élément d'application. Voici le code listview whick I peuplé avec une listfragment:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/songsLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="left"
android:orientation="vertical"
android:padding="12dp" >
<ListView
android:id="@id/android:list"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fastScrollEnabled="true"
android:scrollbarStyle="insideInset"
android:textFilterEnabled="false"/>
<TextView
android:id="@+id/songsFragment_titleTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="7dp"
android:paddingBottom="0dp"
android:textSize="18sp"
android:lines="1">
</TextView>
<TextView
android:id="@+id/songsFragment_artistTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="7dp"
android:paddingTop="0dp"
android:lines="1"
android:textSize="14sp">
</TextView>
</LinearLayout>
espère que vous pouvez me aider :)
Quelle disposition gonflez-vous dans votre adaptateur ListView? – Cheesebaron
La disposition que vous trouvez ci-dessus ... N'est-ce pas? Désolé je pense que je ne comprends pas ce que vous voulez dire: D – user1315621