When loading data into my fragments, I would like to have an undefined counter in the middle of the fragment (example in the figure below) to show the user that the content is loading on this particular panel.
What is the best way to do this at Honeycomb?
I really do not want to use the spinner in the action bar, it does not immediately become apparent when the data is loaded. In addition, I do not need an indefinite dialogue of progress, because it appears in the center of the entire application, and also does not allow the user to do anything even before he is fired. Notabene FragmentDialogs also do this.
Am I going to hack using a special FrameLayout to get the desired effect for each panel?

Damian
source share