show both progressbars when canUseProgress
This commit is contained in:
parent
cbe2c78f96
commit
eb217dc85d
@ -152,10 +152,10 @@ public class OnlineActivity extends CommonActivity {
|
|||||||
|
|
||||||
if (canUseProgress()) {
|
if (canUseProgress()) {
|
||||||
requestWindowFeature(Window.FEATURE_PROGRESS);
|
requestWindowFeature(Window.FEATURE_PROGRESS);
|
||||||
} else {
|
|
||||||
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
|
||||||
|
|
||||||
setProgressBarVisibility(false);
|
setProgressBarVisibility(false);
|
||||||
setProgressBarIndeterminateVisibility(false);
|
setProgressBarIndeterminateVisibility(false);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user