【发布时间】:2015-10-19 11:55:55
【问题描述】:
我正在使用 Eclipse 进行 Android 开发。我在我的应用程序中使用了 swipeRefreshLayout。我的问题是,当我滑动环形(圆形动画)动画时,不显示线条水平类型,但我为滑动固定的颜色工作正常,而且我想在滑动时花一些距离和时间。请帮助我如何在滑动时显示圆形旋转动画。
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipe_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="true" >
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="8" />
</android.support.v4.widget.SwipeRefreshLayout>
请参考下图
我想这样展示
提前致谢
【问题讨论】:
-
你用什么来添加swipeRefreshLayout?你能用它粘贴布局文件吗?
-
请您参考我刚才的编辑帖子,我用代码和图像编辑了我的问题
-
你的 targetSdkVersion 是什么?
-
目标 sdk 版本为 21
标签: android swiperefreshlayout