action_bar.xml 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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="wrap_content"
  8. android:layout_gravity="fill_horizontal"
  9. android:background="@android:color/transparent"
  10. tools:layout_height="100dp">
  11. <android.support.constraint.ConstraintLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="@dimen/action_bar_height"
  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/button_back"
  23. android:layout_width="36dp"
  24. android:layout_height="36dp"
  25. android:paddingStart="9dp"
  26. android:paddingTop="9dp"
  27. android:paddingEnd="9dp"
  28. android:paddingBottom="9dp"
  29. app:layout_constraintBottom_toBottomOf="parent"
  30. app:layout_constraintStart_toStartOf="@id/guide_start"
  31. app:layout_constraintTop_toTopOf="parent"
  32. app:srcCompat="@drawable/icon_header_back"/>
  33. <ImageView
  34. android:id="@+id/button_home"
  35. android:layout_width="36dp"
  36. android:layout_height="36dp"
  37. android:paddingStart="9dp"
  38. android:paddingTop="9dp"
  39. android:paddingEnd="9dp"
  40. android:paddingBottom="9dp"
  41. app:layout_constraintBottom_toBottomOf="parent"
  42. app:layout_constraintStart_toStartOf="@id/guide_start"
  43. app:layout_constraintTop_toTopOf="parent"
  44. app:srcCompat="@drawable/ic_icon_header_home"/>
  45. <ImageView
  46. android:id="@+id/button_alarm"
  47. android:layout_width="36dp"
  48. android:layout_height="36dp"
  49. android:paddingStart="9dp"
  50. android:paddingTop="9dp"
  51. android:paddingEnd="9dp"
  52. android:paddingBottom="9dp"
  53. app:layout_constraintBottom_toBottomOf="parent"
  54. app:layout_constraintStart_toEndOf="@+id/button_home"
  55. app:layout_constraintTop_toTopOf="parent"
  56. app:srcCompat="@drawable/ic_icon_header_notice"/>
  57. <ImageView
  58. android:id="@+id/button_setting"
  59. android:layout_width="36dp"
  60. android:layout_height="36dp"
  61. android:paddingStart="9dp"
  62. android:paddingTop="9dp"
  63. android:paddingEnd="9dp"
  64. android:paddingBottom="9dp"
  65. app:layout_constraintBottom_toBottomOf="parent"
  66. app:layout_constraintStart_toEndOf="@+id/button_alarm"
  67. app:layout_constraintTop_toTopOf="parent"
  68. app:srcCompat="@drawable/ic_icon_header_setting"/>
  69. <android.support.constraint.Guideline
  70. android:id="@+id/guide_start2"
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content"
  73. android:orientation="vertical"
  74. app:layout_constraintGuide_begin="33dp"/>
  75. <ImageView
  76. android:id="@+id/image_bi"
  77. android:layout_width="63dp"
  78. android:layout_height="15dp"
  79. app:layout_constraintBottom_toBottomOf="parent"
  80. app:layout_constraintStart_toStartOf="@id/guide_start2"
  81. app:layout_constraintTop_toTopOf="parent"
  82. app:srcCompat="@drawable/ic_bi_header_black"/>
  83. <TextView
  84. android:id="@+id/action_bar_title"
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:gravity="center"
  88. android:textColor="@color/C000000"
  89. android:textSize="18sp"
  90. app:layout_constraintBottom_toBottomOf="parent"
  91. app:layout_constraintEnd_toEndOf="parent"
  92. app:layout_constraintStart_toStartOf="parent"
  93. app:layout_constraintTop_toTopOf="parent"
  94. tools:text="VVV"/>
  95. <!-- 타이틀 옆에 아이콘 자리 -->
  96. <ImageView
  97. android:id="@+id/button_search"
  98. android:layout_width="36dp"
  99. android:layout_height="36dp"
  100. android:paddingStart="9dp"
  101. android:paddingTop="9dp"
  102. android:paddingEnd="9dp"
  103. android:paddingBottom="9dp"
  104. app:layout_constraintBottom_toBottomOf="parent"
  105. app:layout_constraintEnd_toStartOf="@+id/button_menu"
  106. app:layout_constraintTop_toTopOf="parent"
  107. app:srcCompat="@drawable/ic_icon_header_search"/>
  108. <TextView
  109. android:id="@+id/text_sub"
  110. android:layout_width="wrap_content"
  111. android:layout_height="wrap_content"
  112. android:paddingStart="9dp"
  113. android:paddingTop="9dp"
  114. android:paddingEnd="9dp"
  115. android:paddingBottom="9dp"
  116. android:gravity="end"
  117. android:textColor="#666666"
  118. android:textSize="12sp"
  119. app:layout_constraintBottom_toBottomOf="parent"
  120. app:layout_constraintEnd_toStartOf="@+id/guide_end2"
  121. app:layout_constraintTop_toTopOf="parent"
  122. tools:text="회원확인"
  123. />
  124. <android.support.constraint.Guideline
  125. android:id="@+id/guide_end2"
  126. android:layout_width="wrap_content"
  127. android:layout_height="wrap_content"
  128. android:orientation="vertical"
  129. app:layout_constraintGuide_end="36.5dp"/>
  130. <ImageView
  131. android:id="@+id/button_menu"
  132. android:layout_width="36dp"
  133. android:layout_height="36dp"
  134. android:paddingStart="9dp"
  135. android:paddingTop="9dp"
  136. android:paddingEnd="9dp"
  137. android:paddingBottom="9dp"
  138. app:layout_constraintBottom_toBottomOf="parent"
  139. app:layout_constraintEnd_toEndOf="@+id/guide_end"
  140. app:layout_constraintTop_toTopOf="parent"
  141. app:srcCompat="@drawable/ic_icon_header_menu"/>
  142. <ImageView
  143. android:id="@+id/button_close"
  144. android:layout_width="36dp"
  145. android:layout_height="36dp"
  146. android:paddingStart="9dp"
  147. android:paddingTop="9dp"
  148. android:paddingEnd="9dp"
  149. android:paddingBottom="9dp"
  150. app:layout_constraintBottom_toBottomOf="parent"
  151. app:layout_constraintEnd_toEndOf="@+id/guide_end"
  152. app:layout_constraintTop_toTopOf="parent"
  153. app:srcCompat="@drawable/ic_icon_header_close"/>
  154. <android.support.constraint.Guideline
  155. android:id="@+id/guide_end"
  156. android:layout_width="wrap_content"
  157. android:layout_height="wrap_content"
  158. android:orientation="vertical"
  159. app:layout_constraintGuide_end="7dp"/>
  160. </android.support.constraint.ConstraintLayout>
  161. </RelativeLayout>