The purpose of this widget is to reassure the user that something is happening. It can operate in one of two modes:
determinate mode: the widget shows an indicator that moves from beginning to end under program control.
indeterminate mode: the widget is animated so the user will believe that something is in progress. In this mode, the indicator bounces back and forth between the ends of the widget.