Revision d81b2ba1

b/src/com/rackspace/cloud/android/ListAccountsActivity.java
419 419
		protected void onPostExecute(Boolean result) {
420 420
			if (result.booleanValue()) {
421 421
				//startActivity(tabViewIntent);
422
				if(app.isLoggingIn()){
422
				/*if(app.isLoggingIn()){
423 423
					new LoadImagesTask().execute((Void[]) null);
424 424
				} else {
425 425
					hideAccountDialog();
426
				}*/
427
				hideAccountDialog();
428
				if(app.isLoggingIn()){
429
					startActivityForResult(tabViewIntent, 187);
426 430
				}
427 431
			} else {
428 432
				hideAccountDialog();
b/src/com/rackspace/cloud/android/TabViewActivity.java
34 34
		super.onCreate(savedInstanceState);
35 35

  
36 36
		TabHost tabs = getTabHost();
37

  
38
		TabHost.TabSpec spec = tabs.newTabSpec("tab1");
37
		
38
		TabHost.TabSpec spec = tabs.newTabSpec("tab2");
39
		spec.setContent(new Intent(this, ListContainerActivity.class));
40
		spec.setIndicator("Cloud Files",
41
				getResources().getDrawable(R.drawable.cloudfiles));
42
		tabs.addTab(spec);
43
		/*
44
		spec = tabs.newTabSpec("tab1");
39 45
		spec.setContent(new Intent(this, ListServersActivity.class));
40 46
		spec.setIndicator("Cloud Servers",
41 47
				getResources().getDrawable(R.drawable.cloudservers_icon));
42 48
		tabs.addTab(spec);
43 49

  
44
		spec = tabs.newTabSpec("tab2");
45
		spec.setContent(new Intent(this, ListContainerActivity.class));
46
		spec.setIndicator("Cloud Files",
47
				getResources().getDrawable(R.drawable.cloudfiles));
48
		tabs.addTab(spec);
50
		
49 51
		
50 52
		spec = tabs.newTabSpec("tab3");
51 53
		spec.setContent(new Intent(this, ListLoadBalancersActivity.class));
52 54
		spec.setIndicator("Load Balancers", getResources().getDrawable(R.drawable.load_balancers_icon));
53
		tabs.addTab(spec);
55
		tabs.addTab(spec);*/
54 56
	}
55 57
	
56 58
	@Override

Also available in: Unified diff