关于android Toolbar,如何隐藏工具栏中的默认设置菜单
在这个活动中我设置了一个图标菜单,就像这样 \xe2\x80\x93
\n\n<menu xmlns:android="http://schemas.android.com/apk/res/android" >\n <item\n android:title=""\n android:id="@+id/menu_add"\n android:icon="@drawable/actionbar_add_icon"\n android:showAsAction="ifRoom">\n </item>\n</menu>\nRun Code Online (Sandbox Code Playgroud)\n\n它是菜单/main_home.xml
\n\npublic boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_home, menu);\n return super.onCreateOptionsMenu(menu);\n}\nRun Code Online (Sandbox Code Playgroud)\n\n但它显示一个三点菜单。我想知道为什么
\n\n\n\n以及如何显示子菜单图标图像 \xef\xbc\x8cit 在 中正常Actionbar,但在 中隐藏Toolbar