开发者

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.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜