Sander Mez
Sander Mez

Reputation: 67

Grey text appear white with outline in android device

anyone has had this issue? I am making an android app and my text within textview is a light grey. It is not very visible, but that is the effect I want. When I look at my emulator it is fine, but when i upload the app to my android device, the text is corrected and now appears as white with a black outline. I don't want this. I want the light grey color...

here is the actual code for the full layout for those asking:

xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_splash_screen" android:layout_width="match_parent" android:layout_height="match_parent" android:padding="20dp" android:layout_gravity="center" android:background="#ffffff" >

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="some text here"
    android:textColor="#888888" /> </RelativeLayout>

enter image description here

enter image description here

Upvotes: 3

Views: 1285

Answers (1)

Sander Mez
Sander Mez

Reputation: 67

In the comments, @Ma3x asked in the comments:

Since also your battery level and your clock display text are white with a black outline, I assume this is something at your system's level. Do you have some high contrast accessibility turned ON or any custom system-wide UI modifications? Or is it just a default theme like that? –

That gave me the hint I needed. In Settings > accessibility > High Contrast.

Upvotes: 1

Related Questions