fragment_adapter_child.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:background="@color/white"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content">
  10. <ImageView
  11. android:id="@+id/iv_fragment_adapter_child_item"
  12. android:layout_width="@dimen/space_45"
  13. android:layout_height="@dimen/space_45"
  14. android:layout_centerVertical="true"
  15. android:layout_marginBottom="@dimen/space_10"
  16. android:layout_marginLeft="@dimen/space_25"
  17. android:layout_marginRight="@dimen/space_10"
  18. android:layout_marginTop="@dimen/space_10"
  19. android:src="@mipmap/user_img_p" />
  20. <TextView
  21. android:id="@+id/tv_fragment_adapter_name_phone"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_centerVertical="true"
  25. android:layout_toRightOf="@id/iv_fragment_adapter_child_item"
  26. android:text="@string/setting_name_phone"
  27. android:textColor="@color/listitem_gray"
  28. android:textSize="@dimen/text_size_16" />
  29. </RelativeLayout>
  30. <View
  31. android:layout_width="match_parent"
  32. android:layout_height="@dimen/space_1"
  33. android:layout_marginLeft="@dimen/space_25"
  34. android:background="@color/listitem_gray" />
  35. </LinearLayout>