markormesher / android-fab

Floating action button (FAB) for Android with speed-dial menu functionality
Apache License 2.0
211 stars 29 forks source link

Customize the menu #30

Closed raveeshlawrance closed 6 years ago

raveeshlawrance commented 6 years ago

Hi Writing this to know, how can i customize each row in menu item. I dont want to use the icons at right hand side, and the mehu text should have a background color, how can i implement this using your lib. could you please help me on this?

markormesher commented 6 years ago

Hey @boyhasnoname. If you check out the discussion on #24, you can see some code discussing adding a background to the menu text. There's no discussion of hiding the icons (which I wouldn't recommend anyway), but the getIconWrapper() method described here should let you hide/show the wrapper that the icon is placed into.

Let me know how it goes!

raveeshlawrance commented 6 years ago

Got it. Thanks a lot :)