I tried setting textColor to have alpha, but it doesn’t seem to work.
<Button
android:id="@+id/multi_player"
android:text="@string/multi_player"
android:textColor="#AAFFFFFF" />
No matter what alpha level I give it, the text still shows up as fully opaque white.
This appears to be an issue on (some versions of) Android, where alpha is not considered when set using
#rgbor#argbformats.Instead, move it to a resource file:
Then, call it using: