신기성

subscribe activated

Showing 28 changed files with 660 additions and 100 deletions
...@@ -3,16 +3,53 @@ package com.example.vip ...@@ -3,16 +3,53 @@ package com.example.vip
3 import android.content.Intent 3 import android.content.Intent
4 import androidx.appcompat.app.AppCompatActivity 4 import androidx.appcompat.app.AppCompatActivity
5 import android.os.Bundle 5 import android.os.Bundle
6 +import android.widget.Toast
7 +import com.google.android.gms.tasks.OnCompleteListener
8 +import com.google.firebase.auth.FirebaseAuth
9 +import com.google.firebase.database.FirebaseDatabase
10 +import com.google.firebase.iid.FirebaseInstanceId
6 import kotlinx.android.synthetic.main.activity_input_profil_first_one.* 11 import kotlinx.android.synthetic.main.activity_input_profil_first_one.*
7 12
8 class InputProfilFirstOneActivity : AppCompatActivity() { 13 class InputProfilFirstOneActivity : AppCompatActivity() {
9 14
15 + private val firebaseAuth = FirebaseAuth.getInstance()
16 + val user_db = FirebaseDatabase.getInstance("https://capstone-vip-user.firebaseio.com/").reference
17 +
18 + private fun sendToken(){
19 + FirebaseInstanceId.getInstance().instanceId
20 + .addOnCompleteListener(OnCompleteListener { task ->
21 + if (!task.isSuccessful) {
22 + //Log.w(TAG, "getInstanceId failed", task.exception)
23 + return@OnCompleteListener
24 + }
25 +
26 + // Get new Instance ID token
27 + tkn = task.result!!.token
28 +
29 + // Log and toast
30 + val msg = getString(R.string.msg_token_fmt, tkn)
31 + //Log.d(TAG, msg)
32 + Toast.makeText(baseContext, msg, Toast.LENGTH_SHORT).show()
33 + })
34 + }
35 +
36 + private fun writeNewUser(u_id: String, u_token: String, Policy: String?) {
37 + val user = User(u_token, Policy!!)
38 + user_db.child(u_id).setValue(user)/// .setValue(user)
39 + }
40 +
41 +
42 +
43 +
44 +
10 override fun onCreate(savedInstanceState: Bundle?) { 45 override fun onCreate(savedInstanceState: Bundle?) {
11 super.onCreate(savedInstanceState) 46 super.onCreate(savedInstanceState)
12 setContentView(R.layout.activity_input_profil_first_one) 47 setContentView(R.layout.activity_input_profil_first_one)
13 48
14 49
15 50
51 +
52 +
16 inputStartButton.setOnClickListener { 53 inputStartButton.setOnClickListener {
17 var intent = Intent(this, InputProfilFirstTwoActivity::class.java) 54 var intent = Intent(this, InputProfilFirstTwoActivity::class.java)
18 startActivity(intent) 55 startActivity(intent)
......
...@@ -181,6 +181,9 @@ class InputProfilSecondOneActivity : AppCompatActivity() { ...@@ -181,6 +181,9 @@ class InputProfilSecondOneActivity : AppCompatActivity() {
181 // debug 181 // debug
182 // Log.d("topic : ", topic) 182 // Log.d("topic : ", topic)
183 183
184 + FirebaseMessaging.getInstance().subscribeToTopic(topic).addOnCompleteListener { task ->
185 + if (!task.isSuccessful) { } // 성공
186 + }
184 /* topic 구독 코드 187 /* topic 구독 코드
185 FirebaseMessaging.getInstance().subscribeToTopic(topic).addOnCompleteListener { task -> 188 FirebaseMessaging.getInstance().subscribeToTopic(topic).addOnCompleteListener { task ->
186 if (!task.isSuccessful) { } // 성공 189 if (!task.isSuccessful) { } // 성공
......
1 package com.example.vip 1 package com.example.vip
2 2
3 +import android.content.Context
3 import android.content.Intent 4 import android.content.Intent
5 +import android.content.SharedPreferences
4 import android.os.Bundle 6 import android.os.Bundle
5 import android.view.Menu 7 import android.view.Menu
6 import android.view.MenuItem 8 import android.view.MenuItem
...@@ -29,6 +31,9 @@ class SignInActivity : AppCompatActivity() { ...@@ -29,6 +31,9 @@ class SignInActivity : AppCompatActivity() {
29 val dialogView = layoutInflater.inflate(R.layout.dialog_example, null) 31 val dialogView = layoutInflater.inflate(R.layout.dialog_example, null)
30 //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt) 32 //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
31 //val dialogRatingBar = dialogView.findViewById<RatingBar>(R.id.dialogRb) 33 //val dialogRatingBar = dialogView.findViewById<RatingBar>(R.id.dialogRb)
34 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
35 + val editor: SharedPreferences.Editor=prof.edit()
36 +
32 dialogView.findViewById<TextView>(R.id.dialogTitle).text="프로필을 입력해주세요!" 37 dialogView.findViewById<TextView>(R.id.dialogTitle).text="프로필을 입력해주세요!"
33 dialogView.findViewById<TextView>(R.id.dialogContent).text="정확한 정책 추천을 얻으려면 더 많은 프로필 정보가 필요해요!" 38 dialogView.findViewById<TextView>(R.id.dialogContent).text="정확한 정책 추천을 얻으려면 더 많은 프로필 정보가 필요해요!"
34 39
...@@ -39,7 +44,8 @@ class SignInActivity : AppCompatActivity() { ...@@ -39,7 +44,8 @@ class SignInActivity : AppCompatActivity() {
39 /* 확인일 때 main의 View의 값에 dialog View에 있는 값을 적용 */ 44 /* 확인일 때 main의 View의 값에 dialog View에 있는 값을 적용 */
40 } 45 }
41 .setNegativeButton("지금할게요 :)") { dialogInterface, i -> 46 .setNegativeButton("지금할게요 :)") { dialogInterface, i ->
42 - /* 취소일 때 아무 액션이 없으므로 빈칸 */ 47 + editor.clear()
48 +
43 val intent = Intent(this, InputProfilFirstOneActivity::class.java) 49 val intent = Intent(this, InputProfilFirstOneActivity::class.java)
44 startActivity(intent) 50 startActivity(intent)
45 } 51 }
......
...@@ -4,13 +4,64 @@ ...@@ -4,13 +4,64 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 - tools:context=".InputProfilFirstFiveActivity"> 7 + tools:context=".InputProfilFourthFiveActivity">
8 8
9 <LinearLayout 9 <LinearLayout
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 + <androidx.appcompat.widget.Toolbar
15 + android:id="@+id/toolbar"
16 + android:layout_width="fill_parent"
17 + android:layout_height="wrap_content"
18 + android:layout_marginBottom="11dp"
19 + android:background="#FFF"
20 + android:elevation="5dp"
21 + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 +
24 + <LinearLayout
25 + android:layout_width="match_parent"
26 + android:layout_height="match_parent"
27 + android:orientation="horizontal">
28 +
29 + <Button
30 + android:id="@+id/skipButton"
31 + android:layout_width="10dp"
32 + android:layout_height="match_parent"
33 + android:layout_weight="1.5"
34 + android:background="#FFFFFF"
35 + android:text="나가기"
36 + android:textColor="#29ABE2"
37 + android:textSize="16dp" />
38 + <LinearLayout
39 + android:layout_width="10dp"
40 + android:layout_height="match_parent"
41 + android:orientation="horizontal"
42 + android:layout_weight="1"/>
43 + <ImageView
44 + android:layout_width="77dp"
45 + android:layout_height="44dp"
46 + android:layout_gravity="center"
47 + android:layout_weight="1"
48 + android:src="@drawable/toolbar_logo" />
49 + <LinearLayout
50 + android:layout_width="10dp"
51 + android:layout_height="match_parent"
52 + android:orientation="horizontal"
53 + android:layout_weight="1"/>
54 + <LinearLayout
55 + android:layout_width="10dp"
56 + android:layout_height="match_parent"
57 + android:orientation="horizontal"
58 + android:layout_weight="1.5"/>
59 +
60 + </LinearLayout>
61 +
62 +
63 + </androidx.appcompat.widget.Toolbar>
64 +
14 <LinearLayout 65 <LinearLayout
15 android:layout_width="match_parent" 66 android:layout_width="match_parent"
16 android:layout_height="50dp" 67 android:layout_height="50dp"
...@@ -20,20 +71,52 @@ ...@@ -20,20 +71,52 @@
20 <TextView 71 <TextView
21 android:id="@+id/stageTextView1" 72 android:id="@+id/stageTextView1"
22 android:layout_width="wrap_content" 73 android:layout_width="wrap_content"
23 - android:layout_height="wrap_content" 74 + android:layout_height="match_parent"
24 android:layout_gravity="center" 75 android:layout_gravity="center"
25 android:layout_weight="1" 76 android:layout_weight="1"
77 + android:background="#1E90FF"
26 android:gravity="center" 78 android:gravity="center"
27 - android:text="1단계" /> 79 + android:text="1" />
28 80
29 <TextView 81 <TextView
30 - android:id="@+id/neccesaryTextView" 82 + android:id="@+id/stageTextView2"
31 android:layout_width="wrap_content" 83 android:layout_width="wrap_content"
32 - android:layout_height="wrap_content" 84 + android:layout_height="match_parent"
85 + android:layout_gravity="center"
86 + android:layout_weight="1"
87 + android:background="#1E90FF"
88 + android:gravity="center"
89 + android:text="2" />
90 +
91 + <TextView
92 + android:id="@+id/stageTextView3"
93 + android:layout_width="wrap_content"
94 + android:layout_height="match_parent"
95 + android:layout_gravity="center"
96 + android:layout_weight="1"
97 + android:background="#1E90FF"
98 + android:gravity="center"
99 + android:text="3" />
100 +
101 + <TextView
102 + android:id="@+id/stageTextView4"
103 + android:layout_width="wrap_content"
104 + android:layout_height="match_parent"
33 android:layout_gravity="center" 105 android:layout_gravity="center"
34 android:layout_weight="1" 106 android:layout_weight="1"
107 + android:background="#1E90FF"
35 android:gravity="center" 108 android:gravity="center"
36 - android:text="필수항목" /> 109 + android:text="4" />
110 +
111 + <TextView
112 + android:id="@+id/stageTextView5"
113 + android:layout_width="wrap_content"
114 + android:layout_height="match_parent"
115 + android:layout_gravity="center"
116 + android:layout_weight="1"
117 + android:gravity="center"
118 + android:text="5" />
119 +
37 </LinearLayout> 120 </LinearLayout>
38 121
39 <LinearLayout 122 <LinearLayout
...@@ -53,6 +136,10 @@ ...@@ -53,6 +136,10 @@
53 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
54 android:orientation="vertical"> 137 android:orientation="vertical">
55 138
139 + <RelativeLayout
140 + android:layout_width="match_parent"
141 + android:layout_height="match_parent">
142 +
56 <TextView 143 <TextView
57 android:id="@+id/explainTextView" 144 android:id="@+id/explainTextView"
58 android:layout_width="match_parent" 145 android:layout_width="match_parent"
...@@ -60,21 +147,35 @@ ...@@ -60,21 +147,35 @@
60 android:layout_gravity="center" 147 android:layout_gravity="center"
61 android:gravity="center" 148 android:gravity="center"
62 android:text="4. 내/외국인 여부를 선택해주세요." /> 149 android:text="4. 내/외국인 여부를 선택해주세요." />
150 + <Button
151 + android:id="@+id/questionButton"
152 + android:layout_width="30dp"
153 + android:layout_height="30dp"
154 + android:layout_gravity="center"
155 + android:layout_toRightOf="@id/explainTextView"
156 + android:backgroundTint="#1E90FF"
157 + android:gravity="center"
158 + android:text=" ? "
159 + android:textSize="8sp" />
160 + </RelativeLayout>
63 </LinearLayout> 161 </LinearLayout>
64 162
65 <LinearLayout 163 <LinearLayout
66 android:layout_width="match_parent" 164 android:layout_width="match_parent"
67 android:layout_height="50dp" 165 android:layout_height="50dp"
68 android:layout_weight="1" 166 android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout> 167 + android:orientation="vertical">
168 +
169 + </LinearLayout>
170 +
171 + <ScrollView
172 + android:layout_width="match_parent"
173 + android:layout_height="wrap_content">
70 174
71 <LinearLayout 175 <LinearLayout
72 - android:layout_width="wrap_content" 176 + android:layout_width="match_parent"
73 android:layout_height="wrap_content" 177 android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 android:orientation="vertical"> 178 android:orientation="vertical">
77 -
78 <ToggleButton 179 <ToggleButton
79 android:id="@+id/inmanButton" 180 android:id="@+id/inmanButton"
80 android:layout_width="match_parent" 181 android:layout_width="match_parent"
...@@ -95,6 +196,9 @@ ...@@ -95,6 +196,9 @@
95 196
96 </LinearLayout> 197 </LinearLayout>
97 198
199 +
200 + </ScrollView>
201 +
98 <LinearLayout 202 <LinearLayout
99 android:layout_width="match_parent" 203 android:layout_width="match_parent"
100 android:layout_height="100dp" 204 android:layout_height="100dp"
...@@ -113,12 +217,6 @@ ...@@ -113,12 +217,6 @@
113 android:layout_weight="1" 217 android:layout_weight="1"
114 android:text="이전 단계로" /> 218 android:text="이전 단계로" />
115 219
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 <Button 220 <Button
123 android:id="@+id/nextButton" 221 android:id="@+id/nextButton"
124 android:layout_width="10dp" 222 android:layout_width="10dp"
......
...@@ -4,13 +4,64 @@ ...@@ -4,13 +4,64 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 - tools:context=".InputProfilFirstFourActivity"> 7 + tools:context=".InputProfilFourthFiveActivity">
8 8
9 <LinearLayout 9 <LinearLayout
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 + <androidx.appcompat.widget.Toolbar
15 + android:id="@+id/toolbar"
16 + android:layout_width="fill_parent"
17 + android:layout_height="wrap_content"
18 + android:layout_marginBottom="11dp"
19 + android:background="#FFF"
20 + android:elevation="5dp"
21 + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 +
24 + <LinearLayout
25 + android:layout_width="match_parent"
26 + android:layout_height="match_parent"
27 + android:orientation="horizontal">
28 +
29 + <Button
30 + android:id="@+id/skipButton"
31 + android:layout_width="10dp"
32 + android:layout_height="match_parent"
33 + android:layout_weight="1.5"
34 + android:background="#FFFFFF"
35 + android:text="나가기"
36 + android:textColor="#29ABE2"
37 + android:textSize="16dp" />
38 + <LinearLayout
39 + android:layout_width="10dp"
40 + android:layout_height="match_parent"
41 + android:orientation="horizontal"
42 + android:layout_weight="1"/>
43 + <ImageView
44 + android:layout_width="77dp"
45 + android:layout_height="44dp"
46 + android:layout_gravity="center"
47 + android:layout_weight="1"
48 + android:src="@drawable/toolbar_logo" />
49 + <LinearLayout
50 + android:layout_width="10dp"
51 + android:layout_height="match_parent"
52 + android:orientation="horizontal"
53 + android:layout_weight="1"/>
54 + <LinearLayout
55 + android:layout_width="10dp"
56 + android:layout_height="match_parent"
57 + android:orientation="horizontal"
58 + android:layout_weight="1.5"/>
59 +
60 + </LinearLayout>
61 +
62 +
63 + </androidx.appcompat.widget.Toolbar>
64 +
14 <LinearLayout 65 <LinearLayout
15 android:layout_width="match_parent" 66 android:layout_width="match_parent"
16 android:layout_height="50dp" 67 android:layout_height="50dp"
...@@ -20,20 +71,52 @@ ...@@ -20,20 +71,52 @@
20 <TextView 71 <TextView
21 android:id="@+id/stageTextView1" 72 android:id="@+id/stageTextView1"
22 android:layout_width="wrap_content" 73 android:layout_width="wrap_content"
23 - android:layout_height="wrap_content" 74 + android:layout_height="match_parent"
24 android:layout_gravity="center" 75 android:layout_gravity="center"
25 android:layout_weight="1" 76 android:layout_weight="1"
77 + android:background="#1E90FF"
26 android:gravity="center" 78 android:gravity="center"
27 - android:text="1단계" /> 79 + android:text="1" />
28 80
29 <TextView 81 <TextView
30 - android:id="@+id/neccesaryTextView" 82 + android:id="@+id/stageTextView2"
31 android:layout_width="wrap_content" 83 android:layout_width="wrap_content"
32 - android:layout_height="wrap_content" 84 + android:layout_height="match_parent"
85 + android:layout_gravity="center"
86 + android:layout_weight="1"
87 + android:background="#1E90FF"
88 + android:gravity="center"
89 + android:text="2" />
90 +
91 + <TextView
92 + android:id="@+id/stageTextView3"
93 + android:layout_width="wrap_content"
94 + android:layout_height="match_parent"
95 + android:layout_gravity="center"
96 + android:layout_weight="1"
97 + android:background="#1E90FF"
98 + android:gravity="center"
99 + android:text="3" />
100 +
101 + <TextView
102 + android:id="@+id/stageTextView4"
103 + android:layout_width="wrap_content"
104 + android:layout_height="match_parent"
105 + android:layout_gravity="center"
106 + android:layout_weight="1"
107 + android:background="#1E90FF"
108 + android:gravity="center"
109 + android:text="4" />
110 +
111 + <TextView
112 + android:id="@+id/stageTextView5"
113 + android:layout_width="wrap_content"
114 + android:layout_height="match_parent"
33 android:layout_gravity="center" 115 android:layout_gravity="center"
34 android:layout_weight="1" 116 android:layout_weight="1"
35 android:gravity="center" 117 android:gravity="center"
36 - android:text="필수항목" /> 118 + android:text="5" />
119 +
37 </LinearLayout> 120 </LinearLayout>
38 121
39 <LinearLayout 122 <LinearLayout
...@@ -53,26 +136,47 @@ ...@@ -53,26 +136,47 @@
53 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
54 android:orientation="vertical"> 137 android:orientation="vertical">
55 138
139 + <RelativeLayout
140 + android:layout_width="match_parent"
141 + android:layout_height="match_parent">
142 +
56 <TextView 143 <TextView
57 android:id="@+id/explainTextView" 144 android:id="@+id/explainTextView"
58 - android:layout_width="match_parent" 145 + android:layout_width="wrap_content"
59 android:layout_height="wrap_content" 146 android:layout_height="wrap_content"
147 + android:layout_centerInParent="true"
60 android:layout_gravity="center" 148 android:layout_gravity="center"
61 android:gravity="center" 149 android:gravity="center"
62 - android:text="3. 주민등록상 거주지를 선택해 주세요." /> 150 + android:text="3. 자신의 주민등록상 거주지를 선택해주세요." />
151 +
152 + <Button
153 + android:id="@+id/questionButton"
154 + android:layout_width="30dp"
155 + android:layout_height="30dp"
156 + android:layout_gravity="center"
157 + android:layout_toRightOf="@id/explainTextView"
158 + android:backgroundTint="#1E90FF"
159 + android:gravity="center"
160 + android:text=" ? "
161 + android:textSize="8sp" />
162 + </RelativeLayout>
63 </LinearLayout> 163 </LinearLayout>
64 164
65 <LinearLayout 165 <LinearLayout
66 android:layout_width="match_parent" 166 android:layout_width="match_parent"
67 android:layout_height="50dp" 167 android:layout_height="50dp"
68 android:layout_weight="1" 168 android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout> 169 + android:orientation="vertical">
170 +
171 + </LinearLayout>
172 +
173 + <ScrollView
174 + android:layout_width="match_parent"
175 + android:layout_height="wrap_content">
70 176
71 <LinearLayout 177 <LinearLayout
72 - android:layout_width="wrap_content" 178 + android:layout_width="match_parent"
73 android:layout_height="wrap_content" 179 android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 android:orientation="vertical"> 180 android:orientation="vertical">
77 181
78 <TextView 182 <TextView
...@@ -96,8 +200,8 @@ ...@@ -96,8 +200,8 @@
96 android:id="@+id/gooSpinner" 200 android:id="@+id/gooSpinner"
97 android:layout_width="fill_parent" 201 android:layout_width="fill_parent"
98 android:layout_height="wrap_content" /> 202 android:layout_height="wrap_content" />
99 -
100 </LinearLayout> 203 </LinearLayout>
204 + </ScrollView>
101 205
102 <LinearLayout 206 <LinearLayout
103 android:layout_width="match_parent" 207 android:layout_width="match_parent"
...@@ -117,12 +221,6 @@ ...@@ -117,12 +221,6 @@
117 android:layout_weight="1" 221 android:layout_weight="1"
118 android:text="이전 단계로" /> 222 android:text="이전 단계로" />
119 223
120 - <LinearLayout
121 - android:layout_width="10dp"
122 - android:layout_height="match_parent"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 <Button 224 <Button
127 android:id="@+id/nextButton" 225 android:id="@+id/nextButton"
128 android:layout_width="10dp" 226 android:layout_width="10dp"
......
...@@ -4,13 +4,64 @@ ...@@ -4,13 +4,64 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 - tools:context=".InputProfilFirstSixActivity"> 7 + tools:context=".InputProfilFourthFiveActivity">
8 8
9 <LinearLayout 9 <LinearLayout
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 + <androidx.appcompat.widget.Toolbar
15 + android:id="@+id/toolbar"
16 + android:layout_width="fill_parent"
17 + android:layout_height="wrap_content"
18 + android:layout_marginBottom="11dp"
19 + android:background="#FFF"
20 + android:elevation="5dp"
21 + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 +
24 + <LinearLayout
25 + android:layout_width="match_parent"
26 + android:layout_height="match_parent"
27 + android:orientation="horizontal">
28 +
29 + <Button
30 + android:id="@+id/skipButton"
31 + android:layout_width="10dp"
32 + android:layout_height="match_parent"
33 + android:layout_weight="1.5"
34 + android:background="#FFFFFF"
35 + android:text="나가기"
36 + android:textColor="#29ABE2"
37 + android:textSize="16dp" />
38 + <LinearLayout
39 + android:layout_width="10dp"
40 + android:layout_height="match_parent"
41 + android:orientation="horizontal"
42 + android:layout_weight="1"/>
43 + <ImageView
44 + android:layout_width="77dp"
45 + android:layout_height="44dp"
46 + android:layout_gravity="center"
47 + android:layout_weight="1"
48 + android:src="@drawable/toolbar_logo" />
49 + <LinearLayout
50 + android:layout_width="10dp"
51 + android:layout_height="match_parent"
52 + android:orientation="horizontal"
53 + android:layout_weight="1"/>
54 + <LinearLayout
55 + android:layout_width="10dp"
56 + android:layout_height="match_parent"
57 + android:orientation="horizontal"
58 + android:layout_weight="1.5"/>
59 +
60 + </LinearLayout>
61 +
62 +
63 + </androidx.appcompat.widget.Toolbar>
64 +
14 <LinearLayout 65 <LinearLayout
15 android:layout_width="match_parent" 66 android:layout_width="match_parent"
16 android:layout_height="50dp" 67 android:layout_height="50dp"
...@@ -20,20 +71,52 @@ ...@@ -20,20 +71,52 @@
20 <TextView 71 <TextView
21 android:id="@+id/stageTextView1" 72 android:id="@+id/stageTextView1"
22 android:layout_width="wrap_content" 73 android:layout_width="wrap_content"
23 - android:layout_height="wrap_content" 74 + android:layout_height="match_parent"
24 android:layout_gravity="center" 75 android:layout_gravity="center"
25 android:layout_weight="1" 76 android:layout_weight="1"
77 + android:background="#1E90FF"
26 android:gravity="center" 78 android:gravity="center"
27 - android:text="1단계" /> 79 + android:text="1" />
28 80
29 <TextView 81 <TextView
30 - android:id="@+id/neccesaryTextView" 82 + android:id="@+id/stageTextView2"
31 android:layout_width="wrap_content" 83 android:layout_width="wrap_content"
32 - android:layout_height="wrap_content" 84 + android:layout_height="match_parent"
85 + android:layout_gravity="center"
86 + android:layout_weight="1"
87 + android:background="#1E90FF"
88 + android:gravity="center"
89 + android:text="2" />
90 +
91 + <TextView
92 + android:id="@+id/stageTextView3"
93 + android:layout_width="wrap_content"
94 + android:layout_height="match_parent"
33 android:layout_gravity="center" 95 android:layout_gravity="center"
34 android:layout_weight="1" 96 android:layout_weight="1"
97 + android:background="#1E90FF"
35 android:gravity="center" 98 android:gravity="center"
36 - android:text="필수항목" /> 99 + android:text="3" />
100 +
101 + <TextView
102 + android:id="@+id/stageTextView4"
103 + android:layout_width="wrap_content"
104 + android:layout_height="match_parent"
105 + android:layout_gravity="center"
106 + android:layout_weight="1"
107 + android:background="#1E90FF"
108 + android:gravity="center"
109 + android:text="4" />
110 +
111 + <TextView
112 + android:id="@+id/stageTextView5"
113 + android:layout_width="wrap_content"
114 + android:layout_height="match_parent"
115 + android:layout_gravity="center"
116 + android:layout_weight="1"
117 + android:gravity="center"
118 + android:text="5" />
119 +
37 </LinearLayout> 120 </LinearLayout>
38 121
39 <LinearLayout 122 <LinearLayout
...@@ -53,6 +136,10 @@ ...@@ -53,6 +136,10 @@
53 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
54 android:orientation="vertical"> 137 android:orientation="vertical">
55 138
139 + <RelativeLayout
140 + android:layout_width="match_parent"
141 + android:layout_height="match_parent">
142 +
56 <TextView 143 <TextView
57 android:id="@+id/explainTextView" 144 android:id="@+id/explainTextView"
58 android:layout_width="match_parent" 145 android:layout_width="match_parent"
...@@ -60,19 +147,34 @@ ...@@ -60,19 +147,34 @@
60 android:layout_gravity="center" 147 android:layout_gravity="center"
61 android:gravity="center" 148 android:gravity="center"
62 android:text="5. 가구주 여부를 선택해 주세요" /> 149 android:text="5. 가구주 여부를 선택해 주세요" />
150 + <Button
151 + android:id="@+id/questionButton"
152 + android:layout_width="30dp"
153 + android:layout_height="30dp"
154 + android:layout_gravity="center"
155 + android:layout_toRightOf="@id/explainTextView"
156 + android:backgroundTint="#1E90FF"
157 + android:gravity="center"
158 + android:text=" ? "
159 + android:textSize="8sp" />
160 + </RelativeLayout>
63 </LinearLayout> 161 </LinearLayout>
64 162
65 <LinearLayout 163 <LinearLayout
66 android:layout_width="match_parent" 164 android:layout_width="match_parent"
67 android:layout_height="50dp" 165 android:layout_height="50dp"
68 android:layout_weight="1" 166 android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout> 167 + android:orientation="vertical">
168 +
169 + </LinearLayout>
170 +
171 + <ScrollView
172 + android:layout_width="match_parent"
173 + android:layout_height="wrap_content">
70 174
71 <LinearLayout 175 <LinearLayout
72 - android:layout_width="wrap_content" 176 + android:layout_width="match_parent"
73 android:layout_height="wrap_content" 177 android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 android:orientation="vertical"> 178 android:orientation="vertical">
77 179
78 <ToggleButton 180 <ToggleButton
...@@ -91,9 +193,10 @@ ...@@ -91,9 +193,10 @@
91 android:background="@drawable/profil_selector" 193 android:background="@drawable/profil_selector"
92 android:text="가구원" 194 android:text="가구원"
93 android:textOff="가구원" 195 android:textOff="가구원"
94 - android:textOn="외국인" /> 196 + android:textOn="가구원" />
95 197
96 </LinearLayout> 198 </LinearLayout>
199 + </ScrollView>
97 200
98 <LinearLayout 201 <LinearLayout
99 android:layout_width="match_parent" 202 android:layout_width="match_parent"
...@@ -113,12 +216,6 @@ ...@@ -113,12 +216,6 @@
113 android:layout_weight="1" 216 android:layout_weight="1"
114 android:text="이전 단계로" /> 217 android:text="이전 단계로" />
115 218
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 <Button 219 <Button
123 android:id="@+id/nextButton" 220 android:id="@+id/nextButton"
124 android:layout_width="10dp" 221 android:layout_width="10dp"
......
...@@ -4,13 +4,64 @@ ...@@ -4,13 +4,64 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 - tools:context=".InputProfilFirstThreeActivity"> 7 + tools:context=".InputProfilFourthFiveActivity">
8 8
9 <LinearLayout 9 <LinearLayout
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 + <androidx.appcompat.widget.Toolbar
15 + android:id="@+id/toolbar"
16 + android:layout_width="fill_parent"
17 + android:layout_height="wrap_content"
18 + android:layout_marginBottom="11dp"
19 + android:background="#FFF"
20 + android:elevation="5dp"
21 + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 +
24 + <LinearLayout
25 + android:layout_width="match_parent"
26 + android:layout_height="match_parent"
27 + android:orientation="horizontal">
28 +
29 + <Button
30 + android:id="@+id/skipButton"
31 + android:layout_width="10dp"
32 + android:layout_height="match_parent"
33 + android:layout_weight="1.5"
34 + android:background="#FFFFFF"
35 + android:text="나가기"
36 + android:textColor="#29ABE2"
37 + android:textSize="16dp" />
38 + <LinearLayout
39 + android:layout_width="10dp"
40 + android:layout_height="match_parent"
41 + android:orientation="horizontal"
42 + android:layout_weight="1"/>
43 + <ImageView
44 + android:layout_width="77dp"
45 + android:layout_height="44dp"
46 + android:layout_gravity="center"
47 + android:layout_weight="1"
48 + android:src="@drawable/toolbar_logo" />
49 + <LinearLayout
50 + android:layout_width="10dp"
51 + android:layout_height="match_parent"
52 + android:orientation="horizontal"
53 + android:layout_weight="1"/>
54 + <LinearLayout
55 + android:layout_width="10dp"
56 + android:layout_height="match_parent"
57 + android:orientation="horizontal"
58 + android:layout_weight="1.5"/>
59 +
60 + </LinearLayout>
61 +
62 +
63 + </androidx.appcompat.widget.Toolbar>
64 +
14 <LinearLayout 65 <LinearLayout
15 android:layout_width="match_parent" 66 android:layout_width="match_parent"
16 android:layout_height="50dp" 67 android:layout_height="50dp"
...@@ -20,20 +71,52 @@ ...@@ -20,20 +71,52 @@
20 <TextView 71 <TextView
21 android:id="@+id/stageTextView1" 72 android:id="@+id/stageTextView1"
22 android:layout_width="wrap_content" 73 android:layout_width="wrap_content"
23 - android:layout_height="wrap_content" 74 + android:layout_height="match_parent"
24 android:layout_gravity="center" 75 android:layout_gravity="center"
25 android:layout_weight="1" 76 android:layout_weight="1"
77 + android:background="#1E90FF"
26 android:gravity="center" 78 android:gravity="center"
27 - android:text="1단계" /> 79 + android:text="1" />
28 80
29 <TextView 81 <TextView
30 - android:id="@+id/neccesaryTextView" 82 + android:id="@+id/stageTextView2"
31 android:layout_width="wrap_content" 83 android:layout_width="wrap_content"
32 - android:layout_height="wrap_content" 84 + android:layout_height="match_parent"
85 + android:layout_gravity="center"
86 + android:layout_weight="1"
87 + android:background="#1E90FF"
88 + android:gravity="center"
89 + android:text="2" />
90 +
91 + <TextView
92 + android:id="@+id/stageTextView3"
93 + android:layout_width="wrap_content"
94 + android:layout_height="match_parent"
95 + android:layout_gravity="center"
96 + android:layout_weight="1"
97 + android:background="#1E90FF"
98 + android:gravity="center"
99 + android:text="3" />
100 +
101 + <TextView
102 + android:id="@+id/stageTextView4"
103 + android:layout_width="wrap_content"
104 + android:layout_height="match_parent"
105 + android:layout_gravity="center"
106 + android:layout_weight="1"
107 + android:background="#1E90FF"
108 + android:gravity="center"
109 + android:text="4" />
110 +
111 + <TextView
112 + android:id="@+id/stageTextView5"
113 + android:layout_width="wrap_content"
114 + android:layout_height="match_parent"
33 android:layout_gravity="center" 115 android:layout_gravity="center"
34 android:layout_weight="1" 116 android:layout_weight="1"
35 android:gravity="center" 117 android:gravity="center"
36 - android:text="필수항목" /> 118 + android:text="5" />
119 +
37 </LinearLayout> 120 </LinearLayout>
38 121
39 <LinearLayout 122 <LinearLayout
...@@ -53,6 +136,10 @@ ...@@ -53,6 +136,10 @@
53 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
54 android:orientation="vertical"> 137 android:orientation="vertical">
55 138
139 + <RelativeLayout
140 + android:layout_width="match_parent"
141 + android:layout_height="match_parent">
142 +
56 <TextView 143 <TextView
57 android:id="@+id/explainTextView" 144 android:id="@+id/explainTextView"
58 android:layout_width="match_parent" 145 android:layout_width="match_parent"
...@@ -60,40 +147,81 @@ ...@@ -60,40 +147,81 @@
60 android:layout_gravity="center" 147 android:layout_gravity="center"
61 android:gravity="center" 148 android:gravity="center"
62 android:text="2. 성별을 선택해 주세요." /> 149 android:text="2. 성별을 선택해 주세요." />
150 + <Button
151 + android:id="@+id/questionButton"
152 + android:layout_width="30dp"
153 + android:layout_height="30dp"
154 + android:layout_gravity="center"
155 + android:layout_toRightOf="@id/explainTextView"
156 + android:backgroundTint="#1E90FF"
157 + android:gravity="center"
158 + android:text=" ? "
159 + android:textSize="8sp" />
160 + </RelativeLayout>
63 </LinearLayout> 161 </LinearLayout>
64 162
65 <LinearLayout 163 <LinearLayout
66 android:layout_width="match_parent" 164 android:layout_width="match_parent"
67 android:layout_height="50dp" 165 android:layout_height="50dp"
68 android:layout_weight="1" 166 android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout> 167 + android:orientation="vertical">
168 +
169 + </LinearLayout>
170 +
171 + <ScrollView
172 + android:layout_width="match_parent"
173 + android:layout_height="wrap_content">
70 174
71 <LinearLayout 175 <LinearLayout
72 - android:layout_width="wrap_content" 176 + android:layout_width="match_parent"
73 android:layout_height="wrap_content" 177 android:layout_height="wrap_content"
178 + android:orientation="vertical">
179 +
180 + <LinearLayout
181 + android:layout_width="match_parent"
182 + android:layout_height="match_parent"
74 android:layout_gravity="center" 183 android:layout_gravity="center"
75 android:gravity="center" 184 android:gravity="center"
76 android:orientation="vertical"> 185 android:orientation="vertical">
77 186
78 - <RadioGroup 187 + <LinearLayout
79 - android:id="@+id/radio_group"
80 android:layout_width="match_parent" 188 android:layout_width="match_parent"
81 - android:layout_height="match_parent"> 189 + android:layout_height="match_parent"
190 + android:orientation="horizontal">
82 191
83 - <RadioButton 192 + <ToggleButton
84 android:id="@+id/manButton" 193 android:id="@+id/manButton"
85 - android:layout_width="match_parent" 194 + android:layout_width="300dp"
86 android:layout_height="wrap_content" 195 android:layout_height="wrap_content"
87 - android:text="남자" /> 196 + android:layout_weight="1"
197 + android:background="@drawable/profil_selector"
198 + android:text="남자"
199 + android:textOff="남자"
200 + android:textOn="남자" />
88 201
89 - <RadioButton 202 + </LinearLayout>
90 - android:id="@+id/womanButton" 203 +
204 +
205 + <LinearLayout
91 android:layout_width="match_parent" 206 android:layout_width="match_parent"
207 + android:layout_height="match_parent"
208 + android:orientation="horizontal">
209 +
210 + <ToggleButton
211 + android:id="@+id/womanButton"
212 + android:layout_width="300dp"
92 android:layout_height="wrap_content" 213 android:layout_height="wrap_content"
93 - android:text="여자" /> 214 + android:layout_weight="1"
94 - </RadioGroup> 215 + android:background="@drawable/profil_selector"
216 + android:text="여자"
217 + android:textOff="여자"
218 + android:textOn="여자" />
219 + </LinearLayout>
95 220
96 </LinearLayout> 221 </LinearLayout>
222 + </LinearLayout>
223 +
224 + </ScrollView>
97 225
98 <LinearLayout 226 <LinearLayout
99 android:layout_width="match_parent" 227 android:layout_width="match_parent"
...@@ -113,12 +241,6 @@ ...@@ -113,12 +241,6 @@
113 android:layout_weight="1" 241 android:layout_weight="1"
114 android:text="이전 단계로" /> 242 android:text="이전 단계로" />
115 243
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 <Button 244 <Button
123 android:id="@+id/nextButton" 245 android:id="@+id/nextButton"
124 android:layout_width="10dp" 246 android:layout_width="10dp"
......
...@@ -4,13 +4,64 @@ ...@@ -4,13 +4,64 @@
4 xmlns:tools="http://schemas.android.com/tools" 4 xmlns:tools="http://schemas.android.com/tools"
5 android:layout_width="match_parent" 5 android:layout_width="match_parent"
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 - tools:context=".InputProfilFirstTwoActivity"> 7 + tools:context=".InputProfilFourthFiveActivity">
8 8
9 <LinearLayout 9 <LinearLayout
10 android:layout_width="match_parent" 10 android:layout_width="match_parent"
11 android:layout_height="match_parent" 11 android:layout_height="match_parent"
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 + <androidx.appcompat.widget.Toolbar
15 + android:id="@+id/toolbar"
16 + android:layout_width="fill_parent"
17 + android:layout_height="wrap_content"
18 + android:layout_marginBottom="11dp"
19 + android:background="#FFF"
20 + android:elevation="5dp"
21 + android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 +
24 + <LinearLayout
25 + android:layout_width="match_parent"
26 + android:layout_height="match_parent"
27 + android:orientation="horizontal">
28 +
29 + <Button
30 + android:id="@+id/skipButton"
31 + android:layout_width="10dp"
32 + android:layout_height="match_parent"
33 + android:layout_weight="1.5"
34 + android:background="#FFFFFF"
35 + android:text="나가기"
36 + android:textColor="#29ABE2"
37 + android:textSize="16dp" />
38 + <LinearLayout
39 + android:layout_width="10dp"
40 + android:layout_height="match_parent"
41 + android:orientation="horizontal"
42 + android:layout_weight="1"/>
43 + <ImageView
44 + android:layout_width="77dp"
45 + android:layout_height="44dp"
46 + android:layout_gravity="center"
47 + android:layout_weight="1"
48 + android:src="@drawable/toolbar_logo" />
49 + <LinearLayout
50 + android:layout_width="10dp"
51 + android:layout_height="match_parent"
52 + android:orientation="horizontal"
53 + android:layout_weight="1"/>
54 + <LinearLayout
55 + android:layout_width="10dp"
56 + android:layout_height="match_parent"
57 + android:orientation="horizontal"
58 + android:layout_weight="1.5"/>
59 +
60 + </LinearLayout>
61 +
62 +
63 + </androidx.appcompat.widget.Toolbar>
64 +
14 <LinearLayout 65 <LinearLayout
15 android:layout_width="match_parent" 66 android:layout_width="match_parent"
16 android:layout_height="50dp" 67 android:layout_height="50dp"
...@@ -20,20 +71,52 @@ ...@@ -20,20 +71,52 @@
20 <TextView 71 <TextView
21 android:id="@+id/stageTextView1" 72 android:id="@+id/stageTextView1"
22 android:layout_width="wrap_content" 73 android:layout_width="wrap_content"
23 - android:layout_height="wrap_content" 74 + android:layout_height="match_parent"
24 android:layout_gravity="center" 75 android:layout_gravity="center"
25 android:layout_weight="1" 76 android:layout_weight="1"
77 + android:background="#1E90FF"
26 android:gravity="center" 78 android:gravity="center"
27 - android:text="1단계" /> 79 + android:text="1" />
28 80
29 <TextView 81 <TextView
30 - android:id="@+id/neccesaryTextView" 82 + android:id="@+id/stageTextView2"
31 android:layout_width="wrap_content" 83 android:layout_width="wrap_content"
32 - android:layout_height="wrap_content" 84 + android:layout_height="match_parent"
85 + android:layout_gravity="center"
86 + android:layout_weight="1"
87 + android:background="#1E90FF"
88 + android:gravity="center"
89 + android:text="2" />
90 +
91 + <TextView
92 + android:id="@+id/stageTextView3"
93 + android:layout_width="wrap_content"
94 + android:layout_height="match_parent"
95 + android:layout_gravity="center"
96 + android:layout_weight="1"
97 + android:background="#1E90FF"
98 + android:gravity="center"
99 + android:text="3" />
100 +
101 + <TextView
102 + android:id="@+id/stageTextView4"
103 + android:layout_width="wrap_content"
104 + android:layout_height="match_parent"
33 android:layout_gravity="center" 105 android:layout_gravity="center"
34 android:layout_weight="1" 106 android:layout_weight="1"
107 + android:background="#1E90FF"
35 android:gravity="center" 108 android:gravity="center"
36 - android:text="필수항목" /> 109 + android:text="4" />
110 +
111 + <TextView
112 + android:id="@+id/stageTextView5"
113 + android:layout_width="wrap_content"
114 + android:layout_height="match_parent"
115 + android:layout_gravity="center"
116 + android:layout_weight="1"
117 + android:gravity="center"
118 + android:text="5" />
119 +
37 </LinearLayout> 120 </LinearLayout>
38 121
39 <LinearLayout 122 <LinearLayout
...@@ -53,6 +136,10 @@ ...@@ -53,6 +136,10 @@
53 android:layout_height="wrap_content" 136 android:layout_height="wrap_content"
54 android:orientation="vertical"> 137 android:orientation="vertical">
55 138
139 + <RelativeLayout
140 + android:layout_width="match_parent"
141 + android:layout_height="match_parent">
142 +
56 <TextView 143 <TextView
57 android:id="@+id/explainTextView" 144 android:id="@+id/explainTextView"
58 android:layout_width="match_parent" 145 android:layout_width="match_parent"
...@@ -60,20 +147,36 @@ ...@@ -60,20 +147,36 @@
60 android:layout_gravity="center" 147 android:layout_gravity="center"
61 android:gravity="center" 148 android:gravity="center"
62 android:text="1. 생년월일을 입력해 주세요." /> 149 android:text="1. 생년월일을 입력해 주세요." />
150 +
151 + <Button
152 + android:id="@+id/questionButton"
153 + android:layout_width="30dp"
154 + android:layout_height="30dp"
155 + android:layout_gravity="center"
156 + android:layout_toRightOf="@id/explainTextView"
157 + android:backgroundTint="#1E90FF"
158 + android:gravity="center"
159 + android:text=" ? "
160 + android:textSize="8sp" />
161 + </RelativeLayout>
63 </LinearLayout> 162 </LinearLayout>
64 163
65 <LinearLayout 164 <LinearLayout
66 android:layout_width="match_parent" 165 android:layout_width="match_parent"
67 android:layout_height="50dp" 166 android:layout_height="50dp"
68 android:layout_weight="1" 167 android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout> 168 + android:orientation="vertical">
169 +
170 + </LinearLayout>
171 +
172 + <ScrollView
173 + android:layout_width="match_parent"
174 + android:layout_height="wrap_content">
70 175
71 <LinearLayout 176 <LinearLayout
72 - android:layout_width="wrap_content" 177 + android:layout_width="match_parent"
73 android:layout_height="wrap_content" 178 android:layout_height="wrap_content"
74 - android:layout_gravity="center" 179 + android:orientation="vertical" >
75 - android:gravity="center"
76 - android:orientation="vertical">
77 180
78 <EditText 181 <EditText
79 android:id="@+id/editText" 182 android:id="@+id/editText"
...@@ -83,7 +186,10 @@ ...@@ -83,7 +186,10 @@
83 android:ems="10" 186 android:ems="10"
84 android:gravity="center" 187 android:gravity="center"
85 android:inputType="date" /> 188 android:inputType="date" />
189 +
190 +
86 </LinearLayout> 191 </LinearLayout>
192 + </ScrollView>
87 193
88 <LinearLayout 194 <LinearLayout
89 android:layout_width="match_parent" 195 android:layout_width="match_parent"
...@@ -96,19 +202,12 @@ ...@@ -96,19 +202,12 @@
96 android:layout_height="wrap_content" 202 android:layout_height="wrap_content"
97 android:orientation="horizontal"> 203 android:orientation="horizontal">
98 204
99 - <LinearLayout 205 + <Button
100 - android:layout_width="10dp" 206 + android:id="@+id/previousButton"
101 - android:layout_height="match_parent"
102 - android:layout_weight="1"
103 - android:orientation="vertical">
104 -
105 - </LinearLayout>
106 -
107 - <LinearLayout
108 android:layout_width="10dp" 207 android:layout_width="10dp"
109 - android:layout_height="match_parent" 208 + android:layout_height="wrap_content"
110 android:layout_weight="1" 209 android:layout_weight="1"
111 - android:orientation="vertical"></LinearLayout> 210 + android:text="이전 단계로" />
112 211
113 <Button 212 <Button
114 android:id="@+id/nextButton" 213 android:id="@+id/nextButton"
......