Showing
9 changed files
with
78 additions
and
27 deletions
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | android:roundIcon="@mipmap/ic_launcher_round" | 9 | android:roundIcon="@mipmap/ic_launcher_round" |
10 | android:supportsRtl="true" | 10 | android:supportsRtl="true" |
11 | android:theme="@style/NoActionBar"> | 11 | android:theme="@style/NoActionBar"> |
12 | - <activity android:name=".PushingActivity"></activity> | 12 | + <activity android:name=".OnboardingActivity"></activity> |
13 | + <activity android:name=".PushingActivity" /> | ||
13 | <activity android:name=".DetailActivity" /> | 14 | <activity android:name=".DetailActivity" /> |
14 | <activity android:name=".InfoActivity" /> | 15 | <activity android:name=".InfoActivity" /> |
15 | <activity android:name=".FavoritesActivity" /> | 16 | <activity android:name=".FavoritesActivity" /> |
... | @@ -28,8 +29,6 @@ | ... | @@ -28,8 +29,6 @@ |
28 | <category android:name="android.intent.category.LAUNCHER" /> | 29 | <category android:name="android.intent.category.LAUNCHER" /> |
29 | </intent-filter> | 30 | </intent-filter> |
30 | </activity> | 31 | </activity> |
31 | - | ||
32 | - | ||
33 | </application> | 32 | </application> |
34 | 33 | ||
35 | </manifest> | 34 | </manifest> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | package com.example.vip | 1 | package com.example.vip |
2 | 2 | ||
3 | +import android.animation.Animator | ||
4 | +import android.animation.AnimatorInflater | ||
3 | import android.content.Intent | 5 | import android.content.Intent |
4 | import androidx.appcompat.app.AppCompatActivity | 6 | import androidx.appcompat.app.AppCompatActivity |
5 | import android.os.Bundle | 7 | import android.os.Bundle |
8 | +import android.preference.PreferenceManager | ||
9 | +import android.view.LayoutInflater | ||
10 | +import android.view.View | ||
11 | +import android.view.ViewGroup | ||
12 | +import android.widget.ImageView | ||
6 | import android.widget.Toast | 13 | import android.widget.Toast |
7 | import com.google.firebase.auth.FirebaseAuth | 14 | import com.google.firebase.auth.FirebaseAuth |
8 | import kotlinx.android.synthetic.main.activity_main.* | 15 | import kotlinx.android.synthetic.main.activity_main.* |
9 | import org.w3c.dom.Node | 16 | import org.w3c.dom.Node |
17 | +import java.lang.Boolean.getBoolean | ||
10 | 18 | ||
11 | 19 | ||
12 | class MainActivity : AppCompatActivity() { | 20 | class MainActivity : AppCompatActivity() { |
... | @@ -42,9 +50,9 @@ class MainActivity : AppCompatActivity() { | ... | @@ -42,9 +50,9 @@ class MainActivity : AppCompatActivity() { |
42 | 50 | ||
43 | override fun onCreate(savedInstanceState: Bundle?) { | 51 | override fun onCreate(savedInstanceState: Bundle?) { |
44 | super.onCreate(savedInstanceState) | 52 | super.onCreate(savedInstanceState) |
45 | - | ||
46 | setContentView(R.layout.activity_main) | 53 | setContentView(R.layout.activity_main) |
47 | 54 | ||
55 | + | ||
48 | emailSigninBtn.setOnClickListener{ | 56 | emailSigninBtn.setOnClickListener{ |
49 | loginEmail() | 57 | loginEmail() |
50 | 58 | ||
... | @@ -55,7 +63,11 @@ class MainActivity : AppCompatActivity() { | ... | @@ -55,7 +63,11 @@ class MainActivity : AppCompatActivity() { |
55 | startActivity(intent) | 63 | startActivity(intent) |
56 | } | 64 | } |
57 | 65 | ||
66 | + | ||
67 | + | ||
68 | + | ||
58 | } | 69 | } |
59 | 70 | ||
60 | 71 | ||
72 | + | ||
61 | } | 73 | } | ... | ... |
24.6 KB
66.7 KB
60.6 KB
... | @@ -29,42 +29,56 @@ | ... | @@ -29,42 +29,56 @@ |
29 | </androidx.appcompat.widget.Toolbar> | 29 | </androidx.appcompat.widget.Toolbar> |
30 | 30 | ||
31 | <LinearLayout | 31 | <LinearLayout |
32 | - android:layout_width="wrap_content" | 32 | + android:layout_width="match_parent" |
33 | - android:layout_height="100dp" | 33 | + android:layout_height="wrap_content" |
34 | + android:layout_weight="1" | ||
35 | + android:orientation="vertical"> | ||
36 | + | ||
37 | + <LinearLayout | ||
38 | + android:layout_width="match_parent" | ||
39 | + android:layout_height="wrap_content" | ||
34 | android:layout_gravity="center" | 40 | android:layout_gravity="center" |
41 | + android:layout_weight="1" | ||
35 | android:orientation="horizontal"> | 42 | android:orientation="horizontal"> |
36 | 43 | ||
37 | <ImageView | 44 | <ImageView |
38 | android:id="@+id/infoAccountImage" | 45 | android:id="@+id/infoAccountImage" |
39 | android:layout_width="50dp" | 46 | android:layout_width="50dp" |
40 | android:layout_height="50dp" | 47 | android:layout_height="50dp" |
48 | + android:layout_gravity="center" | ||
41 | android:layout_weight="1" | 49 | android:layout_weight="1" |
42 | tools:srcCompat="@tools:sample/avatars" /> | 50 | tools:srcCompat="@tools:sample/avatars" /> |
43 | 51 | ||
44 | <LinearLayout | 52 | <LinearLayout |
45 | - android:layout_width="match_parent" | 53 | + android:layout_width="wrap_content" |
46 | android:layout_height="match_parent" | 54 | android:layout_height="match_parent" |
47 | android:layout_weight="1" | 55 | android:layout_weight="1" |
48 | android:orientation="vertical"> | 56 | android:orientation="vertical"> |
49 | 57 | ||
50 | <TextView | 58 | <TextView |
51 | android:id="@+id/InfoNickname" | 59 | android:id="@+id/InfoNickname" |
52 | - android:layout_width="match_parent" | 60 | + android:layout_width="wrap_content" |
53 | android:layout_height="wrap_content" | 61 | android:layout_height="wrap_content" |
62 | + android:layout_gravity="center" | ||
63 | + android:layout_weight="1" | ||
54 | android:gravity="center" | 64 | android:gravity="center" |
55 | android:text="GRACE" /> | 65 | android:text="GRACE" /> |
56 | 66 | ||
57 | <TextView | 67 | <TextView |
58 | android:id="@+id/InfoEmail" | 68 | android:id="@+id/InfoEmail" |
59 | - android:layout_width="match_parent" | 69 | + android:layout_width="wrap_content" |
60 | android:layout_height="wrap_content" | 70 | android:layout_height="wrap_content" |
71 | + android:layout_gravity="center" | ||
72 | + android:layout_weight="1" | ||
61 | android:gravity="center" | 73 | android:gravity="center" |
62 | android:text="grace@naver.com" /> | 74 | android:text="grace@naver.com" /> |
63 | 75 | ||
64 | <TextView | 76 | <TextView |
65 | android:id="@+id/InfoProfilProgress" | 77 | android:id="@+id/InfoProfilProgress" |
66 | - android:layout_width="match_parent" | 78 | + android:layout_width="wrap_content" |
67 | android:layout_height="wrap_content" | 79 | android:layout_height="wrap_content" |
80 | + android:layout_gravity="center" | ||
81 | + android:layout_weight="1" | ||
68 | android:gravity="center" | 82 | android:gravity="center" |
69 | android:text="프로필정보입력15/20" /> | 83 | android:text="프로필정보입력15/20" /> |
70 | 84 | ||
... | @@ -74,6 +88,7 @@ | ... | @@ -74,6 +88,7 @@ |
74 | android:id="@+id/InfoProfilImage" | 88 | android:id="@+id/InfoProfilImage" |
75 | android:layout_width="50dp" | 89 | android:layout_width="50dp" |
76 | android:layout_height="50dp" | 90 | android:layout_height="50dp" |
91 | + android:layout_gravity="center" | ||
77 | android:layout_weight="1" | 92 | android:layout_weight="1" |
78 | tools:srcCompat="@tools:sample/avatars" /> | 93 | tools:srcCompat="@tools:sample/avatars" /> |
79 | </LinearLayout> | 94 | </LinearLayout> |
... | @@ -81,12 +96,16 @@ | ... | @@ -81,12 +96,16 @@ |
81 | <LinearLayout | 96 | <LinearLayout |
82 | android:layout_width="match_parent" | 97 | android:layout_width="match_parent" |
83 | android:layout_height="wrap_content" | 98 | android:layout_height="wrap_content" |
99 | + android:layout_gravity="center" | ||
100 | + android:layout_weight="1" | ||
101 | + android:gravity="center" | ||
84 | android:orientation="vertical"> | 102 | android:orientation="vertical"> |
85 | 103 | ||
86 | <TextView | 104 | <TextView |
87 | android:id="@+id/InfoProfilModify" | 105 | android:id="@+id/InfoProfilModify" |
88 | android:layout_width="match_parent" | 106 | android:layout_width="match_parent" |
89 | android:layout_height="wrap_content" | 107 | android:layout_height="wrap_content" |
108 | + android:layout_gravity="center" | ||
90 | android:gravity="center" | 109 | android:gravity="center" |
91 | android:text="프로필 정보 수정" /> | 110 | android:text="프로필 정보 수정" /> |
92 | 111 | ||
... | @@ -94,12 +113,14 @@ | ... | @@ -94,12 +113,14 @@ |
94 | android:id="@+id/InfoProgress" | 113 | android:id="@+id/InfoProgress" |
95 | style="?android:attr/progressBarStyleHorizontal" | 114 | style="?android:attr/progressBarStyleHorizontal" |
96 | android:layout_width="match_parent" | 115 | android:layout_width="match_parent" |
97 | - android:layout_height="wrap_content" /> | 116 | + android:layout_height="wrap_content" |
117 | + android:layout_gravity="center" /> | ||
98 | 118 | ||
99 | <TextView | 119 | <TextView |
100 | android:id="@+id/InfoExplain" | 120 | android:id="@+id/InfoExplain" |
101 | android:layout_width="match_parent" | 121 | android:layout_width="match_parent" |
102 | android:layout_height="wrap_content" | 122 | android:layout_height="wrap_content" |
123 | + android:layout_gravity="center" | ||
103 | android:gravity="center" | 124 | android:gravity="center" |
104 | android:text="많이입력해야정확해요" /> | 125 | android:text="많이입력해야정확해요" /> |
105 | 126 | ||
... | @@ -107,6 +128,7 @@ | ... | @@ -107,6 +128,7 @@ |
107 | android:id="@+id/InfoStep" | 128 | android:id="@+id/InfoStep" |
108 | android:layout_width="match_parent" | 129 | android:layout_width="match_parent" |
109 | android:layout_height="wrap_content" | 130 | android:layout_height="wrap_content" |
131 | + android:layout_gravity="center" | ||
110 | android:gravity="center" | 132 | android:gravity="center" |
111 | android:text="STEP 15/20" /> | 133 | android:text="STEP 15/20" /> |
112 | </LinearLayout> | 134 | </LinearLayout> |
... | @@ -114,30 +136,36 @@ | ... | @@ -114,30 +136,36 @@ |
114 | <LinearLayout | 136 | <LinearLayout |
115 | android:layout_width="match_parent" | 137 | android:layout_width="match_parent" |
116 | android:layout_height="wrap_content" | 138 | android:layout_height="wrap_content" |
139 | + android:layout_weight="1" | ||
140 | + android:gravity="center" | ||
117 | android:orientation="horizontal"> | 141 | android:orientation="horizontal"> |
118 | 142 | ||
119 | <Button | 143 | <Button |
120 | - android:id="@+id/InfoButtonNotice" | 144 | + android:id="@+id/InfoButtonApp" |
121 | android:layout_width="match_parent" | 145 | android:layout_width="match_parent" |
122 | android:layout_height="wrap_content" | 146 | android:layout_height="wrap_content" |
123 | - android:text="공지사항" /> | 147 | + android:text="APP 정보" /> |
124 | </LinearLayout> | 148 | </LinearLayout> |
125 | 149 | ||
126 | <LinearLayout | 150 | <LinearLayout |
127 | android:layout_width="match_parent" | 151 | android:layout_width="match_parent" |
128 | android:layout_height="wrap_content" | 152 | android:layout_height="wrap_content" |
153 | + android:layout_weight="1" | ||
154 | + android:gravity="center" | ||
129 | android:orientation="horizontal"> | 155 | android:orientation="horizontal"> |
130 | 156 | ||
131 | <Button | 157 | <Button |
132 | - android:id="@+id/InfoButtonFAQ" | 158 | + android:id="@+id/InfoButtonLaw" |
133 | android:layout_width="match_parent" | 159 | android:layout_width="match_parent" |
134 | android:layout_height="wrap_content" | 160 | android:layout_height="wrap_content" |
135 | - android:text="자주 묻는 질문" /> | 161 | + android:text="개인정보처리방침" /> |
136 | </LinearLayout> | 162 | </LinearLayout> |
137 | 163 | ||
138 | <LinearLayout | 164 | <LinearLayout |
139 | android:layout_width="match_parent" | 165 | android:layout_width="match_parent" |
140 | android:layout_height="wrap_content" | 166 | android:layout_height="wrap_content" |
167 | + android:layout_weight="1" | ||
168 | + android:gravity="center" | ||
141 | android:orientation="horizontal"> | 169 | android:orientation="horizontal"> |
142 | 170 | ||
143 | <Button | 171 | <Button |
... | @@ -150,25 +178,31 @@ | ... | @@ -150,25 +178,31 @@ |
150 | <LinearLayout | 178 | <LinearLayout |
151 | android:layout_width="match_parent" | 179 | android:layout_width="match_parent" |
152 | android:layout_height="wrap_content" | 180 | android:layout_height="wrap_content" |
181 | + android:layout_weight="1" | ||
182 | + android:gravity="center" | ||
153 | android:orientation="horizontal"> | 183 | android:orientation="horizontal"> |
154 | 184 | ||
155 | <Button | 185 | <Button |
156 | - android:id="@+id/InfoButtonLaw" | 186 | + android:id="@+id/InfoButtonFAQ" |
157 | android:layout_width="match_parent" | 187 | android:layout_width="match_parent" |
158 | android:layout_height="wrap_content" | 188 | android:layout_height="wrap_content" |
159 | - android:text="개인정보처리방침" /> | 189 | + android:text="자주 묻는 질문" /> |
160 | </LinearLayout> | 190 | </LinearLayout> |
161 | 191 | ||
162 | <LinearLayout | 192 | <LinearLayout |
163 | android:layout_width="match_parent" | 193 | android:layout_width="match_parent" |
164 | android:layout_height="wrap_content" | 194 | android:layout_height="wrap_content" |
195 | + android:layout_weight="1" | ||
196 | + android:gravity="center" | ||
165 | android:orientation="horizontal"> | 197 | android:orientation="horizontal"> |
166 | 198 | ||
167 | <Button | 199 | <Button |
168 | - android:id="@+id/InfoButtonApp" | 200 | + android:id="@+id/InfoButtonNotice" |
169 | android:layout_width="match_parent" | 201 | android:layout_width="match_parent" |
170 | android:layout_height="wrap_content" | 202 | android:layout_height="wrap_content" |
171 | - android:text="APP 정보" /> | 203 | + android:text="공지사항" /> |
204 | + </LinearLayout> | ||
205 | + | ||
172 | </LinearLayout> | 206 | </LinearLayout> |
173 | 207 | ||
174 | <FrameLayout | 208 | <FrameLayout | ... | ... |
... | @@ -69,4 +69,5 @@ | ... | @@ -69,4 +69,5 @@ |
69 | android:layout_gravity="center" | 69 | android:layout_gravity="center" |
70 | android:layout_weight="1" /> | 70 | android:layout_weight="1" /> |
71 | </LinearLayout> | 71 | </LinearLayout> |
72 | + | ||
72 | </LinearLayout> | 73 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -4,19 +4,25 @@ | ... | @@ -4,19 +4,25 @@ |
4 | android:orientation="horizontal" | 4 | android:orientation="horizontal" |
5 | android:layout_width="match_parent" | 5 | android:layout_width="match_parent" |
6 | android:layout_height="wrap_content" | 6 | android:layout_height="wrap_content" |
7 | - android:layout_margin="20dp"> | 7 | + android:layout_margin="3dp" |
8 | + android:background="@drawable/edgemaking"> | ||
8 | 9 | ||
9 | 10 | ||
10 | <ImageView | 11 | <ImageView |
11 | android:id="@+id/searchIcon" | 12 | android:id="@+id/searchIcon" |
12 | android:layout_width="100dp" | 13 | android:layout_width="100dp" |
13 | android:layout_height="wrap_content" | 14 | android:layout_height="wrap_content" |
14 | - android:adjustViewBounds="true"/> | 15 | + android:layout_gravity="center" |
16 | + android:layout_weight="0" | ||
17 | + android:adjustViewBounds="true" /> | ||
15 | 18 | ||
16 | <TextView | 19 | <TextView |
17 | android:id="@+id/searchIconText" | 20 | android:id="@+id/searchIconText" |
18 | - android:layout_width="150dp" | 21 | + android:layout_width="wrap_content" |
19 | android:layout_height="wrap_content" | 22 | android:layout_height="wrap_content" |
20 | - android:textSize="20sp"/> | 23 | + android:layout_gravity="center" |
24 | + android:layout_weight="1" | ||
25 | + android:gravity="center" | ||
26 | + android:textSize="20sp" /> | ||
21 | 27 | ||
22 | </LinearLayout> | 28 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | xmlns:tools="http://schemas.android.com/tools" | 4 | xmlns:tools="http://schemas.android.com/tools" |
5 | android:orientation="vertical" | 5 | android:orientation="vertical" |
6 | android:layout_width="match_parent" | 6 | android:layout_width="match_parent" |
7 | - android:layout_height="match_parent"> | 7 | + android:layout_height="wrap_content"> |
8 | 8 | ||
9 | <SearchView | 9 | <SearchView |
10 | android:id="@+id/searchForm" | 10 | android:id="@+id/searchForm" |
... | @@ -18,9 +18,8 @@ | ... | @@ -18,9 +18,8 @@ |
18 | <androidx.recyclerview.widget.RecyclerView | 18 | <androidx.recyclerview.widget.RecyclerView |
19 | android:id="@+id/searchRecyclerView" | 19 | android:id="@+id/searchRecyclerView" |
20 | android:layout_width="match_parent" | 20 | android:layout_width="match_parent" |
21 | - android:layout_height="340dp" | 21 | + android:layout_height="wrap_content" |
22 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" | 22 | app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
23 | - app:spanCount="3" | ||
24 | - app:layout_constraintBottom_toBottomOf="@id/bottomNavigation" | ||
25 | tools:listitem="@layout/item_search" /> | 23 | tools:listitem="@layout/item_search" /> |
24 | + | ||
26 | </LinearLayout> | 25 | </LinearLayout> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment