Android SwiperRefreshLayout箭头指示器未显示
我有这个问题,第一次向下滑动以显示微调器时,箭头指示器没有显示: 之所以发生这种情况,是因为没有使用简单的ListView进行RecyclerView。 我想成为什么样的人: 这是SwipeRefreshLayout XML:Android SwiperRefreshLayout箭头指示器未显示,android,android-recyclerview,swiperefreshlayout,Android,Android Recyclerview,Swiperefreshlayout,我有这个问题,第一次向下滑动以显示微调器时,箭头指示器没有显示: 之所以发生这种情况,是因为没有使用简单的ListView进行RecyclerView。 我想成为什么样的人: 这是SwipeRefreshLayout XML: <android.support.v4.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/swipeRefr
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/swipeRefreshLayout_pitchList"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerView_pitchList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ffffff"
android:scrollbars="vertical">
</android.support.v7.widget.RecyclerView>
我真的希望你能帮助我。谢谢大家! swipeRefreshLayout.setColorSchemeResources(R.color.colorPrimaryDark,R.color.colorPrimaryDark,R.color.colorPrimaryDark,R.color.colorPrimaryDark,R.color.colorPrimaryDark)
然后转到res/values检查颜色主题
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/black</item>
<item name="android:textColor">@color/black</item>
<item name="android:textColorSecondary">@color/colorPrimary</item>
<item name="windowActionBar">false</item>
<item name="windowActionBarOverlay">true</item>
</style>
@颜色/原色
@颜色/原色暗
@颜色/黑色
@颜色/黑色
@颜色/原色
假的
真的
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/black</item>
<item name="android:textColor">@color/black</item>
<item name="android:textColorSecondary">@color/colorPrimary</item>
<item name="windowActionBar">false</item>
<item name="windowActionBarOverlay">true</item>
</style>