I have situation where I want to change layout of activity after 3 seconds. Ho can I do that? For example application starts with splashscreen that will run for 3 seconds th
This leaves me to add to adnorid's post, that ViewSwitcher itself is only able to switch between 2 layouts/views. This is simply because it's hardcoded to only 2 layouts/views without deeper meaning, as far as i know. So i built my own MultipleViewSwitcher aka MVS, base on the original ViewSwitcher.java from android source. The only changes that had to be made are:
This can all be done in MultipleViewSwitcher.java alone and works like a charm.
I came accross a bunch of stuff like that where the android sources could be made much more powerful with, many times, near-no-brainer-edits. I'd like to know why that is, but that's not for this thread here.
cheers!