plot_list_item.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="horizontal"
  4. android:layout_width="match_parent"
  5. android:layout_height="wrap_content"
  6. android:weightSum="10">
  7. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  8. android:orientation="horizontal"
  9. android:layout_width="fill_parent"
  10. android:layout_height="fill_parent"
  11. android:weightSum="10"
  12. android:padding="4dp">
  13. <TextView
  14. android:layout_width="fill_parent"
  15. android:layout_height="match_parent"
  16. android:textAppearance="?android:attr/textAppearanceSmall"
  17. android:text=" "
  18. android:id="@+id/color_view"
  19. android:layout_weight="4"
  20. />
  21. <TextView
  22. android:layout_width="fill_parent"
  23. android:layout_height="match_parent"
  24. android:textAppearance="?android:attr/textAppearanceMedium"
  25. android:text="title"
  26. android:id="@+id/title_text_view"
  27. android:layout_weight="3"
  28. android:paddingLeft="5dp"
  29. android:paddingRight="5dp"
  30. android:textColor="#000000" />
  31. <TextView
  32. android:layout_width="fill_parent"
  33. android:layout_height="match_parent"
  34. android:textAppearance="?android:attr/textAppearanceMedium"
  35. android:text="value"
  36. android:id="@+id/value_text_view"
  37. android:textAlignment="textEnd"
  38. android:gravity="right"
  39. android:layout_weight="3"
  40. android:textColor="#000000" />
  41. </LinearLayout>
  42. </LinearLayout>