У меня есть текст заголовка и веб-представление в LinearLayout в ScrollView.Я хочу добавить макет обновления смахивания, но не знаю, где его разместить, потому что я всегда получаю ошибки или страница не отображается.
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
style="@style/PageTitle"
android:text="@string/news_in_fazekas" />
<WebView
android:id="@+id/newsWebView"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>