You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.
After requesting the FEATURE_INDETERMINATE_PROGRESS feature in onCreate, older devices instantly show the spinner, whilst native action bar devices don't.
_Reproduction_
public class Main extends SherlockActivity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setContentView(R.layout.test);
}
}
_Workaround_
public class Main extends SherlockActivity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setSupportProgressBarIndeterminateVisibility(false); // or true if you want the spinner to be visible by default
setContentView(R.layout.test);
}
}
The text was updated successfully, but these errors were encountered:
After requesting the FEATURE_INDETERMINATE_PROGRESS feature in onCreate, older devices instantly show the spinner, whilst native action bar devices don't.
_Reproduction_
_Workaround_
The text was updated successfully, but these errors were encountered: