Is it possible to handle two or more resource layouts using one java class in android development? I want to create a multi-page signup page with one java class itself.