机器人:字符串格式指定粗体 [英] android: string format specify bold

查看:135
本文介绍了机器人:字符串格式指定粗体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个像

<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

这篇关于机器人:字符串格式指定粗体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆