com_tencent_ysdk_icon_sample.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/com_tencent_ysdk_icon_h5_layout"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@android:color/transparent"
  7. android:focusable="true"
  8. android:focusableInTouchMode="true"
  9. android:gravity="center">
  10. <RelativeLayout
  11. android:id="@+id/com_tencent_ysdk_icon_h5_container"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:background="@android:color/transparent"
  15. android:gravity="center">
  16. <com.tencent.smtt.sdk.WebView
  17. android:id="@+id/com_tencent_ysdk_icon_webView"
  18. android:layout_width="match_parent"
  19. android:layout_height="match_parent" />
  20. <com.tencent.ysdk.framework.web.browser.ErrorPageView
  21. android:id="@+id/com_tencent_ysdk_icon_errorpage"
  22. android:layout_width="match_parent"
  23. android:layout_height="match_parent"
  24. android:gravity="center"
  25. android:visibility="gone" />
  26. <Button
  27. android:id="@+id/com_tencent_ysdk_icon_h5_xx"
  28. android:layout_width="36dp"
  29. android:layout_height="36dp"
  30. android:layout_alignRight="@id/com_tencent_ysdk_icon_webView"
  31. android:layout_alignTop="@id/com_tencent_ysdk_icon_webView"
  32. android:background="@drawable/com_tencent_ysdk_icon_h5_xx" />
  33. </RelativeLayout>
  34. </RelativeLayout><!-- From: file:/data1/rdm/projects/18500/ysdk/src/main/res/layout/com_tencent_ysdk_icon_sample.xml -->