ActionQueue allows you run action one by one.
Android - MaterialPreference
A widget that can be used to confirm the user's action, unlocking the screen etc. by providing the desired pattern with specified configuration. Widget can be animated in and out.