答案 0 :(得分:0)
尝试一下:
String text1 = "By continuing, You are indicating that you accept our ";
String text2 = "<font color='#EE0000'>Terms of Service</font>"; //Specify your with color='#XXXXXX'
String text3 = " and ";
String text4 = "<font color='#EE0000'>Privacy Policy</font>"; //Specify your with color='#XXXXXX'
textView.setText(Html.fromHtml(text1 + text2 + text3 + text4));
答案 1 :(得分:0)
尝试使用任何颜色替换textColorTertiary
> <style name="LoginTheme" parent="FirebaseUI"> <item
> name="android:textColorTertiary">@android:color/white</item>
....