x7_item_purchase_history.xml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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:background="@color/x7_white"
  5. android:layout_height="wrap_content">
  6. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:background="@drawable/x7_gray_back_shap"
  10. android:layout_marginRight="5dp"
  11. android:paddingLeft="10dp"
  12. android:paddingTop="5dp"
  13. android:paddingRight="10dp"
  14. android:paddingBottom="5dp">
  15. <TextView
  16. android:id="@+id/tv_purchase_time"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:layout_alignParentTop="true"
  20. android:layout_alignParentRight="true"
  21. android:textSize="10dp"
  22. android:textColor="@color/x7_text_gray" />
  23. <TextView
  24. android:id="@+id/tv_purchase_price"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_alignParentLeft="true"
  28. android:layout_centerVertical="true"
  29. android:layout_marginTop="5dp"
  30. android:layout_toLeftOf="@+id/tv_purchase_goods"
  31. android:textSize="20dp" />
  32. <TextView
  33. android:id="@+id/tv_purchase_goods"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_below="@id/tv_purchase_time"
  37. android:layout_alignParentRight="true"
  38. android:layout_marginTop="5dp"
  39. android:textSize="10dp"
  40. android:textColor="@color/x7_text_gray" />
  41. </RelativeLayout>
  42. </RelativeLayout>