If i specify the TextView like this, why I am getting a ‘white on white’? I am running
Isn’t TextView on Android is black by default? I am running on Nexus One.
<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"/>
Thank you.
My guess is that you are changing the
Backgroundof the parent view, but really desire to invert theThemeof the entire Application.If my assumption is correct, what you want to do it add this line to your AndroidManifest.xml
applicationtag –android:theme="@android:style/Theme.Light".Eg: