bdp_paycenter_view_voucher_item.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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="wrap_content"
  5. android:background="#f5f5f5"
  6. android:minHeight="56dp" >
  7. <LinearLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="56dp"
  10. android:layout_centerVertical="true"
  11. android:gravity="center_vertical"
  12. android:orientation="horizontal" >
  13. <CheckBox
  14. android:id="@+id/bdp_voucher_check"
  15. android:layout_width="20dp"
  16. android:layout_height="20dp"
  17. android:layout_marginLeft="20dp"
  18. android:background="@drawable/bdp_paycenter_checkbox"
  19. android:button="@null"
  20. android:clickable="false"
  21. android:focusable="false" />
  22. <LinearLayout
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_marginLeft="22dp"
  26. android:layout_gravity="center_vertical"
  27. android:orientation="vertical" >
  28. <TextView
  29. android:id="@+id/bdp_pay_voucher_name"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:textColor="#333333"
  33. android:layout_gravity="center_vertical"
  34. android:textSize="@dimen/bdp_paycenter_text_size_14_sp" />
  35. <TextView
  36. android:id="@+id/bdp_pay_voucher_expire"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:layout_marginTop="4dp"
  40. android:textColor="@color/bdp_color_999999"
  41. android:textSize="11sp" />
  42. </LinearLayout>
  43. </LinearLayout>
  44. </RelativeLayout>