1

我正在尝试在我的片段中使用以下代码实现 swiperefreshlayout,

    <android.support.v4.widget.SwipeRefreshLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/swipe_container"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

        <ListView
        android:id="@+id/recentList"
        android:layout_width="match_parent"
        android:layout_height="match_parent" 
        android:background="@color/grey" >
    </ListView>

</android.support.v4.widget.SwipeRefreshLayout>

当对活动进行 tar 处理时,我收到错误“错误膨胀类 android.support.v4.widget.SwipeRfreshLayout”

我以前从未使用过此控件,尽管我目前正在使用 v4 支持库中的其他控件而没有问题。

4

0 回答 0