Croutons is a UI component used to show short messages to the user. It can be used as an alternative to ToastMessage mainly because Toasts do not maintain context (for e.g. a toast for a different activity will show on the wrong activity).
Idea taken from Cyril Mottier: Cyril Mottier » The making of Prixing #4: in-layout notifications
I posted a demo a while ago here: Croutons Demo
I didnt get time to clean up the code. If someone improves on this and fixes bugs, kindly feed back to this thread.
This class requires the Animation and Reflector library.
Bugs:
setTypeface does not work.
Idea taken from Cyril Mottier: Cyril Mottier » The making of Prixing #4: in-layout notifications
I posted a demo a while ago here: Croutons Demo
I didnt get time to clean up the code. If someone improves on this and fixes bugs, kindly feed back to this thread.
This class requires the Animation and Reflector library.
Bugs:
setTypeface does not work.