fragment_adapter_group.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="wrap_content"
  4. android:layout_height="wrap_content"
  5. android:background="@color/white"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content">
  10. <ImageView
  11. android:id="@+id/iv_phone_group"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_centerVertical="true"
  15. android:layout_margin="@dimen/space_10"
  16. android:src="@mipmap/main_phone_group" />
  17. <TextView
  18. android:id="@+id/tv_phone_group_name"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_centerVertical="true"
  22. android:layout_toRightOf="@id/iv_phone_group"
  23. android:text="@string/phone_item_group"
  24. android:textColor="@color/black"
  25. android:textSize="@dimen/text_size_18" />
  26. <ImageView
  27. android:id="@+id/iv_phone_group_click"
  28. android:layout_width="wrap_content"
  29. android:layout_height="wrap_content"
  30. android:layout_alignParentRight="true"
  31. android:layout_centerVertical="true"
  32. android:layout_marginRight="@dimen/space_20"
  33. android:src="@mipmap/phone_close" />
  34. </RelativeLayout>
  35. <View
  36. android:layout_width="match_parent"
  37. android:layout_height="@dimen/space_1"
  38. android:background="@color/listitem_gray" />
  39. </LinearLayout>