Skip to content Skip to sidebar Skip to footer

Textswitcher Throwing "more Than 2 Views" Error When Setfactory() Is Called

I am working on an assignment for an Android Programming Class. I am not looking to spoon-fed code but I cannot figure out what is causing the problem. The specifics of the assign

Solution 1:

A fellow classmate took a look at the project and said my problem was that my MainActivity extended ActionBarActivity instead of Activity. I don't see why Android would make the distinction between that, but it does and changing to extending Activity solved the problem.


Post a Comment for "Textswitcher Throwing "more Than 2 Views" Error When Setfactory() Is Called"