12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="com.zhong.inspection.ui.WebViewsActivity">
- <com.tencent.smtt.sdk.WebView
- android:id="@+id/web_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <com.github.barteksc.pdfviewer.PDFView
- android:id="@+id/pdfView"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <ProgressBar
- android:id="@+id/progressbar"
- style="@android:style/Widget.ProgressBar.Horizontal"
- android:layout_width="0dp"
- android:layout_height="2dp"
- android:progress="0"
- android:progressDrawable="@drawable/progressbar" />
- <FrameLayout
- android:id="@+id/videoFullScreen"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <TextView
- android:id="@+id/tvPrint"
- android:layout_width="match_parent"
- android:layout_height="40dp"
- android:layout_alignParentBottom="true"
- android:background="#0183FA"
- android:gravity="center"
- android:visibility="gone"
- android:text="打印二维码"
- android:textColor="@color/white" />
- </RelativeLayout>
|