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 的样式和主题框架,使用特殊的样式属性重新设置操作栏的样式。
看看这个链接:http: //developer.android.com/guide/topics/ui/actionbar.html
将您的操作栏图标创建为操作视图。然后你可以用任何你想要的方式修改它们的外观。