Code example for ViewSwitcher

Methods: showNext

0
		}); 
 
		changeToRegister.setOnClickListener(new OnClickListener() {
			@Override 
			public void onClick(View arg0) {
				viewSwitcher.showNext();
			} 
		}); 
 
		return v;
	} 
 
	@Override 
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
 
	} 
 
	@Override 
	public void onClick(View viewClicked) {
		if (viewClicked.getId() == R.id.login_button) {