child_lay.xml 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. >
  6. <TextView
  7. android:id="@+id/ctv"
  8. android:layout_marginLeft="15dp"
  9. android:layout_marginTop="5dp"
  10. android:layout_width="fill_parent"
  11. android:layout_centerVertical="true"
  12. android:layout_height="wrap_content"
  13. android:textSize="@dimen/textsize_18"
  14. android:textColor="@color/white"
  15. />
  16. <ImageView
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:background="@drawable/iv_right"
  20. android:layout_centerVertical="true"
  21. android:layout_alignParentRight="true"
  22. android:layout_marginRight="5dp"/>
  23. <View
  24. android:id="@+id/childDividerV"
  25. android:layout_width="fill_parent"
  26. android:layout_alignParentBottom="true"
  27. android:visibility="gone"
  28. android:layout_height="1dp"
  29. android:background="@color/text_gray" />
  30. </RelativeLayout>