0

I want to create notification list like Facebook:

enter image description here

I don't know its name, I have searched the web and I can't find it, so I moved to submenu.

I have a flowing menu item

<item
    android:id="@+id/action_bookinglist"
    android:actionLayout="@layout/tblbooking_notification"
    android:icon="@drawable/notify_tablebooking"
    android:showAsAction="always"
    android:title="Booking List"/>

How can I add SubMenu for this item dynamically? Note: this menuitem has actionlayout, from this question To create submenu we have to create menu also dynamically, if so how to set actionLayout for dynamically created MenuItem?

My requirement is create notification list like that image.

halfer
  • 19,824
  • 17
  • 99
  • 186
Gunaseelan
  • 14,415
  • 11
  • 80
  • 128

0 Answers0