机器人:字符串格式指定粗体字符串、机器人、粗体、格式

2023-09-04 05:30:18 作者:菁华浮梦长

我有一个像

<string name="eventtitle">Title: %1$s </string>

这是使用格式化的String.Format 。如何定义字符串只得到影片名称:如粗体

which is formatted using string.format . How to define the string to get only the Titel: as Bold.

在此先感谢您的帮助

推荐答案

您要的风格你在这显示TextView的字符串。看到这个链接

You have to style your string in the TextView in which in is displayed. See this link