[英]How Set Action Bar Menu Position To Right
我正在制作一個應用程序,其中隱藏了操作欄並添加了imageview以打開菜單。
但是我在左上角看到這樣的菜單
getSupportActionBar().hide();
我用這種方法打電話
public void openactionmenu() { NewMainActivity.this.openOptionsMenu(); }
如何獲得右側的菜單
解決了 !!
我通過添加彈出菜單做到了
遵循此-https://www.tutlane.com/tutorial/android/android-popup-menu-with-examples
[英]How do I remove settings icon (overflow menu) on top-right of action bar?
[英]How can I position a menu to the right in a menubar
[英]How to scroll right in a menu bar in appium?
[英]How to add menu item to action bar?
[英]How to remove the menu from an action bar (java)
[英]How to know when the action bar menu is expanded?
[英]How set action bar options menu when a nested fragment becomes visible?
[英]Action Bar Buttons position
[英]Action Bar - Missing Menu
[英]how to set JtextArea focus in right position?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.