jmad_ad_view.xml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:gravity="center"
  7. android:orientation="vertical" >
  8. <FrameLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="match_parent">
  11. <WebView
  12. android:id="@+id/webview"
  13. android:layout_width="match_parent"
  14. android:layout_height="match_parent" />
  15. <RelativeLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="match_parent">
  18. <Button
  19. android:id="@+id/close_btn"
  20. android:layout_width="28dp"
  21. android:layout_height="28dp"
  22. android:background="@drawable/jmad_close"
  23. android:scaleType="fitXY"
  24. android:layout_alignParentRight="true"
  25. android:layout_marginRight="20dp"
  26. android:layout_marginTop="20dp"
  27. android:shadowColor="@color/jmfont_black"
  28. android:shadowDx="2"
  29. android:shadowDy="2"
  30. android:shadowRadius="2"
  31. android:visibility="gone"/>
  32. </RelativeLayout>
  33. </FrameLayout>
  34. </LinearLayout>