XML : Android XML: two checkable behaviour groups in Overflow Menu

I have created one overflow menu which looks like this - Overflow Menu

  <?xml version="1.0" encoding="utf-8"?>    
  <group android:checkableBehavior="all">        <item          android:id="@+id/menu_all"          android:orderInCategory="1"          android:showAsAction="never"          android:title="@string/all_string"/>        <item          android:id="@+id/menu_water"          android:orderInCategory="2"          android:showAsAction="never"          android:title="@string/water_string"/>        <item          android:id="@+id/menu_wind"          android:orderInCategory="3"          android:showAsAction="never"          android:title="@string/wind_string"/>        <item          android:id="@+id/menu_solar"          android:orderInCategory="4"          android:showAsAction="never"          android:title="@string/solar_string"/>        <item          android:id="@+id/menu_geo"          android:orderInCategory="5"          android:showAsAction="never"          android:title="@string/geo_string"/>  </group></menu>    

I want to add another checkable column, my question which layout is needed and how many groups of CheckableBehaviour can I use in this menu .xml file :)

No comments:

Post a Comment