activity_x_webview.xml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <layout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:app="http://schemas.android.com/apk/res-auto">
  5. <androidx.constraintlayout.widget.ConstraintLayout
  6. android:layout_width="match_parent"
  7. android:background="@color/app_color_black"
  8. android:layout_height="match_parent"
  9. tools:context=".web.XWebViewActivity">
  10. <ProgressBar
  11. android:id="@+id/X_progressBar"
  12. style="@style/Widget.AppCompat.ProgressBar.Horizontal"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:max="100"
  16. app:layout_constraintTop_toTopOf="parent" />
  17. <WebView
  18. android:id="@+id/X_webView"
  19. android:layout_width="match_parent"
  20. android:layout_height="0dp"
  21. android:background="@color/app_color_black"
  22. app:layout_constraintTop_toBottomOf="@id/X_progressBar"
  23. app:layout_constraintBottom_toBottomOf="parent"/>
  24. </androidx.constraintlayout.widget.ConstraintLayout>
  25. </layout>