Save any View at run time on Android permanetly
===

I am seeing the application Pulse and  want to make an application like its some features. One of them is to add a new View at run time by user choice and save it . I am confused that how they did it , I mean how a View could be save at run time. Was it by SharedPreferences  or other way? 
If it is please help me with a piece of code of View . Thanks in advance.