webview_activity.xml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:fitsSystemWindows="true"
  7. android:orientation="vertical">
  8. <com.google.android.material.appbar.AppBarLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content">
  11. <com.google.android.material.appbar.MaterialToolbar
  12. android:id="@+id/toolbar"
  13. android:layout_width="match_parent"
  14. android:layout_height="?attr/actionBarSize"
  15. app:navigationIcon="@drawable/ic_close_24dp" />
  16. </com.google.android.material.appbar.AppBarLayout>
  17. <eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout
  18. android:id="@id/swipe_refresh"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent">
  21. <WebView
  22. android:id="@+id/webview"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent">
  25. <com.google.android.material.progressindicator.LinearProgressIndicator
  26. android:id="@+id/progress_bar"
  27. android:layout_width="match_parent"
  28. android:layout_height="wrap_content" />
  29. </WebView>
  30. </eu.kanade.tachiyomi.widget.ThemedSwipeRefreshLayout>
  31. </LinearLayout>