luck_card_item.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="horizontal"
  5. android:layout_width="@dimen/layx100"
  6. android:layout_height="@dimen/layw111"
  7. android:layout_gravity="center"
  8. android:baselineAligned="false">
  9. <RelativeLayout
  10. android:orientation="horizontal"
  11. android:layout_width="@dimen/layw93"
  12. android:layout_height="@dimen/layw111"
  13. android:layout_gravity="center"
  14. android:baselineAligned="false"
  15. android:layout_centerInParent="true">
  16. <ImageView
  17. android:contentDescription="@string/app_name"
  18. android:layout_width="@dimen/layw93"
  19. android:layout_height="@dimen/layw111"
  20. android:background="@drawable/luck_parse_gird_bg"
  21. android:scaleType="fitXY"
  22. />
  23. <ImageView
  24. android:contentDescription="@string/app_name"
  25. android:layout_width="@dimen/layw93"
  26. android:layout_height="@dimen/layw102"
  27. android:background="@drawable/luck_parse_gird_light"
  28. android:scaleType="fitXY"
  29. />
  30. <ImageView
  31. android:id="@+id/parser_award"
  32. android:contentDescription="@string/app_name"
  33. android:layout_width="@dimen/layw93"
  34. android:layout_height="@dimen/layw111"
  35. android:background="@drawable/luck_parse_gird_award"
  36. android:scaleType="fitXY"
  37. />
  38. <ImageView
  39. android:contentDescription="@string/app_name"
  40. android:layout_width="@dimen/layw93"
  41. android:layout_height="@dimen/layw27"
  42. android:layout_marginTop="@dimen/layw54"
  43. android:background="@drawable/luck_parse_gird_tai"
  44. android:scaleType="fitXY"
  45. />
  46. <ImageView
  47. android:id="@+id/parser_image"
  48. android:contentDescription="@string/app_name"
  49. android:layout_width="@dimen/layw68"
  50. android:layout_height="@dimen/layw57"
  51. android:layout_marginTop="@dimen/layw10"
  52. android:layout_marginLeft="@dimen/layx16"
  53. android:scaleType="fitXY"
  54. />
  55. <TextView
  56. android:id="@+id/parser_exahange"
  57. android:layout_width="@dimen/layw45"
  58. android:layout_height="@dimen/layw14"
  59. android:layout_marginLeft="@dimen/layw12"
  60. android:layout_marginTop="@dimen/layw68"
  61. android:textColor="#ffffff"
  62. android:gravity="center"
  63. android:textSize="@dimen/layw10"
  64. android:text="10000000"/>
  65. <Button
  66. android:id="@+id/parser_alipay"
  67. android:contentDescription="@string/app_name"
  68. android:layout_width="@dimen/layw80"
  69. android:layout_height="@dimen/layw20"
  70. android:layout_marginTop="@dimen/layy84"
  71. android:layout_marginLeft="@dimen/layx6"
  72. android:gravity="center"
  73. android:background="@drawable/parse_btn"
  74. android:text="兑换"
  75. style="@style/shop_title_style"/>
  76. </RelativeLayout>
  77. </RelativeLayout>