Revision 157f0be5
b/res/layout/listcontainerscell.xml | ||
---|---|---|
7 | 7 |
android:layout_height="fill_parent"> |
8 | 8 |
|
9 | 9 |
<TableRow> |
10 |
<TextView android:id="@+id/label" android:layout_width="wrap_content" |
|
11 |
android:layout_height="wrap_content" android:layout_marginTop="5px" |
|
12 |
android:textColor="#FFFFFF" android:textSize="24sp" /> |
|
10 |
<TextView android:id="@+id/label" |
|
11 |
android:layout_width="wrap_content" |
|
12 |
android:layout_height="wrap_content" |
|
13 |
android:layout_marginTop="5px" |
|
14 |
android:textColor="#FFFFFF" |
|
15 |
android:textSize="24sp" |
|
16 |
android:singleLine="true"/> |
|
13 | 17 |
</TableRow> |
14 | 18 |
|
15 | 19 |
<TableRow> |
b/src/com/rackspacecloud/android/ListAccountsActivity.java | ||
---|---|---|
426 | 426 |
|
427 | 427 |
@Override |
428 | 428 |
protected void onPreExecute(){ |
429 |
Log.d("info", "AuthenticateTask Started"); |
|
429 | 430 |
showDialog(); |
430 | 431 |
} |
431 | 432 |
|
... | ... | |
455 | 456 |
|
456 | 457 |
@Override |
457 | 458 |
protected ArrayList<Image> doInBackground(Void... arg0) { |
459 |
Log.d("info", "LoadImagesTask Started"); |
|
458 | 460 |
return (new ImageManager()).createList(true, context); |
459 | 461 |
} |
460 | 462 |
|
... | ... | |
479 | 481 |
|
480 | 482 |
@Override |
481 | 483 |
protected ArrayList<Protocol> doInBackground(Void... arg0) { |
484 |
Log.d("info", "LoadProtocolsTask Started"); |
|
482 | 485 |
return (new ProtocolManager()).createList(context); |
483 | 486 |
} |
484 | 487 |
|
... | ... | |
498 | 501 |
|
499 | 502 |
@Override |
500 | 503 |
protected ArrayList<Algorithm> doInBackground(Void... arg0) { |
504 |
Log.d("info", "LoadAlgorithmsTask Started"); |
|
501 | 505 |
return (new AlgorithmManager()).createList(context); |
502 | 506 |
} |
503 | 507 |
|
... | ... | |
517 | 521 |
|
518 | 522 |
@Override |
519 | 523 |
protected ArrayList<Flavor> doInBackground(Void... arg0) { |
524 |
Log.d("info", "LoadFlavorsTask Started"); |
|
520 | 525 |
return (new FlavorManager()).createList(true, context); |
521 | 526 |
} |
522 | 527 |
|
... | ... | |
530 | 535 |
} |
531 | 536 |
Flavor.setFlavors(flavorMap); |
532 | 537 |
hideDialog(); |
538 |
Log.d("info", "Starting TabViewIntent"); |
|
533 | 539 |
startActivityForResult(tabViewIntent, 187); |
534 | 540 |
} else { |
535 | 541 |
hideDialog(); |
b/src/com/rackspacecloud/android/TabViewActivity.java | ||
---|---|---|
5 | 5 |
|
6 | 6 |
import android.app.TabActivity; |
7 | 7 |
import android.content.Intent; |
8 |
import android.util.Log; |
|
8 | 9 |
import android.widget.TabHost; |
9 | 10 |
import android.os.Bundle; |
10 | 11 |
|
... | ... | |
18 | 19 |
public void onCreate(Bundle savedInstanceState) { |
19 | 20 |
super.onCreate(savedInstanceState); |
20 | 21 |
|
22 |
Log.d("info", "TabViewActivity Started"); |
|
23 |
|
|
21 | 24 |
TabHost tabs = getTabHost(); |
22 | 25 |
|
23 | 26 |
TabHost.TabSpec spec = tabs.newTabSpec("tab1"); |
b/src/com/rackspacecloud/android/ViewLoadBalancerActivity.java | ||
---|---|---|
122 | 122 |
editLoadBalancerIntent.putExtra("loadBalancer", loadBalancer); |
123 | 123 |
startActivityForResult(editLoadBalancerIntent, EDIT_LOAD_BALANCER_CODE); |
124 | 124 |
} else { |
125 |
showAlert(loadBalancer.getStatus(), "The load balancer cannot be updated"); |
|
125 |
showAlert(loadBalancer.getStatus(), "The load balancer cannot be updated.");
|
|
126 | 126 |
} |
127 | 127 |
} |
128 | 128 |
}); |
... | ... | |
134 | 134 |
if(!loadBalancer.getStatus().contains("DELETE")){ |
135 | 135 |
showDialog(R.id.view_server_delete_button); |
136 | 136 |
} else { |
137 |
showAlert(loadBalancer.getStatus(), "The load balancer cannot be deleted"); |
|
137 |
showAlert(loadBalancer.getStatus(), "The load balancer cannot be deleted.");
|
|
138 | 138 |
} |
139 | 139 |
} |
140 | 140 |
|
... | ... | |
149 | 149 |
editLoadBalancerIntent.putExtra("loadBalancer", loadBalancer); |
150 | 150 |
startActivityForResult(editLoadBalancerIntent, EDIT_NODES_CODE); |
151 | 151 |
} else { |
152 |
showAlert(loadBalancer.getStatus(), "The nodes cannot be edited"); |
|
152 |
showAlert(loadBalancer.getStatus(), "The nodes cannot be edited.");
|
|
153 | 153 |
} |
154 | 154 |
} |
155 | 155 |
}); |
Also available in: Unified diff