Advertisement
Guest User

xml for webview issue

a guest
Dec 19th, 2022
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. tools:context=".Lesson">
  8.  
  9. <com.google.android.material.appbar.AppBarLayout
  10. android:id="@+id/appBarLayout"
  11. android:layout_width="match_parent"
  12. android:layout_height="match_parent"
  13. android:isScrollContainer="true"
  14. android:scrollbars="vertical"
  15. android:theme="@style/Theme.PartTimePilot.AppBarOverlay"
  16. android:verticalScrollbarPosition="right">
  17.  
  18. <TextView
  19. android:id="@+id/textView2"
  20. android:layout_width="match_parent"
  21. android:layout_height="64dp"
  22. android:fontFamily="@font/reem_kufi"
  23. android:gravity="center"
  24. android:isScrollContainer="false"
  25. android:linksClickable="true"
  26. android:text="Winds &amp; Temperatures Aloft"
  27. android:textAlignment="center"
  28. android:textColor="#FFFFFF"
  29. android:textSize="24sp"
  30. android:textStyle="bold" />
  31.  
  32. <com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
  33. android:id="@+id/videoView"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content" />
  36.  
  37. <WebView
  38. android:id="@+id/lessonContentView"
  39. android:layout_width="match_parent"
  40. android:layout_height="match_parent"
  41. android:fadeScrollbars="true"
  42. android:isScrollContainer="true"
  43. android:nestedScrollingEnabled="true"
  44. android:overScrollMode="ifContentScrolls"
  45. android:persistentDrawingCache="scrolling"
  46. android:scrollbars="vertical"
  47. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  48. app:layout_scrollFlags="scroll" />
  49.  
  50. </com.google.android.material.appbar.AppBarLayout>
  51.  
  52. </androidx.coordinatorlayout.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement