0

Android Actionbar compatibility alternate xml for pre-honeycomb

view story
linux-howto

http://stackoverflow.com – I am using the actiobarcompat sample in my application and I am trying to implement search for pre 3.0 devices. <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/menu_search" android:orderInCategory="1" android:title="@string/menu_search" android:icon="@drawable/ic_home" android:showAsAction="collapseActionView|ifRoom" android:actionViewClass="android.widget.SearchView" /> </menu> On Honeycomb+ this works fine, the searchview widget appears in the actionbar. What I am trying to do is have a second menu XML s (HowTos)