Skip to content
/ UndoBar Public
forked from soarcn/UndoBar

The UI component for Android advanced UI pattern undo-bar, used in Gmail app, create by roman nurik

Notifications You must be signed in to change notification settings

bpc/UndoBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UndoBar

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

UndoBar Sample UndoBar Sample UndoBar Sample

How to use this libary

  • 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>

API

  • 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

Contribute

  • Feel free to fork it

Other

  • Works perfect with Crouton/Menudrawer/ABS

About

The UI component for Android advanced UI pattern undo-bar, used in Gmail app, create by roman nurik

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%