intermediate_customer_multiple_item.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@drawable/bg_list_item"
  8. android:orientation="vertical" >
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:orientation="horizontal" >
  13. <CheckBox
  14. android:id="@+id/intermediateCustomerCheck"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_marginLeft="10dp"
  18. android:button="@drawable/checkbox"
  19. android:checked="false"
  20. android:focusable="false"
  21. android:layout_marginTop="5dp"
  22. android:focusableInTouchMode="false"
  23. android:layout_gravity="center_vertical" />
  24. <LinearLayout
  25. android:layout_width="0dp"
  26. android:layout_weight="1"
  27. android:layout_height="wrap_content"
  28. android:orientation="vertical" >
  29. <LinearLayout
  30. android:layout_width="fill_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_marginTop="10dp"
  33. android:orientation="horizontal" >
  34. <TextView
  35. android:layout_width="70dp"
  36. android:layout_height="wrap_content"
  37. android:layout_marginLeft="8dp"
  38. android:gravity="center"
  39. android:text="客户员工:"
  40. android:textColor="@color/black"
  41. android:textSize="@dimen/textsize_14" />
  42. <TextView
  43. android:id="@+id/customerNameTxt"
  44. android:layout_width="fill_parent"
  45. android:layout_height="wrap_content"
  46. android:layout_marginLeft="8dp"
  47. android:gravity="center_vertical"
  48. android:textColor="@color/black"
  49. android:textSize="@dimen/textsize_14" />
  50. </LinearLayout>
  51. </LinearLayout>
  52. </LinearLayout>
  53. <View
  54. android:layout_width="match_parent"
  55. android:layout_marginTop="10dp"
  56. android:layout_height="1dp"
  57. android:background="@color/EBEBEB" />
  58. </LinearLayout>