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.
我想要一个没有标题和图标的操作栏,带有 2 个按钮:确定和擦除。我知道该怎么做,但我有两个问题:
最后我把它放在了底部。您必须在清单中添加:
<activity android:name=".yourclass" android:uiOptions="splitActionBarWhenNarrow"></activity>
我删除了示例中按钮的代码,结果如我所愿