=====Changing Views in Activity===== in Android switching between views is a way to keep information, which have been given by user [[http://www.codecamp.fi/doku.php/android/filehadling|without saving them to file]] or [[http://developer.android.com/reference/android/os/Parcelable.html|making them parceable]]. But unfortunately it also takes some work to get it working. Other solution to get same result [[http://www.codecamp.fi/doku.php/android/multibleactivities|is using multiple activities]]. tab pane is a way to make using multiple tabs easier. Here is example of changing views in one activity. Also uses random, multiple threads, changing text colour,size of buttons and similar. * [[http://dl.dropbox.com/u/64923329/code/ViewExample.zip|ViewExample.zip]](code doesn't work at moment) links: * http://stackoverflow.com/questions/2072244/android-what-is-better-multiple-activities-or-switching-views-manually * http://www.anddev.org/how_to_switch_views_in_an_activity-t10063.html * http://mortalpowers.com/news/how-to-get-current-layout-object-on-android * http://docs.oracle.com/javase/1.4.2/docs/api/java/util/Random.html * http://docs.oracle.com/javase/tutorial/essential/concurrency/sleep.html