【问题标题】:Android: What is the Facebook app utilizing for ProgressDialog/LoadingAndroid:用于 ProgressDialog/Loading 的 Facebook 应用程序是什么
【发布时间】:2011-09-20 18:08:54
【问题描述】:

在此处查看此屏幕截图:http://farm6.static.flickr.com/5174/5389868759_8021dedbb8.jpg

他们在加载数据时使用什么来做到这一点?我有自己的进度对话框设置,但我喜欢 Facebookes 和我见过的其他应用程序将其直接集成到应用程序中,而不是新的弹出窗口。

【问题讨论】:

    标签: android facebook progressdialog android-progressbar


    【解决方案1】:

    他们可能正在使用Window.FEATURE_PROGRESS 和Window.FEATURE_INDETERMINATE_PROGRESS,如here 所述。

    【讨论】:

      【解决方案2】:

      类似这样的:

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

      More info

      【讨论】:

        猜你喜欢
        • 2012-01-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-08-21
        • 1970-01-01
        相关资源
        最近更新 更多