jmgiftinfo.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:background="@color/jmtransparent_background">
  7. <com.jmhy.sdk.view.CornerCompatView
  8. android:id="@+id/content"
  9. android:layout_width="@dimen/jm_red_gift_width"
  10. android:layout_height="match_parent"
  11. app:jm_radius="@dimen/jm_webview_radius"
  12. android:background="@color/jmfont_white">
  13. <WebView
  14. android:id="@+id/webview"
  15. android:layout_width="match_parent"
  16. android:layout_height="match_parent"/>
  17. <com.jmhy.sdk.view.GifImageView
  18. android:id="@+id/gif"
  19. android:layout_width="240dp"
  20. android:layout_height="240dp"
  21. android:layout_gravity="center"/>
  22. </com.jmhy.sdk.view.CornerCompatView>
  23. <ImageView
  24. android:layout_toRightOf="@id/content"
  25. android:layout_centerVertical="true"
  26. android:id="@+id/iv_left_colse"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:background="@drawable/jm_float_left_back"/>
  30. <ImageView
  31. android:id="@+id/iv_right_colse"
  32. android:layout_marginRight="10dp"
  33. android:layout_width="45dp"
  34. android:layout_height="45dp"
  35. android:background="@drawable/jm_close_btn"
  36. android:layout_alignParentRight="true"
  37. android:layout_centerVertical="true"/>
  38. </LinearLayout>