In my program i create buttons programmatically on OnTouch event but when i reopen the app or activity get restarted these button do not appear 
Can any one suggest me how can i create buttons programmatically those will stick to the layout even after the activity gets restart or app gets restart