This is related to the Android version and Rom... If you use the system's default style, different effects may appear on different machines.
Tried before: EditText, set the font to white. On Sony, the background of EditText is black, but on Xiaomi, the background is white, and the subtitles in EditText cannot be seen clearly.
Therefore, if you are making that kind of released product, it is best to customize each module to maintain the same effect on different phones, different versions, and different ROMs.
It has something to do with the mobile version. background="@null" will default to the theme background of the mobile version. It is best to set the desired background to ensure that the background is unified in all mobile phones
This is related to the system theme. Different Android versions and different manufacturers' customized system displays may be different. The fundamental reason is that the themes are different.
I wrote a Shape, just set the solid to white
This is related to the Android version and Rom... If you use the system's default style, different effects may appear on different machines.
Tried before: EditText, set the font to white. On Sony, the background of EditText is black, but on Xiaomi, the background is white, and the subtitles in EditText cannot be seen clearly.
Therefore, if you are making that kind of released product, it is best to customize each module to maintain the same effect on different phones, different versions, and different ROMs.
It’s a problem with the Android version
Post your version number and have a look. The information will be more detailed. You can try debugging it on a real machine
This is related to the version and application theme.
Look at the theme configured in your Activity. It should be related to the theme.
Please set the font color and try again. Thank you
android:background="@android:color/transparent"
It has something to do with the mobile version. background="@null" will default to the theme background of the mobile version. It is best to set the desired background to ensure that the background is unified in all mobile phones
This is related to the system theme. Different Android versions and different manufacturers' customized system displays may be different. The fundamental reason is that the themes are different.