Permalink
Browse files

jelly bean loading indicator bug fix

  • Loading branch information...
1 parent 35cdd4b commit 91db9f1b70632d10009d585761922ac5ca47b71c @SteveHanna committed Jul 23, 2012
@@ -37,6 +37,7 @@ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.build);
+ setSupportProgressBarIndeterminateVisibility(true);
ActionBar actionBar = getSupportActionBar();
actionBar.setDisplayHomeAsUpEnabled(true);
@@ -25,8 +25,9 @@ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.builds);
-
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+
new BuildTask().execute();
}
@@ -14,9 +14,10 @@
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
- setContentView(R.layout.collaborators);
-
+ setContentView(R.layout.collaborators);
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
+
new CollaboratorsTask().execute();
}
@@ -13,9 +13,9 @@
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.config_variables);
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
new ConfigVariablesTask().execute();
@@ -41,7 +41,8 @@ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.main);
-
+ setSupportProgressBarIndeterminateVisibility(true);
+
try{
GCMRegistrar.checkDevice(this);
GCMRegistrar.checkManifest(this);
@@ -13,9 +13,9 @@
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.errors);
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
new ErrorsTask().execute();
@@ -13,9 +13,9 @@
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.hostnames);
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
new HostnamesTask().execute();
@@ -16,9 +16,9 @@
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
-
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.service_hooks);
+ setSupportProgressBarIndeterminateVisibility(true);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
new ServiceHooksTask().execute();

0 comments on commit 91db9f1

Please sign in to comment.