2011-10-21 5 views
1

내가 TextView를 이와 같이 지정하면, 왜 'white on white'이 나옵니까? 실행 중입니다 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 변화하지만, 정말 반전하고자하는 것입니다 전체 응용 프로그램 중 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"> 
0

난 당신이 옵션

의 거대한 목록을 볼 수 있습니다 다음 속성을 통해 이동 텍스트보기에 이클립스 클릭으로 갈 것