android-remove 右侧选项菜单的子菜单项的标题?

android-remove title of submenu item on right side option menu?

这是我的菜单 xml 菜单和子菜单的代码, 当我在包含子菜单的菜单中按下时,有 parent 菜单的子菜单自动显示标题,我想将其删除。 这是它的屏幕

<item
    android:id="@+id/action_call"
    android:icon="@drawable/call_icon"
    android:orderInCategory="1"
    android:title="@string/menu_search"
    app:showAsAction="always" />

<item
    android:id="@+id/action_attach"
    android:icon="@drawable/ic_attachment"
    android:orderInCategory="2"
    android:title="@string/menu_comment"
    app:showAsAction="always" />
<item
    android:id="@+id/menuScheduleSmS"
    android:title="@string/menu_schedule_sms" />

<item
    android:id="@+id/menuMore"
    android:title="@string/menu_more">

    <menu>

        <item
            android:id="@+id/menuBlockContact"
            android:title="@string/menu_block_contact" />
        <item
            android:id="@+id/menuClearChat"
            android:title="@string/menu_clear_chat" />
        <item
            android:id="@+id/menuEmailChat"
            android:title="@string/menu_email_chat" />

    </menu>
</item>
</menu>
/* remove header of submenu */
MenuItem menuMore = menu.findItem(R.id.menuMore);
if (menuMore != null) {
    menuMore.getSubMenu().clearHeader();
}