fragment_news.xml 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. <androidx.constraintlayout.widget.ConstraintLayout
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent" >
  8. <TextView
  9. android:id="@+id/text_notifications"
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:layout_marginStart="8dp"
  13. android:layout_marginTop="8dp"
  14. android:layout_marginEnd="8dp"
  15. android:textAlignment="center"
  16. android:textSize="20sp"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. app:layout_constraintStart_toStartOf="parent"
  19. app:layout_constraintTop_toTopOf="parent"/>
  20. </androidx.constraintlayout.widget.ConstraintLayout>
  21. -->
  22. <androidx.coordinatorlayout.widget.CoordinatorLayout
  23. xmlns:android="http://schemas.android.com/apk/res/android"
  24. xmlns:app="http://schemas.android.com/apk/res-auto"
  25. android:layout_width="match_parent"
  26. android:layout_height="match_parent"
  27. >
  28. <!--
  29. Yattoz - this is a simple embedded WebView to display KiwiIRC in the app.
  30. KiwiIRC is a decent IRC, but the website is clunky and you must scroll a lot.
  31. This WebView is just the size of the screen, to make it practical.
  32. -->
  33. <WebView
  34. android:id="@+id/news_webview"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent" />
  37. </androidx.coordinatorlayout.widget.CoordinatorLayout>