[Wish] RibbonMenu wrapper for library

Inman

Well-Known Member
Licensed User
Longtime User
Ribbon menu is the one which can be seen when we touch on the top left corner of Facebook, Google+ apps. The java library given below can do this for Android. I hope someone will bring this to B4A.

https://github.com/darvds/RibbonMenu

Google+-for-Android-ribbon-337x600.png
 

corwin42

Expert
Licensed User
Longtime User
I have thought a few days ago about how to implement such a menu in B4A. I think the solution you provided is not very good to wrap to B4A because it uses much XML stuff but I found some other solutions.

Another idea was to write a B4A module for this like Erels ActionList module. Should be not too much work to modify this for such a menu.

One strange thing is that this menu is not mentioned in the Android Design Guidelines but Google uses it. After releasing the design guidelines it took just 6 months until they break their own guideline.
 

Inman

Well-Known Member
Licensed User
Longtime User
@thedesolatesoul, ICS Popup Menu looks nice. I will give it a go.

@corwin42, sorry I didn't know it was tough as I know nothing about Java. I just encountered some nice looking Android UI libraries today and posted a wishlist here. And yea, a module like ActionList also will be helpful.
 

corwin42

Expert
Licensed User
Longtime User
I just played around with the new classes feature of B4A 2.0 beta version.

Attached is a simple program with the result.

I will have to clean it up a bit when Erel releases the next beta with some fixes. At least when B4A 2.0 is released I will make the class available.
 

Attachments

  • SlideMenuExample.apk
    113.6 KB · Views: 277

Inman

Well-Known Member
Licensed User
Longtime User
Nice. Is it a listview with bitmaps or does it allow other views as well?

So, this is going to be a class (like Erel's code modules) and not a library like your previous releases?
 

bluedude

Well-Known Member
Licensed User
Longtime User
I would say pretty cool! If we could also use this to replace the overflow menu on the actionbar it would be nice.

The current AHQuickvertical isn't performing as expected in combination with an actionbar.

Great attempt!
 
Top