Okay, for my 1000th post I wanted to post something special. This isnt that great, but hey.
You can create a menu similar to ICS Overflow menu with this library.
I havent exhaustively tested it, just tested it for the one case I have used in the sample below.
Requirements:
This library requires AHQuickActions to be added to the B4A project.
It also requires several xml files and image files to be in your res folder as read-only.
How it works:
It extends the PopupWindow class which is a really useful class for non-modal but obtrusive controls.
I modified one of corwin42's AHQuickActions vertical menu. Removed the arrows, added separators. Edited the xml files to give it a menu look. Added and edited the ICS drawables. This is a fairly hacky piece of work as a proof-of-concept.
Having problems:
Make sure you get AHQuickActions to work before embarking on this one. This is similar but with extra xml and png files (The ics_*).
Credits:
Original libraries:
NewQuickAction
NewQuickAction3D
corwin42's libraries: AHQuickAction Library
Erel's 9patch tutorial: Nine Patch Tutorial
COBRASoft for helping me with 9patch stuff
The usual bunch: NJDude, Barx, XverhelstX and my parents.
You can create a menu similar to ICS Overflow menu with this library.
I havent exhaustively tested it, just tested it for the one case I have used in the sample below.
Requirements:
This library requires AHQuickActions to be added to the B4A project.
It also requires several xml files and image files to be in your res folder as read-only.
How it works:
It extends the PopupWindow class which is a really useful class for non-modal but obtrusive controls.
I modified one of corwin42's AHQuickActions vertical menu. Removed the arrows, added separators. Edited the xml files to give it a menu look. Added and edited the ICS drawables. This is a fairly hacky piece of work as a proof-of-concept.
Having problems:
Make sure you get AHQuickActions to work before embarking on this one. This is similar but with extra xml and png files (The ics_*).
Credits:
Original libraries:
NewQuickAction
NewQuickAction3D
corwin42's libraries: AHQuickAction Library
Erel's 9patch tutorial: Nine Patch Tutorial
COBRASoft for helping me with 9patch stuff
The usual bunch: NJDude, Barx, XverhelstX and my parents.
Attachments
Last edited: