gift_pop_item.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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/layw410"
  6. android:layout_height="@dimen/layw56"
  7. android:layout_gravity="center"
  8. android:baselineAligned="false">
  9. <ImageView
  10. android:contentDescription="@string/app_name"
  11. android:layout_width="@dimen/layw410"
  12. android:layout_height="@dimen/layw56"
  13. android:src="@drawable/shop_list_item_bg"
  14. android:scaleType="fitXY"
  15. />
  16. <LinearLayout
  17. android:layout_width="wrap_content"
  18. android:layout_height="@dimen/layw56"
  19. android:layout_marginLeft="@dimen/layw15"
  20. android:orientation="horizontal"
  21. android:gravity="center">
  22. <TextView
  23. android:id="@+id/gift_name"
  24. android:layout_width="@dimen/layw100"
  25. android:layout_height="wrap_content"
  26. android:textColor="#ffffff"
  27. android:textSize="@dimen/layw14"
  28. android:gravity="left|center"/>
  29. <TextView
  30. android:id="@+id/gift_desc"
  31. android:layout_width="@dimen/layw150"
  32. android:layout_height="wrap_content"
  33. android:layout_marginLeft="@dimen/layw15"
  34. android:textColor="#ffffff"
  35. android:textSize="@dimen/layw12"
  36. android:gravity="left|center"/>
  37. </LinearLayout>
  38. <Button
  39. android:id="@+id/gift_alipay"
  40. android:contentDescription="@string/app_name"
  41. android:layout_width="@dimen/layw100"
  42. android:layout_height="@dimen/layw35"
  43. android:layout_marginTop="@dimen/layw9"
  44. android:layout_marginLeft="@dimen/layw295"
  45. android:gravity="center"
  46. android:background="@drawable/common_btn"
  47. android:text="领取"
  48. style="@style/shop_text_style"/>
  49. </RelativeLayout>