Android: Create Option Menu in single List -
i have 8 menu items. using menu.add()
method create 8 menu items. when run app. menu shown in 2 rows last item of second row being more
, clicking more single list of remaining 3 items shown. want 8 menu items shown in single list without more button , rows. how can achieve functionality. appreciated in advance.
thanks
according android docs
on android 3.0 , higher, items options menu presented action bar combination of on-screen action items , overflow options. beginning android 3.0, menu button deprecated (some devices don't have one), should migrate toward using action bar provide access actions , other options.
i suggest use action bar or implement sherlock library have vertical list of menu in project.
Comments
Post a Comment