jmgiftinfo_red.xml 2.0 KB

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