tjberte
tjberte

Reputation: 111

Android: What is the Facebook app utilizing for ProgressDialog/Loading

Check this screenshot here: http://farm6.static.flickr.com/5174/5389868759_8021dedbb8.jpg

What are they utilizing to do that while loading the data? I've got my own progress Dialog setup, but I like how Facebookes and other apps I've seen have it inegrated right into the app as opposed to a new pop-up window.

Upvotes: 2

Views: 696

Answers (2)

Femi
Femi

Reputation: 64710

They are probably using Window.FEATURE_PROGRESS and Window.FEATURE_INDETERMINATE_PROGRESS as mentioned here.

Upvotes: 0

nhaarman
nhaarman

Reputation: 100468

Something like this:

<ProgressBar
 android:id="@+id/progressBar"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 style="@android:style/Widget.ProgressBar.Small"
/>

More info

Upvotes: 3

Related Questions