activity_msds_screen.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. android:background="@color/white"
  8. tools:context=".ui.still.MsdsScreenActivity">
  9. <RelativeLayout
  10. android:id="@+id/rel1"
  11. android:layout_width="match_parent"
  12. android:layout_height="45dp"
  13. android:background="@color/purple_ff54a2ea">
  14. <TextView
  15. android:id="@+id/name"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerVertical="true"
  19. android:layout_marginLeft="10dp"
  20. android:text="名称名称"
  21. android:textColor="@color/white"
  22. android:textSize="22sp" />
  23. <Button
  24. android:id="@+id/closeScreen"
  25. android:layout_width="wrap_content"
  26. android:layout_height="35dp"
  27. android:layout_alignParentRight="true"
  28. android:layout_centerVertical="true"
  29. android:layout_marginRight="10dp"
  30. android:background="@drawable/bg_tui_chu"
  31. android:text="退出全屏"
  32. android:textColor="@color/white" />
  33. </RelativeLayout>
  34. <RelativeLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content"
  37. android:layout_below="@+id/rel1">
  38. <com.tencent.smtt.sdk.WebView
  39. android:id="@+id/webView"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent"
  42. android:layout_marginLeft="120dp"
  43. android:layout_marginRight="120dp"
  44. android:layout_marginBottom="34dp"
  45. android:background="@color/purple_ffdbdbdb" />
  46. <ProgressBar
  47. android:id="@+id/progressbar"
  48. style="@android:style/Widget.ProgressBar.Horizontal"
  49. android:layout_width="0dp"
  50. android:layout_height="2dp"
  51. android:progress="0"
  52. android:progressDrawable="@drawable/progressbar" />
  53. <FrameLayout
  54. android:id="@+id/videoFullScreen"
  55. android:layout_width="0dp"
  56. android:layout_height="0dp"
  57. app:layout_constraintBottom_toBottomOf="parent"
  58. app:layout_constraintEnd_toEndOf="parent"
  59. app:layout_constraintStart_toStartOf="parent"
  60. app:layout_constraintTop_toTopOf="parent" />
  61. </RelativeLayout>
  62. <LinearLayout
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_alignParentRight="true"
  66. android:layout_alignParentBottom="true"
  67. android:layout_marginRight="15dp"
  68. android:layout_marginBottom="34dp"
  69. android:gravity="center"
  70. android:orientation="vertical">
  71. <ImageView
  72. android:id="@+id/imgSign"
  73. android:layout_width="70dp"
  74. android:layout_height="70dp" />
  75. <TextView
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:layout_marginTop="4dp"
  79. android:text="微信扫描"
  80. android:textColor="@color/black" />
  81. <TextView
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_marginTop="4dp"
  85. android:text="二维码查看"
  86. android:textColor="@color/black" />
  87. </LinearLayout>
  88. </RelativeLayout>