card_myanimelist_personal.xml 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content">
  7. <RelativeLayout
  8. android:id="@+id/myanimelist_title_layout"
  9. android:layout_width="match_parent"
  10. android:layout_height="?android:listPreferredItemHeightSmall"
  11. android:paddingLeft="?android:listPreferredItemPaddingLeft"
  12. android:paddingRight="?android:listPreferredItemPaddingRight"
  13. android:background="?attr/selectableItemBackground"
  14. android:clickable="true">
  15. <TextView
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. android:layout_centerVertical="true"
  19. android:text="Title"/>
  20. <TextView
  21. android:id="@+id/myanimelist_title"
  22. android:layout_width="wrap_content"
  23. android:layout_height="wrap_content"
  24. android:layout_centerVertical="true"
  25. android:layout_alignParentRight="true"
  26. android:text="Edit..."/>
  27. </RelativeLayout>
  28. <View
  29. android:id="@+id/divider1"
  30. android:layout_width="fill_parent"
  31. android:layout_height="1dp"
  32. android:layout_below="@id/myanimelist_title_layout"
  33. android:background="@color/list_choice_pressed_bg_light" />
  34. <RelativeLayout
  35. android:id="@+id/myanimelist_status_layout"
  36. android:layout_width="match_parent"
  37. android:layout_height="?android:listPreferredItemHeightSmall"
  38. android:layout_below="@id/divider1"
  39. android:paddingLeft="?android:listPreferredItemPaddingLeft"
  40. android:paddingRight="?android:listPreferredItemPaddingRight"
  41. android:background="?attr/selectableItemBackground"
  42. android:clickable="true">
  43. <TextView
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_centerVertical="true"
  47. android:text="@string/status"/>
  48. <TextView
  49. android:id="@+id/myanimelist_status"
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:layout_centerVertical="true"
  53. android:layout_alignParentRight="true"
  54. tools:text="Reading"/>
  55. </RelativeLayout>
  56. <View
  57. android:id="@+id/divider2"
  58. android:layout_width="fill_parent"
  59. android:layout_height="1dp"
  60. android:layout_below="@id/myanimelist_status_layout"
  61. android:background="@color/list_choice_pressed_bg_light" />
  62. <RelativeLayout
  63. android:id="@+id/myanimelist_chapters_layout"
  64. android:layout_width="match_parent"
  65. android:layout_height="?android:listPreferredItemHeightSmall"
  66. android:layout_below="@id/divider2"
  67. android:paddingLeft="?android:listPreferredItemPaddingLeft"
  68. android:paddingRight="?android:listPreferredItemPaddingRight"
  69. android:background="?attr/selectableItemBackground"
  70. android:clickable="true">
  71. <TextView
  72. android:layout_width="wrap_content"
  73. android:layout_height="wrap_content"
  74. android:layout_centerVertical="true"
  75. android:text="Chapters"/>
  76. <TextView
  77. android:id="@+id/myanimelist_chapters"
  78. android:layout_width="wrap_content"
  79. android:layout_height="wrap_content"
  80. android:layout_centerVertical="true"
  81. android:layout_alignParentRight="true"
  82. tools:text="12/24"/>
  83. </RelativeLayout>
  84. <View
  85. android:id="@+id/divider3"
  86. android:layout_width="fill_parent"
  87. android:layout_height="1dp"
  88. android:layout_below="@id/myanimelist_chapters_layout"
  89. android:background="@color/list_choice_pressed_bg_light" />
  90. <RelativeLayout
  91. android:id="@+id/myanimelist_score_layout"
  92. android:layout_width="match_parent"
  93. android:layout_height="?android:listPreferredItemHeightSmall"
  94. android:layout_below="@id/divider3"
  95. android:paddingLeft="?android:listPreferredItemPaddingLeft"
  96. android:paddingRight="?android:listPreferredItemPaddingRight"
  97. android:background="?attr/selectableItemBackground"
  98. android:clickable="true">
  99. <TextView
  100. android:layout_width="wrap_content"
  101. android:layout_height="wrap_content"
  102. android:layout_centerVertical="true"
  103. android:text="@string/score"/>
  104. <TextView
  105. android:id="@+id/myanimelist_score"
  106. android:layout_width="wrap_content"
  107. android:layout_height="wrap_content"
  108. android:layout_centerVertical="true"
  109. android:layout_alignParentRight="true"
  110. tools:text="10"/>
  111. </RelativeLayout>
  112. </RelativeLayout>