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.
我正在尝试做 GMail for Android 所做的事情 - 它在拆分 ActionBar 的右上角显示许多未读电子邮件。在文档中找不到任何容易实现的东西,我只想在顶角添加一个带有大字体的标签并更新它。
那可能是使用setCustomView()on ActionBar。
setCustomView()
ActionBar