Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Android 中,我android:autoLink为我的TextView. 是否可以更改找到的任何链接的颜色?(我不喜欢默认的蓝色。)
android:autoLink
TextView
TextView在 XML 中尝试:
android:textColorLink="@android:color/someColor"
并在 Java 代码中
textview.setLinkTextColor(Color.RED);
我认为它有效
android:textColorLink="/*color*/"