I want to added to menu item but a user can choose what he want to see or hide , but I don't know how I can do it . I did this :
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:title="NARZĘDZIA">
        <menu>
            <item
                android:id="@+id/show_point"
                android:icon="@drawable/point"
                android:title="Pokaż wybraną pozycję obiektu" />
            <item
                android:id="@+id/sync"
                android:icon="@drawable/sync"
                android:title="Pojedyńcze odpytanie" />
            <item
                android:id="@+id/show_chooce"
                android:icon="@drawable/show_chooce"
                android:title="Pokaż wybrane obiekty" />
            <item
                android:id="@+id/my_location"
                android:icon="@drawable/position2"
                android:title="Moja lokalizacja" />
        </menu>
    </item>
    <item android:title="APLIKACJA">
        <menu>
            <item
                android:id="@+id/settigs"
                android:icon="@drawable/set"
                android:title="Ustawienia aplikacji" />
            <item
                android:id="@+id/about"
                android:icon="@drawable/about"
                android:title="O programie" />
        </menu>
    </item>
</menu>
Now I want to create a Activity in which user can choose what it will be show , but I don't have idea how I can hide this item on menu
 
     
    