[android-developers] Progress Bar without a dialog box

2011-01-16 Thread cool.manish
Hi,

In my application, I am fetching data from server. During fetching
response and parsing it, I want to display a progress bar(Like
spinner) but without a dialog box.

If I am using ProgressDialog then it is also displaying Dialog box. I
had also tried Progress Bar but I have to include it in the XML. My
problem is this that I need to display progress bar in almost every
screen of my application and only at the time when I am fetching data
from the server. So I think, I shouldn't include it in XML of every
screen.

Please help me.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Progress Bar without a dialog box

2011-01-16 Thread TreKing
On Sun, Jan 16, 2011 at 10:49 PM, cool.manish mannishga...@gmail.comwrote:

  I had also tried Progress Bar but I have to include it in the XML.


No you don't. Did you even try creating it programmatically?

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en