action_bar.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. xmlns:tools="http://schemas.android.com/tools"
  6. android:layout_width="match_parent"
  7. android:layout_height="@dimen/action_bar_height"
  8. android:background="@null">
  9. <android.support.constraint.ConstraintLayout
  10. android:id="@+id/layout_background"
  11. android:layout_width="match_parent"
  12. android:layout_height="@dimen/action_bar_height"
  13. tools:background="@color/C999999"
  14. >
  15. <android.support.constraint.Guideline
  16. android:id="@+id/guide_start"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:orientation="vertical"
  20. app:layout_constraintGuide_begin="7dp"/>
  21. <ImageView
  22. android:id="@+id/image_view_back"
  23. android:layout_width="36dp"
  24. android:layout_height="36dp"
  25. android:background="?android:attr/selectableItemBackground"
  26. android:padding="9dp"
  27. app:layout_constraintBottom_toBottomOf="parent"
  28. app:layout_constraintStart_toStartOf="@id/guide_start"
  29. app:layout_constraintTop_toTopOf="parent"
  30. app:srcCompat="@drawable/icon_header_back"/>
  31. <ImageView
  32. android:id="@+id/image_view_home"
  33. android:layout_width="36dp"
  34. android:layout_height="36dp"
  35. android:background="?android:attr/selectableItemBackground"
  36. android:padding="9dp"
  37. app:layout_constraintBottom_toBottomOf="parent"
  38. app:layout_constraintStart_toEndOf="@id/image_view_back"
  39. app:layout_constraintTop_toTopOf="parent"
  40. app:srcCompat="@drawable/ic_icon_header_home"/>
  41. <ImageView
  42. android:id="@+id/image_view_notification"
  43. android:layout_width="36dp"
  44. android:layout_height="36dp"
  45. android:background="?android:attr/selectableItemBackground"
  46. android:padding="7dp"
  47. android:scaleType="centerCrop"
  48. app:layout_constraintBottom_toBottomOf="parent"
  49. app:layout_constraintStart_toEndOf="@+id/image_view_home"
  50. app:layout_constraintTop_toTopOf="parent"
  51. app:srcCompat="@drawable/icon_header_notice"/>
  52. <ImageView
  53. android:id="@+id/image_view_setting"
  54. android:layout_width="36dp"
  55. android:layout_height="36dp"
  56. android:background="?android:attr/selectableItemBackground"
  57. android:padding="9dp"
  58. app:layout_constraintBottom_toBottomOf="parent"
  59. app:layout_constraintStart_toEndOf="@+id/image_view_notification"
  60. app:layout_constraintTop_toTopOf="parent"
  61. app:srcCompat="@drawable/ic_icon_header_setting"/>
  62. <android.support.constraint.Guideline
  63. android:id="@+id/guide_start2"
  64. android:layout_width="wrap_content"
  65. android:layout_height="wrap_content"
  66. android:orientation="vertical"
  67. app:layout_constraintGuide_begin="24dp"/>
  68. <ImageView
  69. android:id="@+id/image_bi"
  70. android:layout_width="61dp"
  71. android:layout_height="39dp"
  72. android:background="?android:attr/selectableItemBackground"
  73. android:padding="9dp"
  74. android:scaleType="center"
  75. app:layout_constraintBottom_toBottomOf="parent"
  76. app:layout_constraintStart_toStartOf="@id/guide_start2"
  77. app:layout_constraintTop_toTopOf="parent"
  78. app:srcCompat="@drawable/bi_header_black"/>
  79. <LinearLayout
  80. android:id="@+id/layout_title_hit_area"
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_marginStart="50dp"
  84. android:layout_marginEnd="50dp"
  85. android:background="?android:attr/selectableItemBackground"
  86. android:orientation="horizontal"
  87. android:paddingStart="9dp"
  88. android:paddingEnd="7dp"
  89. app:layout_constraintBottom_toBottomOf="parent"
  90. app:layout_constraintEnd_toEndOf="parent"
  91. app:layout_constraintStart_toStartOf="parent"
  92. app:layout_constraintTop_toTopOf="parent">
  93. <TextView
  94. android:id="@+id/action_bar_title"
  95. android:layout_width="wrap_content"
  96. android:layout_height="wrap_content"
  97. android:clickable="false"
  98. android:gravity="center"
  99. android:maxLines="1"
  100. android:paddingTop="7dp"
  101. android:paddingBottom="7dp"
  102. android:textColor="@color/C000000"
  103. android:textSize="16dp"
  104. app:layout_constrainedWidth="true"
  105. app:layout_constraintBottom_toBottomOf="parent"
  106. app:layout_constraintEnd_toStartOf="@+id/image_view_open_arrow"
  107. app:layout_constraintHorizontal_chainStyle="packed"
  108. app:layout_constraintStart_toStartOf="parent"
  109. app:layout_constraintTop_toTopOf="parent"
  110. app:layout_goneMarginEnd="50dp"
  111. tools:text="VVVVVVVVVVVVVVVVVVV"/>
  112. <!-- 타이틀 옆에 아이콘 자리 -->
  113. <ImageView
  114. android:id="@+id/image_view_open_arrow"
  115. android:layout_width="wrap_content"
  116. android:layout_height="wrap_content"
  117. android:clickable="false"
  118. android:paddingStart="3dp"
  119. android:paddingTop="13dp"
  120. android:paddingBottom="8dp"
  121. app:layout_constraintBottom_toBottomOf="parent"
  122. app:layout_constraintEnd_toEndOf="parent"
  123. app:layout_constraintStart_toEndOf="@+id/action_bar_title"
  124. app:layout_constraintTop_toTopOf="parent"
  125. app:srcCompat="@drawable/icon_h_down"
  126. tools:visibility="visible"/>
  127. </LinearLayout>
  128. <TextView
  129. android:id="@+id/text_sub"
  130. android:layout_width="wrap_content"
  131. android:layout_height="wrap_content"
  132. android:background="?android:attr/selectableItemBackground"
  133. android:gravity="end"
  134. android:padding="9dp"
  135. android:textColor="#666666"
  136. android:textSize="12dp"
  137. app:layout_constraintBottom_toBottomOf="parent"
  138. app:layout_constraintEnd_toStartOf="@+id/image_view_search"
  139. app:layout_constraintTop_toTopOf="parent"
  140. tools:text="회원확인"
  141. />
  142. <android.support.constraint.Guideline
  143. android:id="@+id/guide_end2"
  144. android:layout_width="wrap_content"
  145. android:layout_height="wrap_content"
  146. android:orientation="vertical"
  147. app:layout_constraintGuide_end="36.5dp"/>
  148. <ImageView
  149. android:id="@+id/image_view_search"
  150. android:layout_width="36dp"
  151. android:layout_height="36dp"
  152. android:background="?android:attr/selectableItemBackground"
  153. android:padding="9dp"
  154. app:layout_constraintBottom_toBottomOf="parent"
  155. app:layout_constraintEnd_toStartOf="@+id/image_view_close"
  156. app:layout_constraintTop_toTopOf="parent"
  157. app:srcCompat="@drawable/ic_icon_header_search"/>
  158. <ImageView
  159. android:id="@+id/image_view_close"
  160. android:layout_width="36dp"
  161. android:layout_height="36dp"
  162. android:background="?android:attr/selectableItemBackground"
  163. android:padding="9dp"
  164. app:layout_constraintBottom_toBottomOf="parent"
  165. app:layout_constraintEnd_toStartOf="@+id/image_view_menu"
  166. app:layout_constraintTop_toTopOf="parent"
  167. app:srcCompat="@drawable/ic_icon_header_close"/>
  168. <ImageView
  169. android:id="@+id/image_view_menu"
  170. android:layout_width="36dp"
  171. android:layout_height="36dp"
  172. android:background="?android:attr/selectableItemBackground"
  173. android:padding="9dp"
  174. app:layout_constraintBottom_toBottomOf="parent"
  175. app:layout_constraintEnd_toStartOf="@+id/image_view_share"
  176. app:layout_constraintTop_toTopOf="parent"
  177. app:srcCompat="@drawable/ic_icon_header_menu"/>
  178. <ImageView
  179. android:id="@+id/image_view_share"
  180. android:layout_width="36dp"
  181. android:layout_height="36dp"
  182. android:background="?android:attr/selectableItemBackground"
  183. android:padding="9dp"
  184. android:scaleType="center"
  185. app:layout_constraintBottom_toBottomOf="parent"
  186. app:layout_constraintEnd_toStartOf="@+id/image_view_like"
  187. app:layout_constraintTop_toTopOf="parent"
  188. app:srcCompat="@drawable/icon_header_share_wh"
  189. />
  190. <ImageView
  191. android:id="@+id/image_view_like"
  192. android:layout_width="36dp"
  193. android:layout_height="36dp"
  194. android:background="?android:attr/selectableItemBackground"
  195. android:padding="7dp"
  196. android:scaleType="centerCrop"
  197. app:layout_constraintBottom_toBottomOf="parent"
  198. app:layout_constraintEnd_toStartOf="@+id/image_view_bookmark"
  199. app:layout_constraintTop_toTopOf="parent"
  200. app:srcCompat="@drawable/icon_header_like_wh_off"
  201. />
  202. <ImageView
  203. android:id="@+id/image_view_bookmark"
  204. android:layout_width="36dp"
  205. android:layout_height="36dp"
  206. android:background="?android:attr/selectableItemBackground"
  207. android:padding="7dp"
  208. android:scaleType="centerCrop"
  209. app:layout_constraintBottom_toBottomOf="parent"
  210. app:layout_constraintEnd_toStartOf="@+id/image_view_confirm"
  211. app:layout_constraintTop_toTopOf="parent"
  212. app:srcCompat="@drawable/icon_header_bookmark_wh_off"
  213. />
  214. <ImageView
  215. android:id="@+id/image_view_confirm"
  216. android:layout_width="36dp"
  217. android:layout_height="36dp"
  218. android:background="?android:attr/selectableItemBackground"
  219. android:padding="7.5dp"
  220. android:scaleType="centerCrop"
  221. app:layout_constraintBottom_toBottomOf="parent"
  222. app:layout_constraintEnd_toStartOf="@+id/image_view_edit"
  223. app:layout_constraintTop_toTopOf="parent"
  224. app:srcCompat="@drawable/ic_icon_bucket_complete_default"
  225. />
  226. <ImageView
  227. android:id="@+id/image_view_edit"
  228. android:layout_width="36dp"
  229. android:layout_height="36dp"
  230. android:background="?android:attr/selectableItemBackground"
  231. android:padding="9dp"
  232. android:scaleType="center"
  233. app:layout_constraintBottom_toBottomOf="parent"
  234. app:layout_constraintEnd_toStartOf="@+id/image_view_trash"
  235. app:layout_constraintTop_toTopOf="parent"
  236. app:srcCompat="@drawable/icon_edit_copy"
  237. />
  238. <ImageView
  239. android:id="@+id/image_view_trash"
  240. android:layout_width="36dp"
  241. android:layout_height="36dp"
  242. android:background="?android:attr/selectableItemBackground"
  243. android:padding="9dp"
  244. android:scaleType="center"
  245. app:layout_constraintBottom_toBottomOf="parent"
  246. app:layout_constraintEnd_toStartOf="@+id/image_view_dotdotdot"
  247. app:layout_constraintTop_toTopOf="parent"
  248. app:srcCompat="@drawable/icon_delete_bucket"
  249. />
  250. <ImageView
  251. android:id="@+id/image_view_dotdotdot"
  252. android:layout_width="27dp"
  253. android:layout_height="36dp"
  254. android:background="?android:attr/selectableItemBackground"
  255. android:paddingStart="0dp"
  256. android:paddingTop="9dp"
  257. android:paddingEnd="9dp"
  258. android:paddingBottom="9dp"
  259. android:scaleType="center"
  260. app:layout_constraintBottom_toBottomOf="parent"
  261. app:layout_constraintEnd_toEndOf="@+id/guide_end"
  262. app:layout_constraintTop_toTopOf="parent"
  263. app:srcCompat="@drawable/icon_header_series_wh"
  264. />
  265. <android.support.constraint.Guideline
  266. android:id="@+id/guide_end"
  267. android:layout_width="wrap_content"
  268. android:layout_height="wrap_content"
  269. android:orientation="vertical"
  270. app:layout_constraintGuide_end="7dp"/>
  271. <View
  272. android:id="@+id/view_underline"
  273. android:layout_width="match_parent"
  274. android:layout_height="1dp"
  275. android:background="@color/CE5E5E5"
  276. app:layout_constraintBottom_toBottomOf="parent"
  277. tools:visibility="gone"/>
  278. </android.support.constraint.ConstraintLayout>
  279. </RelativeLayout>