tt_native_video_ad_view.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <!-- native视频广告 , 布局待扩充-->
  6. <FrameLayout
  7. android:id="@+id/tt_native_video_layout"
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:layout_gravity="center"
  11. android:visibility="gone">
  12. <FrameLayout
  13. android:id="@+id/tt_native_video_frame"
  14. android:layout_width="wrap_content"
  15. android:layout_gravity="center"
  16. android:layout_height="wrap_content" />
  17. <RelativeLayout
  18. android:id="@+id/tt_native_video_img_cover"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. android:visibility="gone">
  22. <ImageView
  23. android:id="@+id/tt_native_video_img_id"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. android:layout_centerInParent="true" />
  27. <ImageView
  28. android:id="@+id/tt_native_video_play"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_centerInParent="true"
  32. android:background="@drawable/tt_new_play_video" />
  33. </RelativeLayout>
  34. </FrameLayout>
  35. </merge>