Add more than two views to ViewSwitcher

jlopez picture jlopez · Aug 22, 2012 · Viewed 9.7k times · Source

I need to add more than two views to my viewSwitcher. I tried but I get following error log:

Can't add more than 2 views to a viewSwitcher

I would like to know if I can fix this problem by any property of the ViewSwitcher even if I manually add more views from my Java class.

Thanks!

Answer

Frankie picture Frankie · Aug 22, 2012

On a side note, you can use ViewFlipper, which can contain more than one view