Я хочу создать салфетки для обновления макета, но это повышение поднято. Сведения об исключении регистрируются в Window> Show View> Error Log Следующие классы не могут быть найдены: - android.support.v4.widget.SwipeRefreshLayout (Фикс Путь сборки, редактирования XML, создать класс)Как импортировать android.support.v4.widget.SwipeRefreshLayout в моем проекте
<?xml version="1.0" encoding="utf-8"?>
<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">
<ScrollView android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView android:text="swipe"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center"/>
</ScrollView>
</android.support.v4.widget.SwipeRefreshLayout>
Проверить http://stackoverflow.com/a/23325011/2700586 и http://stackoverflow.com/a/3643015/2700586 – Mani