2011-10-21 3 views
1

このようにTextViewを指定すると、なぜ「白い白」が表示されますか?私は実行中です AndroidのTextViewはデフォルトで黒ではありませんか?私はNexus Oneで走っています。android:TextAppearance in TextView

<TextView 
     android:id="@+id/atext" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:gravity="center_vertical" 
     android:singleLine="true" 
     android:textAppearance="?android:attr/textAppearanceMedium"/> 

ありがとうございます。

答えて

0

私の推測では、あなたが親ビューのBackgroundを変更しているということですが、実際に反転することを望むオプションの膨大なリストを見ることができる性質を乗り越えて、テキストビュー上でEclipseのクリックに行くだろうアプリケーション全体のTheme

私の前提が正しい場合は、この行をAndroidManifest.xml applicationタグに追加してください(android:theme="@android:style/Theme.Light")。

例:

<application android:icon="@drawable/icon" 
      android:label="@string/app_name" 
      android:theme="@android:style/Theme.Light"> 
関連する問題