Dec 31, 2012 Replies: 5 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. Attachments CroutonExample.zip CroutonExample.zip 163.9 KB · Views: 798 15113d1356228836-croutons-demo-alternative-toasts-screenshot_2012-12-23-02-05-04.png 58.6 KB · Views: 1,126 15114d1356228840-croutons-demo-alternative-toasts-screenshot_2012-12-23-02-05-29.png 58.7 KB · Views: 1,106 Click to expand...
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.
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2012 #2 Thank you for sharing this. (don't forget to list it here: Libraries - Basic4android Wiki)