この問題について一日を検索しましたが、回避策はありませんでした。私はActionBar(重要)とAndroid 3.2とテーマholo.Lightを使用しています。Theme.Holo.Lightの問題のオートコンプリートドロップダウンアイテムのテキストの色
マイレイアウトのxml:Androidのマニフェストファイルで
<AutoCompleteTextView
android:id="@+id/autocompleteSearchTxt"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_weight="0.52"
android:textSize="@dimen/text_size_normal"
android:hint="@string/search"
android:textColor="@android:color/primary_text_light"
android:textCursorDrawable="@null" />
:のstyles.xmlファイルで
<style name="Theme.Holo.Light.Workaround" parent="@android:style/Theme.Holo.Light">
<item name="android:autoCompleteTextViewStyle">@style/AutoCompleteTextViewLight</item>
<item name="android:dropDownItemStyle">@style/Widget.DropDownItemLight</item>
</style>
:
<style name="AutoCompleteTextViewLight" parent="@android:style/Widget.AutoCompleteTextView">
<item name="android:textColor">@android:color/primary_text_light</item>
</style>
<style name="Widget.DropDownItemLight" parent="@android:style/Widget.DropDownItem">
<item name="android:textColor">@android:color/primary_text_light</item>
</style>
themes.xmlファイルで
android:theme="@style/Theme.Holo.Light.Workaround"
ここで私は自分自身の色、赤、青...目立つ色で試しました。
結果は何もありません。それは何も変わりません。私はオートコンプリートで文字を書くと、私は行くが、ドロップダウンアイテムのテキストの色はまったく見えませんが完了しているのがわかります。透明です。または白い(実際のデバイス上に)白です。
私は何が間違っているのか理解できません。前に誰かがこの問題を解決しましたか?どんな手がかりもいいと思います。とにかくありがとうございます。