Code example for ActionBarActivity

0
import com.nineoldandroids.animation.Animator.AnimatorListener; 
import com.nineoldandroids.view.ViewHelper; 
import com.stevenschoen.putionew.PutioUtils; 
import com.stevenschoen.putionew.R; 
 
public class Setup extends ActionBarActivity { 
	public SharedPreferences sharedPrefs;
	private WebView loginWebView;
	 
	private int viewMode = 0;
	public static final int VIEWMODE_LOGIN = 1;
	public static final int VIEWMODE_LOADING = 2;
	public static final int VIEWMODE_NONETWORK = 3;
	 
	private View viewLoading;
	 
	private View viewNoNetwork;
	private TextView textNoConnection;
	 
	@Override 
	public void onCreate(Bundle savedInstanceState) {