staff_list_item.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:id="@+id/dutyperson_relative"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:orientation="vertical" >
  7. <LinearLayout
  8. android:layout_width="fill_parent"
  9. android:layout_height="55dp"
  10. android:orientation="horizontal" >
  11. <ImageView
  12. android:id="@+id/selectflag"
  13. android:layout_width="wrap_content"
  14. android:layout_height="wrap_content"
  15. android:layout_gravity="center_vertical"
  16. android:layout_marginLeft="10dp"
  17. android:background="@drawable/check" />
  18. <com.jiaju.widget.JustifyTextView
  19. android:id="@+id/tvStaffCode"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_gravity="center_vertical"
  23. android:layout_marginLeft="5dp"
  24. android:textColor="@color/white"
  25. android:textSize="@dimen/textsize_14" />
  26. <TextView
  27. android:id="@+id/tvStaffName"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_gravity="center_vertical"
  31. android:layout_marginLeft="5dp"
  32. android:textColor="@color/white"
  33. android:textSize="@dimen/textsize_14" />
  34. <Spinner
  35. android:id="@+id/workJobsSp"
  36. android:layout_width="0dp"
  37. android:layout_weight="1"
  38. android:layout_height="40dp"
  39. android:layout_marginLeft="8dp"
  40. android:layout_gravity="center_vertical"
  41. android:background="@drawable/spinner_drop_down" />
  42. </LinearLayout>
  43. <View
  44. android:layout_width="fill_parent"
  45. android:layout_height="1dp"
  46. android:background="@color/text_gray" />
  47. </LinearLayout>