I am using a custom title view and would like to show/hide a progressbar in the title view when a thread is working.
This is my title view\'s XML
<
What you should use in this case is AsyncTask, see http://developer.android.com/reference/android/os/AsyncTask.html
If you're not targeting a pre-1.5 version of Android, you will have to use a different class called UserTask. See http://android-developers.blogspot.com/2009/05/painless-threading.html