tysdkn_item_no_selection_discount.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:orientation="vertical"
  7. android:paddingBottom="3dp"
  8. android:paddingLeft="6dp"
  9. android:paddingRight="6dp"
  10. android:paddingTop="3dp">
  11. <LinearLayout
  12. android:id="@+id/tysdkn_ll_no_selection_discount"
  13. android:layout_width="match_parent"
  14. android:layout_height="30dp"
  15. android:background="@drawable/tysdkn_bg_yuanjiao_1"
  16. android:orientation="horizontal">
  17. <LinearLayout
  18. android:layout_width="0dp"
  19. android:layout_height="match_parent"
  20. android:layout_weight="1">
  21. <TextView
  22. android:id="@+id/tv_discount_desc"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_gravity="center_vertical"
  26. android:layout_marginLeft="8dp"
  27. android:text="不使用优惠券"
  28. android:textColor="#999999"
  29. android:textSize="9sp" />
  30. </LinearLayout>
  31. <CheckBox
  32. android:id="@+id/tysdkn_cb_no_selection_discount"
  33. android:layout_width="15dp"
  34. android:layout_height="15dp"
  35. android:layout_gravity="center_vertical"
  36. android:layout_marginRight="8dp"
  37. android:background="@drawable/tysdkn_discount_selector"
  38. android:button="@null"
  39. android:clickable="false"
  40. android:gravity="center"
  41. android:textColor="#ffffff"
  42. tools:checked="true" />
  43. </LinearLayout>
  44. </LinearLayout>