My App is not showing text colors except black and white on nexus 4 lollipop device. My app contains just a text view with hello world red colored text. But it is appearing black on my device.
Emulator is showing Red colored "Hello world!" but my device shows it in black color.... No matter whatever color i choose my nexus 4 lollipop device shows it in black color.... Sorry i am new here so i can not post images yet.
This is my xml code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".MainActivity">
<TextView
android:text="@string/hello_world"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView"
android:textColor="#f00"
android:textSize="40sp"
android:gravity="center"/>
</RelativeLayout>