plot_list_item.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:id="@+id/color_view"
  18. android:layout_weight="4"
  19. />
  20. <TextView
  21. android:layout_width="fill_parent"
  22. android:layout_height="match_parent"
  23. android:textAppearance="?android:attr/textAppearanceMedium"
  24. android:id="@+id/title_text_view"
  25. android:layout_weight="3"
  26. android:paddingLeft="5dp"
  27. android:paddingRight="5dp"
  28. android:textColor="#000000" />
  29. <TextView
  30. android:layout_width="fill_parent"
  31. android:layout_height="match_parent"
  32. android:textAppearance="?android:attr/textAppearanceMedium"
  33. android:id="@+id/value_text_view"
  34. android:textAlignment="textEnd"
  35. android:gravity="right"
  36. android:layout_weight="3"
  37. android:textColor="#000000" />
  38. </LinearLayout>
  39. </LinearLayout>