Showing
29 changed files
with
401 additions
and
214 deletions
... | @@ -31,6 +31,7 @@ | ... | @@ -31,6 +31,7 @@ |
31 | <activity android:name=".InputProfilFirstThreeActivity" /> | 31 | <activity android:name=".InputProfilFirstThreeActivity" /> |
32 | <activity android:name=".InputProfilFirstTwoActivity" /> | 32 | <activity android:name=".InputProfilFirstTwoActivity" /> |
33 | <activity android:name=".InputProfilFirstOneActivity" /> | 33 | <activity android:name=".InputProfilFirstOneActivity" /> |
34 | + <activity android:name=".AccountSettingActivity"/> | ||
34 | <activity android:name=".PrivacyPolicyActivity"/> | 35 | <activity android:name=".PrivacyPolicyActivity"/> |
35 | <activity android:name=".TermsOfUserActivity"/> | 36 | <activity android:name=".TermsOfUserActivity"/> |
36 | <activity android:name=".NoticeActivity"/> | 37 | <activity android:name=".NoticeActivity"/> | ... | ... |
1 | +package com.example.vip | ||
2 | + | ||
3 | +import android.os.Bundle | ||
4 | +import androidx.appcompat.app.AppCompatActivity | ||
5 | + | ||
6 | +class AccountSettingActivity : AppCompatActivity() { | ||
7 | + override fun onCreate(savedInstanceState: Bundle?) { | ||
8 | + super.onCreate(savedInstanceState) | ||
9 | + setContentView(R.layout.activity_account_settings) | ||
10 | + } | ||
11 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -77,7 +77,7 @@ class DetailActivity : AppCompatActivity() { | ... | @@ -77,7 +77,7 @@ class DetailActivity : AppCompatActivity() { |
77 | detailDday.text=memo!!.Date | 77 | detailDday.text=memo!!.Date |
78 | detailTitle.text=memo!!.Policy | 78 | detailTitle.text=memo!!.Policy |
79 | detailScore.rating=4.toFloat() | 79 | detailScore.rating=4.toFloat() |
80 | - detailFavor.text="0" | 80 | + detailFavor.text=" [실행 부처]" |
81 | 81 | ||
82 | val web : WebView = findViewById(R.id.policy_context) | 82 | val web : WebView = findViewById(R.id.policy_context) |
83 | val summary : String = memo!!.Content | 83 | val summary : String = memo!!.Content | ... | ... |
... | @@ -66,10 +66,12 @@ class SearchActivity : AppCompatActivity() { | ... | @@ -66,10 +66,12 @@ class SearchActivity : AppCompatActivity() { |
66 | } | 66 | } |
67 | override fun onDataChange(dataSnapshot: DataSnapshot) { | 67 | override fun onDataChange(dataSnapshot: DataSnapshot) { |
68 | if (dataSnapshot.exists() == false){ // 값 없을 때 | 68 | if (dataSnapshot.exists() == false){ // 값 없을 때 |
69 | + policy_scroll_view.setVisibility(View.GONE) | ||
69 | no_search.setVisibility(View.VISIBLE) | 70 | no_search.setVisibility(View.VISIBLE) |
70 | } | 71 | } |
71 | else { | 72 | else { |
72 | no_search.setVisibility(View.GONE) | 73 | no_search.setVisibility(View.GONE) |
74 | + policy_scroll_view.setVisibility(View.VISIBLE) | ||
73 | } | 75 | } |
74 | 76 | ||
75 | for (memoSnapshot in dataSnapshot.children){ | 77 | for (memoSnapshot in dataSnapshot.children){ | ... | ... |
... | @@ -11,6 +11,10 @@ class SettingsInForm : AppCompatActivity() { | ... | @@ -11,6 +11,10 @@ class SettingsInForm : AppCompatActivity() { |
11 | super.onCreate(savedInstanceState) | 11 | super.onCreate(savedInstanceState) |
12 | setContentView(R.layout.activity_settings_in_form) | 12 | setContentView(R.layout.activity_settings_in_form) |
13 | 13 | ||
14 | + accountBtn.setOnClickListener { | ||
15 | + var intent = Intent(this, AccountSettingActivity::class.java) | ||
16 | + startActivity(intent) | ||
17 | + } | ||
14 | 18 | ||
15 | info_push.setOnClickListener { | 19 | info_push.setOnClickListener { |
16 | var intent = Intent(this, PushInfoActivity::class.java) | 20 | var intent = Intent(this, PushInfoActivity::class.java) | ... | ... |
vip/app/src/main/res/drawable-hdpi/link2.png
0 → 100644

4.27 KB

13.5 KB

46.7 KB

13.5 KB

46.7 KB

13.5 KB

46.7 KB

13.5 KB

13.5 KB

46.7 KB

13.5 KB

13.5 KB

13.5 KB
... | @@ -12,6 +12,6 @@ | ... | @@ -12,6 +12,6 @@ |
12 | android:bottom="0dp" | 12 | android:bottom="0dp" |
13 | /> | 13 | /> |
14 | 14 | ||
15 | - <corners android:bottomRightRadius="22dp" android:bottomLeftRadius="0dp" | 15 | + <corners android:bottomRightRadius="13dp" android:bottomLeftRadius="0dp" |
16 | android:topLeftRadius="0dp" android:topRightRadius="0dp"/> | 16 | android:topLeftRadius="0dp" android:topRightRadius="0dp"/> |
17 | </shape> | 17 | </shape> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |

13.5 KB

46.7 KB
1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> | ||
3 | + <solid android:color="#FFF"/> | ||
4 | + | ||
5 | + <stroke android:width="1dp" | ||
6 | + android:color="#E6E6E6" | ||
7 | + /> | ||
8 | + | ||
9 | + <padding android:left="0dp" | ||
10 | + android:top="0dp" | ||
11 | + android:right="0dp" | ||
12 | + android:bottom="0dp" | ||
13 | + /> | ||
14 | + | ||
15 | + <corners android:bottomRightRadius="13dp" android:bottomLeftRadius="13dp" | ||
16 | + android:topLeftRadius="13dp" android:topRightRadius="13dp"/> | ||
17 | +</shape> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | -<?xml version="1.0" encoding="utf-8"?> | 1 | +<?xml version="1.0" encoding="UTF-8"?> |
2 | -<shape xmlns:android="http://schemas.android.com/apk/res/android" | 2 | +<shape xmlns:android="http://schemas.android.com/apk/res/android"> |
3 | - android:shape="rectangle"> | 3 | + <solid android:color="#FFF"/> |
4 | - <corners android:radius="10dp" /> | 4 | + |
5 | + <stroke android:width="0dp" | ||
6 | + android:color="#FFF" | ||
7 | + /> | ||
8 | + | ||
9 | + <padding android:left="0dp" | ||
10 | + android:top="0dp" | ||
11 | + android:right="0dp" | ||
12 | + android:bottom="0dp" | ||
13 | + /> | ||
14 | + | ||
15 | + <corners android:bottomRightRadius="0dp" android:bottomLeftRadius="0dp" | ||
16 | + android:topLeftRadius="13dp" android:topRightRadius="13dp"/> | ||
5 | </shape> | 17 | </shape> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | +<?xml version="1.0" encoding="utf-8"?> | ||
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | + android:orientation="vertical" android:layout_width="match_parent" | ||
4 | + xmlns:app="http://schemas.android.com/apk/res-auto" | ||
5 | + xmlns:tools="http://schemas.android.com/tools" | ||
6 | + android:layout_height="match_parent"> | ||
7 | + | ||
8 | + <androidx.appcompat.widget.Toolbar | ||
9 | + android:id="@+id/toolbar" | ||
10 | + android:layout_width="fill_parent" | ||
11 | + android:layout_height="wrap_content" | ||
12 | + android:layout_gravity="center" | ||
13 | + android:layout_marginBottom="11dp" | ||
14 | + android:background="#FFF" | ||
15 | + android:elevation="5dp" | ||
16 | + android:gravity="center" | ||
17 | + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" | ||
18 | + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"> | ||
19 | + | ||
20 | + <TextView | ||
21 | + android:layout_width="77dp" | ||
22 | + android:layout_height="44dp" | ||
23 | + android:layout_gravity="center" | ||
24 | + android:gravity="center" | ||
25 | + android:text="계정 설정" | ||
26 | + android:textColor="#000" | ||
27 | + android:textSize="16dp" /> | ||
28 | + </androidx.appcompat.widget.Toolbar> | ||
29 | + | ||
30 | + <LinearLayout | ||
31 | + android:layout_width="match_parent" | ||
32 | + android:layout_height="match_parent" | ||
33 | + android:layout_weight="1" | ||
34 | + android:background="#fff" | ||
35 | + android:orientation="vertical"> | ||
36 | + | ||
37 | + <LinearLayout | ||
38 | + android:layout_width="match_parent" | ||
39 | + android:layout_height="wrap_content" | ||
40 | + android:orientation="vertical"></LinearLayout> | ||
41 | + | ||
42 | + <Button | ||
43 | + android:id="@+id/button" | ||
44 | + style="?android:attr/borderlessButtonStyle" | ||
45 | + android:layout_width="match_parent" | ||
46 | + android:layout_height="65dp" | ||
47 | + android:layout_marginLeft="11dp" | ||
48 | + android:layout_marginRight="11dp" | ||
49 | + android:background="@drawable/bottom_border" | ||
50 | + android:gravity="left|center_vertical" | ||
51 | + android:paddingLeft="33dp" | ||
52 | + android:text="정보 수정 (준비중)" | ||
53 | + android:textSize="17dp" /> | ||
54 | + | ||
55 | + <Button | ||
56 | + android:id="@+id/info_push" | ||
57 | + style="?android:attr/borderlessButtonStyle" | ||
58 | + android:layout_width="match_parent" | ||
59 | + android:layout_height="65dp" | ||
60 | + android:layout_marginLeft="11dp" | ||
61 | + android:layout_marginRight="11dp" | ||
62 | + android:background="@drawable/bottom_border" | ||
63 | + android:gravity="left|center_vertical" | ||
64 | + android:paddingLeft="33dp" | ||
65 | + android:text="로그아웃 (준비중)" | ||
66 | + android:textSize="17dp" /> | ||
67 | + | ||
68 | + <Button | ||
69 | + android:id="@+id/terms_of_use" | ||
70 | + style="?android:attr/borderlessButtonStyle" | ||
71 | + android:layout_width="match_parent" | ||
72 | + android:layout_height="65dp" | ||
73 | + android:layout_marginLeft="11dp" | ||
74 | + android:layout_marginRight="11dp" | ||
75 | + android:background="@drawable/bottom_border" | ||
76 | + android:gravity="left|center_vertical" | ||
77 | + android:paddingLeft="33dp" | ||
78 | + android:text="회원 탈퇴 (준비중)" | ||
79 | + android:textSize="17dp" /> | ||
80 | + | ||
81 | + </LinearLayout> | ||
82 | + | ||
83 | + <com.google.android.material.bottomnavigation.BottomNavigationView | ||
84 | + android:id="@+id/bottomNavigation" | ||
85 | + android:layout_width="match_parent" | ||
86 | + android:layout_height="wrap_content" | ||
87 | + android:layout_gravity="bottom" | ||
88 | + android:background="#FFF" | ||
89 | + app:itemIconTint="#29ABE2" | ||
90 | + app:itemTextColor="#29ABE2" | ||
91 | + app:labelVisibilityMode="labeled" | ||
92 | + app:menu="@menu/bottom_nav_menu" /> | ||
93 | + | ||
94 | +</LinearLayout> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -37,13 +37,13 @@ | ... | @@ -37,13 +37,13 @@ |
37 | <ScrollView | 37 | <ScrollView |
38 | android:layout_width="match_parent" | 38 | android:layout_width="match_parent" |
39 | android:layout_height="match_parent" | 39 | android:layout_height="match_parent" |
40 | - android:layout_marginStart="8dp" | ||
41 | android:layout_marginLeft="8dp" | 40 | android:layout_marginLeft="8dp" |
42 | - android:layout_marginEnd="8dp" | ||
43 | android:layout_marginRight="8dp" | 41 | android:layout_marginRight="8dp" |
44 | android:layout_weight="1" | 42 | android:layout_weight="1" |
45 | - android:elevation="5dp" | 43 | + android:background="@drawable/round_ratangle" |
46 | - android:fillViewport="true"> | 44 | + android:elevation="3dp" |
45 | + android:fillViewport="true" | ||
46 | + android:padding="7dp"> | ||
47 | 47 | ||
48 | <LinearLayout | 48 | <LinearLayout |
49 | android:layout_width="match_parent" | 49 | android:layout_width="match_parent" |
... | @@ -55,18 +55,20 @@ | ... | @@ -55,18 +55,20 @@ |
55 | android:layout_width="match_parent" | 55 | android:layout_width="match_parent" |
56 | android:layout_height="200dp" | 56 | android:layout_height="200dp" |
57 | android:background="@drawable/round_ratangle" | 57 | android:background="@drawable/round_ratangle" |
58 | + android:elevation="5dp" | ||
58 | android:scaleType="fitXY" | 59 | android:scaleType="fitXY" |
59 | app:srcCompat="@drawable/image03" /> | 60 | app:srcCompat="@drawable/image03" /> |
60 | 61 | ||
61 | <LinearLayout | 62 | <LinearLayout |
62 | android:layout_width="match_parent" | 63 | android:layout_width="match_parent" |
63 | android:layout_height="match_parent" | 64 | android:layout_height="match_parent" |
65 | + android:elevation="7dp" | ||
64 | android:orientation="vertical"> | 66 | android:orientation="vertical"> |
65 | 67 | ||
66 | <TextView | 68 | <TextView |
67 | android:id="@+id/policyDdayDetail" | 69 | android:id="@+id/policyDdayDetail" |
68 | android:layout_width="77dp" | 70 | android:layout_width="77dp" |
69 | - android:layout_height="44dp" | 71 | + android:layout_height="39dp" |
70 | android:background="@drawable/broken_rectangle" | 72 | android:background="@drawable/broken_rectangle" |
71 | android:gravity="center" | 73 | android:gravity="center" |
72 | android:text="TextView" | 74 | android:text="TextView" |
... | @@ -74,24 +76,33 @@ | ... | @@ -74,24 +76,33 @@ |
74 | android:textSize="18sp" /> | 76 | android:textSize="18sp" /> |
75 | 77 | ||
76 | <TextView | 78 | <TextView |
79 | + android:id="@+id/policyFavorDetail" | ||
80 | + android:layout_width="wrap_content" | ||
81 | + android:layout_height="wrap_content" | ||
82 | + android:layout_marginTop="5dp" | ||
83 | + android:text="TextView" /> | ||
84 | + | ||
85 | + <TextView | ||
77 | android:id="@+id/policyTitleDetail" | 86 | android:id="@+id/policyTitleDetail" |
78 | android:layout_width="match_parent" | 87 | android:layout_width="match_parent" |
79 | android:layout_height="wrap_content" | 88 | android:layout_height="wrap_content" |
80 | android:layout_marginLeft="11dp" | 89 | android:layout_marginLeft="11dp" |
81 | - android:layout_marginBottom="5dp" | 90 | + android:layout_marginBottom="4dp" |
82 | android:text="Textw" | 91 | android:text="Textw" |
83 | android:textSize="30sp" /> | 92 | android:textSize="30sp" /> |
84 | 93 | ||
85 | <RatingBar | 94 | <RatingBar |
86 | android:id="@+id/policyScoreDetail" | 95 | android:id="@+id/policyScoreDetail" |
87 | - android:layout_width="wrap_content" | 96 | + style="?android:attr/ratingBarStyleIndicator" |
88 | - android:layout_height="wrap_content" /> | ||
89 | - | ||
90 | - <TextView | ||
91 | - android:id="@+id/policyFavorDetail" | ||
92 | android:layout_width="wrap_content" | 97 | android:layout_width="wrap_content" |
93 | android:layout_height="wrap_content" | 98 | android:layout_height="wrap_content" |
94 | - android:text="TextView" /> | 99 | + android:layout_marginLeft="11dp" |
100 | + android:max="5" | ||
101 | + android:rating="3.5" | ||
102 | + android:scaleX=".5" | ||
103 | + android:scaleY="0.5" | ||
104 | + android:transformPivotX="0dp" | ||
105 | + android:transformPivotY="0dp" /> | ||
95 | 106 | ||
96 | <WebView | 107 | <WebView |
97 | android:id="@+id/policy_context" | 108 | android:id="@+id/policy_context" |
... | @@ -105,6 +116,7 @@ | ... | @@ -105,6 +116,7 @@ |
105 | android:id="@+id/fragmentContainer" | 116 | android:id="@+id/fragmentContainer" |
106 | android:layout_width="match_parent" | 117 | android:layout_width="match_parent" |
107 | android:layout_height="wrap_content" | 118 | android:layout_height="wrap_content" |
119 | + android:elevation="4dp" | ||
108 | app:layout_constraintBottom_toBottomOf="parent"> | 120 | app:layout_constraintBottom_toBottomOf="parent"> |
109 | 121 | ||
110 | <LinearLayout | 122 | <LinearLayout |
... | @@ -116,7 +128,7 @@ | ... | @@ -116,7 +128,7 @@ |
116 | <LinearLayout | 128 | <LinearLayout |
117 | android:layout_width="match_parent" | 129 | android:layout_width="match_parent" |
118 | android:layout_height="match_parent" | 130 | android:layout_height="match_parent" |
119 | - android:layout_weight="1.3" | 131 | + android:layout_weight="1.2" |
120 | android:orientation="horizontal"> | 132 | android:orientation="horizontal"> |
121 | 133 | ||
122 | <com.google.android.material.bottomnavigation.BottomNavigationView | 134 | <com.google.android.material.bottomnavigation.BottomNavigationView |
... | @@ -125,6 +137,7 @@ | ... | @@ -125,6 +137,7 @@ |
125 | android:layout_height="wrap_content" | 137 | android:layout_height="wrap_content" |
126 | android:layout_gravity="bottom" | 138 | android:layout_gravity="bottom" |
127 | android:background="#FFF" | 139 | android:background="#FFF" |
140 | + android:elevation="5dp" | ||
128 | app:itemIconTint="#DDDDDD" | 141 | app:itemIconTint="#DDDDDD" |
129 | app:labelVisibilityMode="unlabeled" | 142 | app:labelVisibilityMode="unlabeled" |
130 | app:menu="@menu/detailpage_navigation" /> | 143 | app:menu="@menu/detailpage_navigation" /> |
... | @@ -141,7 +154,8 @@ | ... | @@ -141,7 +154,8 @@ |
141 | android:layout_width="match_parent" | 154 | android:layout_width="match_parent" |
142 | android:layout_height="wrap_content" | 155 | android:layout_height="wrap_content" |
143 | android:layout_gravity="bottom" | 156 | android:layout_gravity="bottom" |
144 | - android:background="@drawable/link1" | 157 | + android:background="@drawable/link2" |
158 | + android:elevation="5dp" | ||
145 | app:itemIconTint="#FFF" | 159 | app:itemIconTint="#FFF" |
146 | app:itemTextColor="#FFF" | 160 | app:itemTextColor="#FFF" |
147 | app:labelVisibilityMode="unlabeled" | 161 | app:labelVisibilityMode="unlabeled" | ... | ... |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | android:orientation="vertical"></LinearLayout> | 40 | android:orientation="vertical"></LinearLayout> |
41 | 41 | ||
42 | <Button | 42 | <Button |
43 | - android:id="@+id/button" | 43 | + android:id="@+id/accountBtn" |
44 | style="?android:attr/borderlessButtonStyle" | 44 | style="?android:attr/borderlessButtonStyle" |
45 | android:layout_width="match_parent" | 45 | android:layout_width="match_parent" |
46 | android:layout_height="65dp" | 46 | android:layout_height="65dp" |
... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
49 | android:background="@drawable/bottom_border" | 49 | android:background="@drawable/bottom_border" |
50 | android:gravity="left|center_vertical" | 50 | android:gravity="left|center_vertical" |
51 | android:paddingLeft="33dp" | 51 | android:paddingLeft="33dp" |
52 | - android:text="계정 설정 (미구현)" | 52 | + android:text="계정 설정" |
53 | android:textSize="17dp" /> | 53 | android:textSize="17dp" /> |
54 | 54 | ||
55 | <Button | 55 | <Button |
... | @@ -67,16 +67,16 @@ | ... | @@ -67,16 +67,16 @@ |
67 | 67 | ||
68 | <Button | 68 | <Button |
69 | android:id="@+id/button3" | 69 | android:id="@+id/button3" |
70 | - android:textSize="17dp" | ||
71 | style="?android:attr/borderlessButtonStyle" | 70 | style="?android:attr/borderlessButtonStyle" |
72 | android:layout_width="match_parent" | 71 | android:layout_width="match_parent" |
72 | + android:layout_height="65dp" | ||
73 | android:layout_marginLeft="11dp" | 73 | android:layout_marginLeft="11dp" |
74 | android:layout_marginRight="11dp" | 74 | android:layout_marginRight="11dp" |
75 | - android:layout_height="65dp" | ||
76 | - android:gravity="left|center_vertical" | ||
77 | android:background="@drawable/bottom_border" | 75 | android:background="@drawable/bottom_border" |
76 | + android:gravity="left|center_vertical" | ||
78 | android:paddingLeft="33dp" | 77 | android:paddingLeft="33dp" |
79 | - android:text="접근권한 설정 (미구현)" /> | 78 | + android:text="접근권한 설정 (준비중)" |
79 | + android:textSize="17dp" /> | ||
80 | 80 | ||
81 | <Button | 81 | <Button |
82 | android:id="@+id/terms_of_use" | 82 | android:id="@+id/terms_of_use" | ... | ... |
... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
5 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" |
6 | android:layout_height="200dp" | 6 | android:layout_height="200dp" |
7 | android:layout_margin="10dp" | 7 | android:layout_margin="10dp" |
8 | - android:background="@drawable/edgemaking" | 8 | + android:background="@drawable/round_ractagle_solid" |
9 | android:orientation="horizontal" | 9 | android:orientation="horizontal" |
10 | android:padding="10dp"> | 10 | android:padding="10dp"> |
11 | 11 | ... | ... |
... | @@ -32,232 +32,265 @@ | ... | @@ -32,232 +32,265 @@ |
32 | android:layout_height="match_parent" | 32 | android:layout_height="match_parent" |
33 | android:orientation="vertical"> | 33 | android:orientation="vertical"> |
34 | 34 | ||
35 | - <LinearLayout | 35 | + <SearchView |
36 | - android:layout_width="match_parent" | 36 | + android:id="@+id/searchForm" |
37 | - android:layout_height="200dp" | ||
38 | - android:layout_weight="1" | ||
39 | - android:orientation="vertical"> | ||
40 | - | ||
41 | - <SearchView | ||
42 | - android:id="@+id/searchForm" | ||
43 | - android:layout_width="match_parent" | ||
44 | - android:layout_height="wrap_content" | ||
45 | - android:layout_marginLeft="9dp" | ||
46 | - android:layout_marginTop="30dp" | ||
47 | - android:layout_marginRight="9dp" | ||
48 | - android:layout_marginBottom="9dp" | ||
49 | - android:queryBackground="@android:color/transparent" | ||
50 | - android:background="@drawable/searchview_edge" | ||
51 | - | ||
52 | - android:focusable="false" | ||
53 | - android:layoutDirection="rtl" | ||
54 | - android:paddingStart="7dp" | ||
55 | - android:queryHint=" 정책명, 대상, 키워드를 입력하세요" | ||
56 | - app:iconifiedByDefault="false" | ||
57 | - app:showAsAction="always" /> | ||
58 | - | ||
59 | - <androidx.recyclerview.widget.RecyclerView | ||
60 | - android:id="@+id/searchRecyclerView" | ||
61 | - android:layout_width="match_parent" | ||
62 | - android:layout_height="match_parent" | ||
63 | - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" | ||
64 | - tools:listitem="@layout/item_search"> | ||
65 | - | ||
66 | - </androidx.recyclerview.widget.RecyclerView> | ||
67 | - </LinearLayout> | ||
68 | - | ||
69 | - <ImageView | ||
70 | - android:id="@+id/no_matching" | ||
71 | android:layout_width="match_parent" | 37 | android:layout_width="match_parent" |
72 | android:layout_height="wrap_content" | 38 | android:layout_height="wrap_content" |
73 | - android:layout_gravity="center" | 39 | + android:layout_marginLeft="9dp" |
74 | - android:contentDescription="img" | 40 | + android:layout_marginTop="30dp" |
75 | - android:visibility="gone" | 41 | + android:layout_marginRight="9dp" |
76 | - app:srcCompat="@drawable/not_matching" | 42 | + android:layout_marginBottom="9dp" |
77 | - tools:srcCompat="@drawable/not_matching" /> | 43 | + android:background="@drawable/searchview_edge" |
44 | + android:focusable="false" | ||
45 | + | ||
46 | + android:layoutDirection="rtl" | ||
47 | + android:paddingStart="7dp" | ||
48 | + android:queryBackground="@android:color/transparent" | ||
49 | + android:queryHint=" 정책명, 대상, 키워드를 입력하세요" | ||
50 | + app:iconifiedByDefault="false" | ||
51 | + app:showAsAction="always" > | ||
52 | + | ||
53 | + </SearchView> | ||
78 | 54 | ||
79 | <LinearLayout | 55 | <LinearLayout |
80 | - android:id="@+id/hashtag_linear" | ||
81 | android:layout_width="match_parent" | 56 | android:layout_width="match_parent" |
82 | - android:layout_height="200dp" | 57 | + android:layout_height="match_parent" |
83 | - android:layout_weight="1.1" | ||
84 | android:orientation="vertical"> | 58 | android:orientation="vertical"> |
85 | 59 | ||
86 | - <FrameLayout | 60 | + <LinearLayout |
87 | - android:layout_width="wrap_content" | 61 | + android:id="@+id/policy_scroll_view" |
88 | - android:layout_height="wrap_content"> | 62 | + android:layout_width="match_parent" |
63 | + android:layout_height="200dp" | ||
64 | + android:layout_weight="1" | ||
65 | + android:orientation="vertical"> | ||
89 | 66 | ||
90 | - <View | 67 | + <androidx.recyclerview.widget.RecyclerView |
91 | - android:id="@+id/view2" | 68 | + android:id="@+id/searchRecyclerView" |
92 | android:layout_width="match_parent" | 69 | android:layout_width="match_parent" |
93 | android:layout_height="match_parent" | 70 | android:layout_height="match_parent" |
94 | - android:background="#6629ABE2" /> | 71 | + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
95 | - | 72 | + tools:listitem="@layout/item_search"> |
96 | - <FrameLayout | ||
97 | - android:layout_width="match_parent" | ||
98 | - android:layout_height="match_parent"> | ||
99 | 73 | ||
100 | - <com.google.android.material.chip.ChipGroup | 74 | + </androidx.recyclerview.widget.RecyclerView> |
101 | - android:layout_width="match_parent" | ||
102 | - android:layout_height="wrap_content" | ||
103 | - android:layout_gravity="center|center_horizontal|center_vertical" | ||
104 | - android:layout_marginStart="17dp" | ||
105 | - android:foregroundGravity="center_vertical|center|center_horizontal"> | ||
106 | - | ||
107 | - | ||
108 | - <com.google.android.material.chip.ChipGroup | ||
109 | - android:layout_width="match_parent" | ||
110 | - android:layout_height="wrap_content"> | ||
111 | - | ||
112 | - <TextView | ||
113 | - android:id="@+id/textView" | ||
114 | - android:layout_width="wrap_content" | ||
115 | - android:layout_height="wrap_content" | ||
116 | - android:text="가구상황별" /> | ||
117 | 75 | ||
76 | + </LinearLayout> | ||
118 | 77 | ||
119 | - <com.google.android.material.chip.ChipGroup | 78 | + <ImageView |
120 | - android:layout_width="match_parent" | 79 | + android:id="@+id/no_matching" |
121 | - android:layout_height="wrap_content"> | 80 | + android:layout_width="278dp" |
122 | - | 81 | + android:layout_height="278dp" |
123 | - <com.google.android.material.chip.Chip | 82 | + android:layout_gravity="center_horizontal" |
124 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 83 | + android:layout_weight="1" |
125 | - android:layout_width="wrap_content" | 84 | + android:contentDescription="img" |
126 | - app:chipBackgroundColor="#C6FFFFFF" | 85 | + android:visibility="gone" |
127 | - android:layout_height="wrap_content" | 86 | + app:srcCompat="@drawable/not_matching" /> |
128 | - android:layout_marginBottom="5dp" | ||
129 | - android:checkable="false" | ||
130 | - android:text="# 장애인" | ||
131 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | ||
132 | - | ||
133 | - <com.google.android.material.chip.Chip | ||
134 | - style="@style/Widget.MaterialComponents.Chip.Choice" | ||
135 | - android:layout_width="wrap_content" | ||
136 | - android:layout_height="wrap_content" | ||
137 | - android:layout_marginBottom="5dp" | ||
138 | - android:checkable="false" | ||
139 | - app:chipBackgroundColor="#C6FFFFFF" | ||
140 | - android:text="# 한부모" | ||
141 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | ||
142 | - | ||
143 | 87 | ||
144 | - <com.google.android.material.chip.Chip | 88 | + <LinearLayout |
145 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 89 | + android:id="@+id/hashtag_linear" |
146 | - android:layout_width="wrap_content" | 90 | + android:layout_width="match_parent" |
147 | - android:layout_height="wrap_content" | 91 | + android:layout_height="200dp" |
148 | - android:layout_marginBottom="5dp" | 92 | + android:layout_weight="2.5" |
149 | - android:checkable="false" | 93 | + android:orientation="vertical"> |
150 | - app:chipBackgroundColor="#C6FFFFFF" | ||
151 | - android:text="# 다문화" | ||
152 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | ||
153 | - </com.google.android.material.chip.ChipGroup> | ||
154 | 94 | ||
155 | - <com.google.android.material.chip.ChipGroup | 95 | + <FrameLayout |
156 | - android:layout_width="match_parent" | 96 | + android:layout_width="wrap_content" |
157 | - android:layout_height="wrap_content"> | 97 | + android:layout_height="wrap_content"> |
158 | 98 | ||
159 | - <com.google.android.material.chip.Chip | 99 | + <View |
160 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 100 | + android:id="@+id/view2" |
161 | - android:layout_width="wrap_content" | 101 | + android:layout_width="match_parent" |
162 | - android:layout_height="wrap_content" | 102 | + android:layout_height="match_parent" |
163 | - android:checkable="false" | 103 | + android:background="#6629ABE2" /> |
164 | - app:chipBackgroundColor="#C6FFFFFF" | ||
165 | - android:text="# 저소득층" | ||
166 | - android:textAppearance="@style/TextAppearance.AppCompat" | ||
167 | - app:chipIcon="@drawable/image01" /> | ||
168 | - | ||
169 | - <com.google.android.material.chip.Chip | ||
170 | - style="@style/Widget.MaterialComponents.Chip.Choice" | ||
171 | - android:layout_width="wrap_content" | ||
172 | - android:layout_height="wrap_content" | ||
173 | - android:checkable="false" | ||
174 | - app:chipBackgroundColor="#C6FFFFFF" | ||
175 | - android:text="# 임신/출산" | ||
176 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | ||
177 | 104 | ||
178 | - </com.google.android.material.chip.ChipGroup> | 105 | + <FrameLayout |
179 | - </com.google.android.material.chip.ChipGroup> | 106 | + android:layout_width="match_parent" |
107 | + android:layout_height="match_parent"> | ||
180 | 108 | ||
181 | <com.google.android.material.chip.ChipGroup | 109 | <com.google.android.material.chip.ChipGroup |
182 | android:layout_width="match_parent" | 110 | android:layout_width="match_parent" |
183 | android:layout_height="wrap_content" | 111 | android:layout_height="wrap_content" |
184 | android:layout_gravity="center|center_horizontal|center_vertical" | 112 | android:layout_gravity="center|center_horizontal|center_vertical" |
113 | + android:layout_marginStart="22dp" | ||
185 | android:foregroundGravity="center_vertical|center|center_horizontal"> | 114 | android:foregroundGravity="center_vertical|center|center_horizontal"> |
186 | 115 | ||
187 | - <TextView | ||
188 | - android:id="@+id/textVㅇiew" | ||
189 | - android:layout_width="wrap_content" | ||
190 | - android:layout_height="wrap_content" | ||
191 | - android:text="\n생애주기별" /> | ||
192 | - | ||
193 | 116 | ||
194 | <com.google.android.material.chip.ChipGroup | 117 | <com.google.android.material.chip.ChipGroup |
195 | android:layout_width="match_parent" | 118 | android:layout_width="match_parent" |
196 | android:layout_height="wrap_content"> | 119 | android:layout_height="wrap_content"> |
197 | 120 | ||
198 | - <com.google.android.material.chip.Chip | 121 | + <TextView |
199 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 122 | + android:id="@+id/textView" |
200 | - android:layout_width="wrap_content" | ||
201 | - android:layout_height="wrap_content" | ||
202 | - android:layout_marginBottom="5dp" | ||
203 | - android:checkable="false" | ||
204 | - app:chipBackgroundColor="#C6FFFFFF" | ||
205 | - android:text="# 아동" | ||
206 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | ||
207 | - | ||
208 | - <com.google.android.material.chip.Chip | ||
209 | - style="@style/Widget.MaterialComponents.Chip.Choice" | ||
210 | android:layout_width="wrap_content" | 123 | android:layout_width="wrap_content" |
211 | - android:layout_height="wrap_content" | 124 | + android:layout_height="28dp" |
212 | - android:layout_marginBottom="5dp" | 125 | + android:text="> 가구상황별" |
213 | - android:checkable="false" | 126 | + android:textColor="#29ABE2" |
214 | - app:chipBackgroundColor="#C6FFFFFF" | 127 | + android:textSize="16dp" /> |
215 | - android:text="# 청소년" | 128 | + |
216 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | 129 | + |
217 | - | 130 | + <com.google.android.material.chip.ChipGroup |
218 | - | 131 | + android:layout_width="match_parent" |
219 | - <com.google.android.material.chip.Chip | 132 | + android:layout_height="wrap_content"> |
220 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 133 | + |
221 | - android:layout_width="wrap_content" | 134 | + <com.google.android.material.chip.Chip |
222 | - android:layout_height="wrap_content" | 135 | + style="@style/Widget.MaterialComponents.Chip.Choice" |
223 | - android:layout_marginBottom="5dp" | 136 | + android:layout_width="wrap_content" |
224 | - android:checkable="false" | 137 | + android:layout_height="wrap_content" |
225 | - app:chipBackgroundColor="#C6FFFFFF" | 138 | + android:layout_marginRight="5dp" |
226 | - android:text="# 청년" | 139 | + android:layout_marginBottom="5dp" |
227 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | 140 | + android:checkable="false" |
141 | + android:text="# 장애인" | ||
142 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
143 | + android:textSize="16dp" | ||
144 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
145 | + | ||
146 | + <com.google.android.material.chip.Chip | ||
147 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
148 | + android:layout_width="wrap_content" | ||
149 | + android:layout_height="wrap_content" | ||
150 | + android:layout_marginRight="5dp" | ||
151 | + android:layout_marginBottom="5dp" | ||
152 | + android:checkable="false" | ||
153 | + android:text="# 한부모" | ||
154 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
155 | + android:textSize="16dp" | ||
156 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
157 | + | ||
158 | + | ||
159 | + <com.google.android.material.chip.Chip | ||
160 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
161 | + android:layout_width="wrap_content" | ||
162 | + android:layout_height="wrap_content" | ||
163 | + android:layout_marginBottom="5dp" | ||
164 | + android:checkable="false" | ||
165 | + android:text="# 다문화" | ||
166 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
167 | + android:textSize="16dp" | ||
168 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
169 | + </com.google.android.material.chip.ChipGroup> | ||
170 | + | ||
171 | + <com.google.android.material.chip.ChipGroup | ||
172 | + android:layout_width="match_parent" | ||
173 | + android:layout_height="wrap_content"> | ||
174 | + | ||
175 | + <com.google.android.material.chip.Chip | ||
176 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
177 | + android:layout_width="wrap_content" | ||
178 | + android:layout_height="wrap_content" | ||
179 | + android:layout_marginRight="5dp" | ||
180 | + android:checkable="false" | ||
181 | + android:text="# 저소득층" | ||
182 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
183 | + android:textSize="16dp" | ||
184 | + app:chipBackgroundColor="#C6FFFFFF" | ||
185 | + app:chipIcon="@drawable/image01" /> | ||
186 | + | ||
187 | + <com.google.android.material.chip.Chip | ||
188 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
189 | + android:layout_width="wrap_content" | ||
190 | + android:layout_height="wrap_content" | ||
191 | + android:checkable="false" | ||
192 | + android:text="# 임신/출산" | ||
193 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
194 | + android:textSize="16dp" | ||
195 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
196 | + | ||
197 | + </com.google.android.material.chip.ChipGroup> | ||
228 | </com.google.android.material.chip.ChipGroup> | 198 | </com.google.android.material.chip.ChipGroup> |
229 | 199 | ||
230 | <com.google.android.material.chip.ChipGroup | 200 | <com.google.android.material.chip.ChipGroup |
231 | android:layout_width="match_parent" | 201 | android:layout_width="match_parent" |
232 | - android:layout_height="wrap_content"> | 202 | + android:layout_height="wrap_content" |
203 | + android:layout_gravity="center|center_horizontal|center_vertical" | ||
204 | + android:foregroundGravity="center_vertical|center|center_horizontal"> | ||
233 | 205 | ||
234 | - <com.google.android.material.chip.Chip | 206 | + <TextView |
235 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 207 | + android:id="@+id/textVㅇiew" |
236 | android:layout_width="wrap_content" | 208 | android:layout_width="wrap_content" |
237 | - android:layout_height="wrap_content" | 209 | + android:layout_height="44dp" |
238 | - android:checkable="false" | 210 | + android:text="\n> 생애주기별" |
239 | - app:chipBackgroundColor="#C6FFFFFF" | 211 | + android:textColor="#29ABE2" |
240 | - android:text="# 중장년" | 212 | + android:textSize="16dp" /> |
241 | - android:textAppearance="@style/TextAppearance.AppCompat" | 213 | + |
242 | - app:chipIcon="@drawable/image01" /> | 214 | + |
243 | - | 215 | + <com.google.android.material.chip.ChipGroup |
244 | - <com.google.android.material.chip.Chip | 216 | + android:layout_width="match_parent" |
245 | - style="@style/Widget.MaterialComponents.Chip.Choice" | 217 | + android:layout_height="wrap_content"> |
246 | - android:layout_width="wrap_content" | 218 | + |
247 | - android:layout_height="wrap_content" | 219 | + <com.google.android.material.chip.Chip |
248 | - android:checkable="false" | 220 | + style="@style/Widget.MaterialComponents.Chip.Choice" |
249 | - app:chipBackgroundColor="#C6FFFFFF" | 221 | + android:layout_width="wrap_content" |
250 | - android:text="# 노년" | 222 | + android:layout_height="wrap_content" |
251 | - android:textAppearance="@style/TextAppearance.AppCompat" /> | 223 | + android:layout_marginRight="5dp" |
252 | - | 224 | + android:layout_marginBottom="5dp" |
225 | + android:checkable="false" | ||
226 | + android:text="# 아동" | ||
227 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
228 | + android:textSize="16dp" | ||
229 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
230 | + | ||
231 | + <com.google.android.material.chip.Chip | ||
232 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
233 | + android:layout_width="wrap_content" | ||
234 | + android:layout_height="wrap_content" | ||
235 | + android:layout_marginRight="5dp" | ||
236 | + android:layout_marginBottom="5dp" | ||
237 | + android:checkable="false" | ||
238 | + android:text="# 청소년" | ||
239 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
240 | + android:textSize="16dp" | ||
241 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
242 | + | ||
243 | + | ||
244 | + <com.google.android.material.chip.Chip | ||
245 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
246 | + android:layout_width="wrap_content" | ||
247 | + android:layout_height="wrap_content" | ||
248 | + android:layout_marginBottom="5dp" | ||
249 | + android:checkable="false" | ||
250 | + android:text="# 청년" | ||
251 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
252 | + android:textSize="16dp" | ||
253 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
254 | + </com.google.android.material.chip.ChipGroup> | ||
255 | + | ||
256 | + <com.google.android.material.chip.ChipGroup | ||
257 | + android:layout_width="match_parent" | ||
258 | + android:layout_height="wrap_content"> | ||
259 | + | ||
260 | + <com.google.android.material.chip.Chip | ||
261 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
262 | + android:layout_width="wrap_content" | ||
263 | + android:layout_height="wrap_content" | ||
264 | + android:layout_marginRight="5dp" | ||
265 | + android:checkable="false" | ||
266 | + android:text="# 중장년" | ||
267 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
268 | + android:textSize="16dp" | ||
269 | + app:chipBackgroundColor="#C6FFFFFF" | ||
270 | + app:chipIcon="@drawable/image01" /> | ||
271 | + | ||
272 | + <com.google.android.material.chip.Chip | ||
273 | + style="@style/Widget.MaterialComponents.Chip.Choice" | ||
274 | + android:layout_width="wrap_content" | ||
275 | + android:layout_height="wrap_content" | ||
276 | + android:checkable="false" | ||
277 | + android:text="# 노년" | ||
278 | + android:textAppearance="@style/TextAppearance.AppCompat" | ||
279 | + android:textSize="16dp" | ||
280 | + app:chipBackgroundColor="#C6FFFFFF" /> | ||
281 | + | ||
282 | + </com.google.android.material.chip.ChipGroup> | ||
253 | </com.google.android.material.chip.ChipGroup> | 283 | </com.google.android.material.chip.ChipGroup> |
254 | </com.google.android.material.chip.ChipGroup> | 284 | </com.google.android.material.chip.ChipGroup> |
255 | - </com.google.android.material.chip.ChipGroup> | ||
256 | 285 | ||
257 | - </FrameLayout> | 286 | + </FrameLayout> |
258 | 287 | ||
259 | - </FrameLayout> | 288 | + </FrameLayout> |
260 | 289 | ||
290 | + </LinearLayout> | ||
261 | </LinearLayout> | 291 | </LinearLayout> |
292 | + | ||
293 | + | ||
294 | + | ||
262 | </LinearLayout> | 295 | </LinearLayout> |
263 | </LinearLayout> | 296 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -6,8 +6,7 @@ | ... | @@ -6,8 +6,7 @@ |
6 | <item | 6 | <item |
7 | android:id="@+id/linkBtn" | 7 | android:id="@+id/linkBtn" |
8 | android:enabled="true" | 8 | android:enabled="true" |
9 | - android:icon="@drawable/link1" | 9 | + android:title="" |
10 | - android:title="사이트 바로가기" | ||
11 | app:showAsAction="ifRoom" /> | 10 | app:showAsAction="ifRoom" /> |
12 | </menu> | 11 | </menu> |
13 | 12 | ... | ... |
-
Please register or login to post a comment