setting_custom_menu3.xml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  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_marginBottom="1dp"
  9. android:orientation="vertical"
  10. >
  11. <android.support.constraint.ConstraintLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content">
  14. <ImageView
  15. android:id="@+id/image_view_setting_menu_icon"
  16. android:layout_width="wrap_content"
  17. android:layout_height="wrap_content"
  18. app:layout_constraintBottom_toBottomOf="parent"
  19. app:layout_constraintStart_toStartOf="parent"
  20. app:layout_constraintTop_toTopOf="parent"
  21. app:srcCompat="@drawable/icon_location2"/>
  22. <TextView
  23. android:id="@+id/text_view_setting_menu_text"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_marginStart="8dp"
  27. android:text="@string/setting_menu3"
  28. app:layout_constraintBottom_toBottomOf="parent"
  29. app:layout_constraintStart_toEndOf="@+id/image_view_setting_menu_icon"
  30. app:layout_constraintTop_toTopOf="parent"/>
  31. <ImageView
  32. android:id="@+id/image_view_setting_menu_accordion"
  33. android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:layout_marginTop="31dp"
  36. android:layout_marginBottom="31dp"
  37. app:layout_constraintBottom_toBottomOf="parent"
  38. app:layout_constraintEnd_toEndOf="parent"
  39. app:layout_constraintTop_toTopOf="parent"
  40. app:srcCompat="@drawable/icon_arcordion_open_arrow"/>
  41. </android.support.constraint.ConstraintLayout>
  42. <com.github.aakira.expandablelayout.ExpandableRelativeLayout
  43. android:id="@+id/layout_push_location_setting"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:orientation="vertical"
  47. app:ael_expanded="false"
  48. >
  49. <RelativeLayout
  50. android:layout_width="match_parent"
  51. android:layout_height="wrap_content">
  52. <TextView
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:lineSpacingExtra="4sp"
  56. android:text="PUSH 수신 설정"
  57. android:textColor="@color/C999999"
  58. android:textSize="12sp"/>
  59. <Switch
  60. android:layout_width="wrap_content"
  61. android:layout_height="wrap_content"
  62. android:layout_alignParentEnd="true"/>
  63. </RelativeLayout>
  64. <RelativeLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_alignParentStart="true"
  68. android:layout_marginTop="45dp">
  69. <TextView
  70. android:layout_width="wrap_content"
  71. android:layout_height="wrap_content"
  72. android:layout_alignParentStart="true"
  73. android:layout_alignParentTop="true"
  74. android:lineSpacingExtra="4sp"
  75. android:text="PUSH 마케팅 수신 설정"
  76. android:textColor="@color/C999999"
  77. android:textSize="12sp"/>
  78. <Switch
  79. android:layout_width="wrap_content"
  80. android:layout_height="wrap_content"
  81. android:layout_alignParentEnd="true"
  82. />
  83. </RelativeLayout>
  84. <RelativeLayout
  85. android:layout_width="match_parent"
  86. android:layout_height="wrap_content"
  87. android:layout_marginTop="85dp"
  88. android:layout_marginBottom="28dp"
  89. >
  90. <TextView
  91. android:layout_width="wrap_content"
  92. android:layout_height="wrap_content"
  93. android:layout_alignParentStart="true"
  94. android:layout_alignParentTop="true"
  95. android:lineSpacingExtra="4sp"
  96. android:text="위치기반서비스 이용 설정"
  97. android:textColor="@color/C999999"
  98. android:textSize="12sp"/>
  99. <Switch
  100. android:id="@+id/switch1"
  101. android:layout_width="wrap_content"
  102. android:layout_height="wrap_content"
  103. android:layout_alignParentEnd="true"/>
  104. </RelativeLayout>
  105. </com.github.aakira.expandablelayout.ExpandableRelativeLayout>
  106. </LinearLayout>