This is a implementation for Android advanced UI pattern undo-bar, used in Gmail app, create by roman nurik
UndoBar was modify from Roman(@romannurik)'s undobar concept (https://code.google.com/p/romannurik-code/), and backport it to Android 2.x and make it easier to use
- Download this libary, import to your IDE (eclipse...) as libary project.
- You can also depend on the .jar through Maven:
<dependency>
<groupId>com.cocosw</groupId>
<artifactId>undobar</artifactId>
<version>0.3</version>
<type>apklib</type>
</dependency>- You can use UndoBar by just one line code
UndoBarController.show(getActivity(), "Undo-bar title" , listener, undoToken);- UndoBar support customize style with backgroud/icon/duration attribution. libary provide 3 Style as default, you can use in different purpose like Undo,Refresh, or just use it as replacement of Toster
- Feel free to fork it
- Works perfect with Crouton/Menudrawer/ABS


