tysdkn_item_get_gift_new.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:paddingBottom="4dp"
  6. android:paddingLeft="6dp"
  7. android:paddingRight="6dp"
  8. android:paddingTop="4dp">
  9. <TextView
  10. android:layout_width="68dp"
  11. android:layout_height="24dp"
  12. android:text="充值礼包"
  13. android:textSize="13sp"
  14. android:textColor="#FFFFFF"
  15. />
  16. <LinearLayout
  17. android:id="@+id/tysdkn_ll_gift_info"
  18. android:layout_width="match_parent"
  19. android:layout_height="95dp"
  20. android:background="@drawable/tysdkn_bg_gift_center"
  21. android:orientation="vertical">
  22. <LinearLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="0dp"
  25. android:layout_weight="1"
  26. android:orientation="vertical">
  27. <TextView
  28. android:id="@+id/tysdkn_tv_gift_name"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:layout_gravity="center_horizontal"
  32. android:layout_marginTop="10dp"
  33. android:text="礼包名称"
  34. android:textColor="#FF5069"
  35. android:textSize="14sp"
  36. android:singleLine="true"
  37. />
  38. <TextView
  39. android:id="@+id/tysdkn_tv_gift_desc"
  40. android:layout_width="wrap_content"
  41. android:layout_height="wrap_content"
  42. android:layout_marginLeft="16dp"
  43. android:layout_marginRight="16dp"
  44. android:layout_marginTop="7dp"
  45. android:ellipsize="end"
  46. android:lines="1"
  47. android:text="礼包描述"
  48. android:textColor="#ffffff"
  49. android:textSize="10sp" />
  50. </LinearLayout>
  51. <Button
  52. android:id="@+id/tysdkn_bt_gift_center"
  53. android:layout_width="match_parent"
  54. android:layout_height="25dp"
  55. android:layout_marginBottom="8dp"
  56. android:layout_marginLeft="16dp"
  57. android:layout_marginRight="16dp"
  58. android:background="@drawable/tysdkn_button_yuanjiao_selector"
  59. android:text="领取"
  60. android:textColor="#ffffff"
  61. android:textSize="14sp" />
  62. </LinearLayout>
  63. </RelativeLayout>