fragment_my_coin.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:tools="http://schemas.android.com/tools"
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:orientation="vertical">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:background="@color/CF8F8F8"
  13. >
  14. <RelativeLayout
  15. android:layout_width="wrap_content"
  16. android:layout_height="117dp"
  17. android:layout_marginStart="30dp"
  18. android:layout_marginTop="25dp"
  19. android:layout_marginEnd="30dp"
  20. android:layout_marginBottom="25dp"
  21. android:background="@color/CFFFFFF">
  22. <TextView
  23. android:id="@+id/text_view_coin_detail"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_marginStart="30dp"
  27. android:layout_marginTop="20dp"
  28. android:lineSpacingExtra="10sp"
  29. android:text="6,900"
  30. android:textColor="@color/C000000"
  31. android:textSize="25sp"
  32. />
  33. <ImageView
  34. android:layout_width="14dp"
  35. android:layout_height="14dp"
  36. android:layout_alignParentTop="true"
  37. android:layout_marginStart="3dp"
  38. android:layout_marginTop="31dp"
  39. android:layout_toRightOf="@+id/text_view_coin_detail"
  40. app:srcCompat="@drawable/icon_coin"/>
  41. <ImageView
  42. android:id="@+id/image_view_coin"
  43. android:layout_width="14dp"
  44. android:layout_height="14dp"
  45. android:layout_below="@+id/divider"
  46. android:layout_alignParentEnd="true"
  47. android:layout_marginTop="19dp"
  48. android:layout_marginEnd="30dp"
  49. app:srcCompat="@drawable/icon_coin"/>
  50. <View
  51. android:id="@+id/divider"
  52. android:layout_width="match_parent"
  53. android:layout_height="1dp"
  54. android:layout_alignParentStart="true"
  55. android:layout_centerVertical="true"
  56. android:layout_marginStart="30dp"
  57. android:layout_marginEnd="30dp"
  58. android:background="@color/CE5E5E5"/>
  59. <TextView
  60. android:id="@+id/text_view_extinct_coin"
  61. android:layout_width="wrap_content"
  62. android:layout_height="wrap_content"
  63. android:layout_alignStart="@+id/text_view_coin_detail"
  64. android:layout_alignParentBottom="true"
  65. android:layout_marginStart="1dp"
  66. android:layout_marginBottom="19dp"
  67. android:lineSpacingExtra="4sp"
  68. android:text="당월 소멸예정코인"
  69. android:textColor="@color/C666666"
  70. android:textSize="12sp"/>
  71. <ImageView
  72. android:id="@+id/image_view_coin_detail"
  73. android:layout_width="wrap_content"
  74. android:layout_height="wrap_content"
  75. android:layout_alignParentTop="true"
  76. android:layout_marginStart="2dp"
  77. android:layout_marginLeft="48dp"
  78. android:layout_marginTop="86dp"
  79. android:layout_toRightOf="@+id/text_view_extinct_coin"
  80. app:srcCompat="@drawable/icon_detail_arrow"/>
  81. <TextView
  82. android:layout_width="wrap_content"
  83. android:layout_height="wrap_content"
  84. android:layout_below="@+id/divider"
  85. android:layout_marginTop="15dp"
  86. android:layout_marginEnd="3dp"
  87. android:layout_toLeftOf="@+id/image_view_coin"
  88. android:lineSpacingExtra="6sp"
  89. android:text="-410"
  90. android:textColor="@color/C000000"
  91. android:textSize="16sp"/>
  92. </RelativeLayout>
  93. </LinearLayout>
  94. <RelativeLayout
  95. android:layout_width="match_parent"
  96. android:layout_height="wrap_content"
  97. android:layout_marginStart="25dp"
  98. android:layout_marginTop="33dp"
  99. android:layout_marginEnd="25dp"
  100. android:layout_marginBottom="11dp">
  101. <TextView
  102. android:layout_width="wrap_content"
  103. android:layout_height="wrap_content"
  104. android:lineSpacingExtra="4sp"
  105. android:text="조회결과 5건"
  106. android:textColor="@color/C999999"
  107. android:textSize="12sp"
  108. />
  109. <TextView
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:layout_toLeftOf="@id/text_view_mark"
  113. android:lineSpacingExtra="3.5sp"
  114. android:text="2018.05.01"
  115. android:textColor="#999999"
  116. android:textSize="12sp"
  117. />
  118. <TextView
  119. android:id="@+id/text_view_mark"
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:layout_marginStart="4dp"
  123. android:layout_marginEnd="4dp"
  124. android:layout_toLeftOf="@+id/text_view_select_date2"
  125. android:lineSpacingExtra="3.5sp"
  126. android:text="~"
  127. android:textColor="#999999"
  128. android:textSize="12sp"
  129. />
  130. <TextView
  131. android:id="@+id/text_view_select_date2"
  132. android:layout_width="wrap_content"
  133. android:layout_height="wrap_content"
  134. android:layout_marginEnd="9dp"
  135. android:layout_toLeftOf="@+id/image_view_filter"
  136. android:lineSpacingExtra="3.5sp"
  137. android:text="2018.06.05"
  138. android:textColor="#999999"
  139. android:textSize="12sp"
  140. />
  141. <ImageView
  142. android:id="@+id/image_view_filter"
  143. android:layout_width="wrap_content"
  144. android:layout_height="wrap_content"
  145. android:layout_alignParentEnd="true"
  146. app:srcCompat="@drawable/icon_filter"
  147. />
  148. </RelativeLayout>
  149. <View
  150. android:layout_width="match_parent"
  151. android:layout_height="1dp"
  152. android:layout_marginStart="25dp"
  153. android:layout_marginEnd="25dp"
  154. android:background="@color/C000000"/>
  155. <LinearLayout
  156. android:id="@+id/layout_filter_contents"
  157. android:layout_width="match_parent"
  158. android:layout_height="160dp"
  159. android:background="@color/CF8F8F8"
  160. android:orientation="vertical"
  161. android:paddingStart="25dp"
  162. android:paddingTop="30dp"
  163. android:paddingEnd="25dp"
  164. android:visibility="gone"
  165. tools:visibility="visible"
  166. >
  167. <RadioGroup
  168. android:layout_width="match_parent"
  169. android:layout_height="wrap_content"
  170. android:orientation="horizontal"
  171. android:weightSum="5">
  172. <RadioButton
  173. android:layout_width="0dp"
  174. android:layout_height="wrap_content"
  175. android:layout_weight="1"
  176. android:background="@drawable/custom_rectangle_radio_selector"
  177. android:button="@null"
  178. android:lineSpacingExtra="4sp"
  179. android:paddingTop="8dp"
  180. android:paddingBottom="8dp"
  181. android:text="@string/one_week"
  182. android:textAlignment="center"
  183. android:textColor="@drawable/my_faq_radio_text_selector"
  184. android:textSize="12sp"
  185. />
  186. <RadioButton
  187. android:layout_width="0dp"
  188. android:layout_height="wrap_content"
  189. android:layout_weight="1"
  190. android:background="@drawable/custom_rectangle_radio_selector"
  191. android:button="@null"
  192. android:lineSpacingExtra="4sp"
  193. android:paddingTop="8dp"
  194. android:paddingBottom="8dp"
  195. android:text="@string/one_month"
  196. android:textAlignment="center"
  197. android:textColor="@drawable/my_faq_radio_text_selector"
  198. android:textSize="12sp"
  199. />
  200. <RadioButton
  201. android:layout_width="0dp"
  202. android:layout_height="wrap_content"
  203. android:layout_weight="1"
  204. android:background="@drawable/custom_rectangle_radio_selector"
  205. android:button="@null"
  206. android:lineSpacingExtra="4sp"
  207. android:paddingTop="8dp"
  208. android:paddingBottom="8dp"
  209. android:text="@string/three_month"
  210. android:textAlignment="center"
  211. android:textColor="@drawable/my_faq_radio_text_selector"
  212. android:textSize="12sp"
  213. />
  214. <RadioButton
  215. android:layout_width="0dp"
  216. android:layout_height="wrap_content"
  217. android:layout_weight="1"
  218. android:background="@drawable/custom_rectangle_radio_selector"
  219. android:button="@null"
  220. android:lineSpacingExtra="4sp"
  221. android:paddingTop="8dp"
  222. android:paddingBottom="8dp"
  223. android:text="@string/six_month"
  224. android:textAlignment="center"
  225. android:textColor="@drawable/my_faq_radio_text_selector"
  226. android:textSize="12sp"
  227. />
  228. <RadioButton
  229. android:layout_width="0dp"
  230. android:layout_height="wrap_content"
  231. android:layout_weight="1"
  232. android:background="@drawable/custom_rectangle_radio_selector"
  233. android:button="@null"
  234. android:lineSpacingExtra="4sp"
  235. android:paddingTop="8dp"
  236. android:paddingBottom="8dp"
  237. android:text="@string/one_year"
  238. android:textAlignment="center"
  239. android:textColor="@drawable/my_faq_radio_text_selector"
  240. android:textSize="12sp"
  241. />
  242. </RadioGroup>
  243. <RadioGroup
  244. android:layout_width="match_parent"
  245. android:layout_height="wrap_content"
  246. android:layout_marginTop="25dp"
  247. android:orientation="horizontal">
  248. <RadioButton
  249. android:id="@+id/radio_button_user"
  250. android:layout_width="wrap_content"
  251. android:layout_height="wrap_content"
  252. android:layout_marginEnd="25dp"
  253. android:background="@null"
  254. android:button="@null"
  255. android:drawableLeft="@drawable/my_faq_radio_selector"
  256. android:drawablePadding="8dp"
  257. android:lineSpacingExtra="6sp"
  258. android:text="@string/all"
  259. android:textColor="@drawable/my_faq_radio_text_selector"
  260. android:textSize="14sp"
  261. />
  262. <RadioButton
  263. android:id="@+id/radio_button_coupon"
  264. android:layout_width="wrap_content"
  265. android:layout_height="wrap_content"
  266. android:layout_marginEnd="25dp"
  267. android:background="@null"
  268. android:button="@null"
  269. android:drawableLeft="@drawable/my_faq_radio_selector"
  270. android:drawablePadding="8dp"
  271. android:lineSpacingExtra="6sp"
  272. android:text="@string/saving"
  273. android:textColor="@drawable/my_faq_radio_text_selector"
  274. android:textSize="14sp"
  275. />
  276. <RadioButton
  277. android:id="@+id/radio_benefit"
  278. android:layout_width="wrap_content"
  279. android:layout_height="wrap_content"
  280. android:layout_marginEnd="25dp"
  281. android:background="@null"
  282. android:button="@null"
  283. android:drawableLeft="@drawable/my_faq_radio_selector"
  284. android:drawablePadding="8dp"
  285. android:lineSpacingExtra="6sp"
  286. android:text="@string/use"
  287. android:textColor="@drawable/my_faq_radio_text_selector"
  288. android:textSize="14sp"
  289. />
  290. </RadioGroup>
  291. <LinearLayout
  292. android:layout_width="match_parent"
  293. android:layout_height="wrap_content"
  294. android:layout_marginTop="19dp"
  295. android:orientation="vertical">
  296. <LinearLayout
  297. android:layout_width="match_parent"
  298. android:layout_height="wrap_content"
  299. android:orientation="horizontal"
  300. >
  301. <ImageView
  302. android:layout_width="2dp"
  303. android:layout_height="2dp"
  304. android:layout_gravity="center"
  305. android:layout_marginRight="5dp"
  306. android:src="@drawable/rectangle"
  307. />
  308. <TextView
  309. android:layout_width="wrap_content"
  310. android:layout_height="wrap_content"
  311. android:lineSpacingExtra="4sp"
  312. android:text="@string/select_coin_possible_message"
  313. android:textColor="#999999"
  314. android:textSize="12sp"
  315. />
  316. </LinearLayout>
  317. </LinearLayout>
  318. </LinearLayout>
  319. <android.support.v7.widget.RecyclerView
  320. android:id="@+id/recycler_view_coin_list"
  321. android:layout_width="match_parent"
  322. android:layout_height="wrap_content"
  323. android:layout_marginStart="25dp"
  324. android:layout_marginEnd="25dp"/>
  325. </LinearLayout>