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.
我很好奇如何创建如下图所示的动作模式?它是由自定义布局制成的吗?
是的,它是ActionBar.
ActionBar
Roman Nurik为此写了出色的样本。你可以在这里找到它:
https://android.googlesource.com/platform/developers/samples/android/+/master/ui/actionbar/DoneBar
底线是您在ActionBar.