1
votes

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

1
Is the code above the actual code that you are using for your TextView, or is that a simplification?Ma3x
it is the actual code. look I even added pictures from android studio and the emulator running and also screenshots from my android device. It is just the splash screen but anywhere else on my app its the same thing. Any text that is too pale suddenly changes like this!Sander Mez
I have a motorola Moto e5 play, android 8.0.0Sander Mez
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?Ma3x
yes!! thats i! fixed it thanks!Sander Mez

1 Answers

1
votes

Ma3x: thank you, yes in settings-> accessibility -> high contrast

I wasn't sure if it was my code or my phone settings. Thank you!!