Showing
28 changed files
with
498 additions
and
20 deletions
... | @@ -53,6 +53,8 @@ class InputProfilFifthFourActivity : AppCompatActivity() { | ... | @@ -53,6 +53,8 @@ class InputProfilFifthFourActivity : AppCompatActivity() { |
53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
54 | val editor: SharedPreferences.Editor=prof.edit() | 54 | val editor: SharedPreferences.Editor=prof.edit() |
55 | 55 | ||
56 | + if(prof.getString("fifth_four_editText1","")!=""){editText1.setText(prof.getString("fifth_four_editText1",""))} | ||
57 | + | ||
56 | // 1. 툴바 사용 설정 | 58 | // 1. 툴바 사용 설정 |
57 | setSupportActionBar(toolbar) | 59 | setSupportActionBar(toolbar) |
58 | 60 | ... | ... |
... | @@ -53,6 +53,9 @@ class InputProfilFifthOneActivity : AppCompatActivity() { | ... | @@ -53,6 +53,9 @@ class InputProfilFifthOneActivity : AppCompatActivity() { |
53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
54 | val editor: SharedPreferences.Editor=prof.edit() | 54 | val editor: SharedPreferences.Editor=prof.edit() |
55 | 55 | ||
56 | + if(prof.getString("fifth_one_editText1","")!=""){editText1.setText(prof.getString("fifth_one_editText1",""))} | ||
57 | + if(prof.getString("fifth_one_editText2","")!=""){editText2.setText(prof.getString("fifth_one_editText2",""))} | ||
58 | + | ||
56 | // 1. 툴바 사용 설정 | 59 | // 1. 툴바 사용 설정 |
57 | setSupportActionBar(toolbar) | 60 | setSupportActionBar(toolbar) |
58 | 61 | ... | ... |
... | @@ -52,6 +52,10 @@ class InputProfilFifthThreeActivity : AppCompatActivity() { | ... | @@ -52,6 +52,10 @@ class InputProfilFifthThreeActivity : AppCompatActivity() { |
52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
53 | val editor: SharedPreferences.Editor=prof.edit() | 53 | val editor: SharedPreferences.Editor=prof.edit() |
54 | 54 | ||
55 | + if(prof.getString("fifth_three_editText1","")!=""){editText1.setText(prof.getString("fifth_three_editText1",""))} | ||
56 | + if(prof.getString("fifth_three_editText2","")!=""){editText2.setText(prof.getString("fifth_three_editText2",""))} | ||
57 | + if(prof.getString("fifth_three_editText3","")!=""){editText3.setText(prof.getString("fifth_three_editText3",""))} | ||
58 | + | ||
55 | // 1. 툴바 사용 설정 | 59 | // 1. 툴바 사용 설정 |
56 | setSupportActionBar(toolbar) | 60 | setSupportActionBar(toolbar) |
57 | 61 | ... | ... |
... | @@ -54,6 +54,14 @@ class InputProfilFifthTwoActivity : AppCompatActivity() { | ... | @@ -54,6 +54,14 @@ class InputProfilFifthTwoActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 55 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 56 | ||
57 | + if(prof.getString("fifth_two_jikjaangButton","none")=="isChecked"){ subLinearLayout.visibility=VISIBLE;jikjaangButton.isChecked=true;} | ||
58 | + if(prof.getString("fifth_two_jiyeokButton","none")=="isChecked"){ subLinearLayout.visibility=VISIBLE;jiyeokButton.isChecked=true;} | ||
59 | + if(prof.getString("fifth_two_pibooyaangjikjaangButton","none")=="isChecked"){ pibooyaangjikjaangButton.isChecked=true} | ||
60 | + if(prof.getString("fifth_two_pibooyaangjiyeokButton","none")=="isChecked"){ pibooyaangjiyeokButton.isChecked=true} | ||
61 | + if(prof.getString("fifth_two_uieryoButton","none")=="isChecked"){ uieryoButton.isChecked=true} | ||
62 | + | ||
63 | + if(prof.getString("fifth_two_editText1","")!=""){editText1.setText(prof.getString("fifth_two_editText1",""))} | ||
64 | + | ||
57 | // 1. 툴바 사용 설정 | 65 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 66 | setSupportActionBar(toolbar) |
59 | 67 | ... | ... |
... | @@ -7,6 +7,7 @@ import android.graphics.Color | ... | @@ -7,6 +7,7 @@ import android.graphics.Color |
7 | import androidx.appcompat.app.AppCompatActivity | 7 | import androidx.appcompat.app.AppCompatActivity |
8 | import android.os.Bundle | 8 | import android.os.Bundle |
9 | import android.util.Log | 9 | import android.util.Log |
10 | +import android.widget.Button | ||
10 | import android.widget.TextView | 11 | import android.widget.TextView |
11 | import android.widget.Toast | 12 | import android.widget.Toast |
12 | import androidx.appcompat.app.AlertDialog | 13 | import androidx.appcompat.app.AlertDialog |
... | @@ -60,6 +61,12 @@ class InputProfilFirstFiveActivity : AppCompatActivity() { | ... | @@ -60,6 +61,12 @@ class InputProfilFirstFiveActivity : AppCompatActivity() { |
60 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 61 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
61 | val editor: SharedPreferences.Editor=prof.edit() | 62 | val editor: SharedPreferences.Editor=prof.edit() |
62 | 63 | ||
64 | + | ||
65 | + if(prof.getInt("c1_2",0)==1){ | ||
66 | + inmanButton.isChecked=true} | ||
67 | + if(prof.getInt("c1_3",0)==1){outmanButton.isChecked=true} | ||
68 | + | ||
69 | + | ||
63 | // 1. 툴바 사용 설정 | 70 | // 1. 툴바 사용 설정 |
64 | setSupportActionBar(toolbar) | 71 | setSupportActionBar(toolbar) |
65 | 72 | ... | ... |
... | @@ -139,6 +139,24 @@ class InputProfilFirstFourActivity : AppCompatActivity() { | ... | @@ -139,6 +139,24 @@ class InputProfilFirstFourActivity : AppCompatActivity() { |
139 | 139 | ||
140 | doSpinner.setSelection(1) | 140 | doSpinner.setSelection(1) |
141 | 141 | ||
142 | + if(prof.getInt("c11_2",0)==1){doSpinner.setSelection(1)} | ||
143 | + if(prof.getInt("c11_3",0)==1){doSpinner.setSelection(2)} | ||
144 | + if(prof.getInt("c11_4",0)==1){doSpinner.setSelection(3)} | ||
145 | + if(prof.getInt("c11_5",0)==1){doSpinner.setSelection(4)} | ||
146 | + if(prof.getInt("c11_6",0)==1){doSpinner.setSelection(5)} | ||
147 | + if(prof.getInt("c11_7",0)==1){doSpinner.setSelection(6)} | ||
148 | + if(prof.getInt("c11_8",0)==1){doSpinner.setSelection(7)} | ||
149 | + if(prof.getInt("c11_9",0)==1){doSpinner.setSelection(8)} | ||
150 | + if(prof.getInt("c11_10",0)==1){doSpinner.setSelection(9)} | ||
151 | + if(prof.getInt("c11_11",0)==1){doSpinner.setSelection(10)} | ||
152 | + if(prof.getInt("c11_12",0)==1){doSpinner.setSelection(11)} | ||
153 | + if(prof.getInt("c11_13",0)==1){doSpinner.setSelection(12)} | ||
154 | + if(prof.getInt("c11_14",0)==1){doSpinner.setSelection(13)} | ||
155 | + if(prof.getInt("c11_15",0)==1){doSpinner.setSelection(14)} | ||
156 | + if(prof.getInt("c11_16",0)==1){doSpinner.setSelection(15)} | ||
157 | + if(prof.getInt("c11_17",0)==1){doSpinner.setSelection(16)} | ||
158 | + if(prof.getInt("c11_18",0)==1){doSpinner.setSelection(17)} | ||
159 | + | ||
142 | doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener { | 160 | doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener { |
143 | override fun onNothingSelected(parent: AdapterView<*>?) { | 161 | override fun onNothingSelected(parent: AdapterView<*>?) { |
144 | } | 162 | } |
... | @@ -216,8 +234,259 @@ class InputProfilFirstFourActivity : AppCompatActivity() { | ... | @@ -216,8 +234,259 @@ class InputProfilFirstFourActivity : AppCompatActivity() { |
216 | gooSpinner.adapter = gooadapter | 234 | gooSpinner.adapter = gooadapter |
217 | } | 235 | } |
218 | } | 236 | } |
219 | - } | ||
220 | 237 | ||
238 | + } | ||
239 | + if(prof.getInt("c12_100",0)==1){gooSpinner.setSelection(1)} | ||
240 | + if(prof.getInt("c12_101",0)==1){gooSpinner.setSelection(2)} | ||
241 | + if(prof.getInt("c12_102",0)==1){gooSpinner.setSelection(3)} | ||
242 | + if(prof.getInt("c12_103",0)==1){gooSpinner.setSelection(4)} | ||
243 | + if(prof.getInt("c12_104",0)==1){gooSpinner.setSelection(5)} | ||
244 | + if(prof.getInt("c12_105",0)==1){gooSpinner.setSelection(6)} | ||
245 | + if(prof.getInt("c12_106",0)==1){gooSpinner.setSelection(7)} | ||
246 | + if(prof.getInt("c12_107",0)==1){gooSpinner.setSelection(8)} | ||
247 | + if(prof.getInt("c12_108",0)==1){gooSpinner.setSelection(9)} | ||
248 | + if(prof.getInt("c12_109",0)==1){gooSpinner.setSelection(10)} | ||
249 | + if(prof.getInt("c12_110",0)==1){gooSpinner.setSelection(11)} | ||
250 | + if(prof.getInt("c12_111",0)==1){gooSpinner.setSelection(12)} | ||
251 | + if(prof.getInt("c12_112",0)==1){gooSpinner.setSelection(13)} | ||
252 | + if(prof.getInt("c12_113",0)==1){gooSpinner.setSelection(14)} | ||
253 | + if(prof.getInt("c12_114",0)==1){gooSpinner.setSelection(15)} | ||
254 | + if(prof.getInt("c12_115",0)==1){gooSpinner.setSelection(16)} | ||
255 | + if(prof.getInt("c12_116",0)==1){gooSpinner.setSelection(17)} | ||
256 | + if(prof.getInt("c12_117",0)==1){gooSpinner.setSelection(18)} | ||
257 | + if(prof.getInt("c12_118",0)==1){gooSpinner.setSelection(19)} | ||
258 | + if(prof.getInt("c12_119",0)==1){gooSpinner.setSelection(20)} | ||
259 | + if(prof.getInt("c12_120",0)==1){gooSpinner.setSelection(21)} | ||
260 | + if(prof.getInt("c12_121",0)==1){gooSpinner.setSelection(22)} | ||
261 | + if(prof.getInt("c12_122",0)==1){gooSpinner.setSelection(23)} | ||
262 | + if(prof.getInt("c12_123",0)==1){gooSpinner.setSelection(24)} | ||
263 | + if(prof.getInt("c12_124",0)==1){gooSpinner.setSelection(25)} | ||
264 | + if(prof.getInt("c12_125",0)==1){gooSpinner.setSelection(26)} | ||
265 | + if(prof.getInt("c12_126",0)==1){gooSpinner.setSelection(27)} | ||
266 | + if(prof.getInt("c12_127",0)==1){gooSpinner.setSelection(28)} | ||
267 | + if(prof.getInt("c12_128",0)==1){gooSpinner.setSelection(29)} | ||
268 | + if(prof.getInt("c12_129",0)==1){gooSpinner.setSelection(30)} | ||
269 | + if(prof.getInt("c12_130",0)==1){gooSpinner.setSelection(31)} | ||
270 | + if(prof.getInt("c12_131",0)==1){gooSpinner.setSelection(32)} | ||
271 | + if(prof.getInt("c12_132",0)==1){gooSpinner.setSelection(33)} | ||
272 | + if(prof.getInt("c12_133",0)==1){gooSpinner.setSelection(34)} | ||
273 | + if(prof.getInt("c12_134",0)==1){gooSpinner.setSelection(35)} | ||
274 | + if(prof.getInt("c12_135",0)==1){gooSpinner.setSelection(36)} | ||
275 | + if(prof.getInt("c12_136",0)==1){gooSpinner.setSelection(37)} | ||
276 | + if(prof.getInt("c12_137",0)==1){gooSpinner.setSelection(38)} | ||
277 | + if(prof.getInt("c12_138",0)==1){gooSpinner.setSelection(39)} | ||
278 | + if(prof.getInt("c12_139",0)==1){gooSpinner.setSelection(40)} | ||
279 | + if(prof.getInt("c12_140",0)==1){gooSpinner.setSelection(41)} | ||
280 | + if(prof.getInt("c12_141",0)==1){gooSpinner.setSelection(42)} | ||
281 | + if(prof.getInt("c12_142",0)==1){gooSpinner.setSelection(43)} | ||
282 | + if(prof.getInt("c12_143",0)==1){gooSpinner.setSelection(44)} | ||
283 | + if(prof.getInt("c12_144",0)==1){gooSpinner.setSelection(45)} | ||
284 | + if(prof.getInt("c12_145",0)==1){gooSpinner.setSelection(46)} | ||
285 | + if(prof.getInt("c12_146",0)==1){gooSpinner.setSelection(47)} | ||
286 | + if(prof.getInt("c12_147",0)==1){gooSpinner.setSelection(48)} | ||
287 | + if(prof.getInt("c12_148",0)==1){gooSpinner.setSelection(49)} | ||
288 | + if(prof.getInt("c12_149",0)==1){gooSpinner.setSelection(50)} | ||
289 | + if(prof.getInt("c12_150",0)==1){gooSpinner.setSelection(51)} | ||
290 | + if(prof.getInt("c12_151",0)==1){gooSpinner.setSelection(52)} | ||
291 | + if(prof.getInt("c12_152",0)==1){gooSpinner.setSelection(53)} | ||
292 | + if(prof.getInt("c12_153",0)==1){gooSpinner.setSelection(54)} | ||
293 | + if(prof.getInt("c12_154",0)==1){gooSpinner.setSelection(55)} | ||
294 | + if(prof.getInt("c12_155",0)==1){gooSpinner.setSelection(56)} | ||
295 | + if(prof.getInt("c12_156",0)==1){gooSpinner.setSelection(57)} | ||
296 | + if(prof.getInt("c12_157",0)==1){gooSpinner.setSelection(58)} | ||
297 | + if(prof.getInt("c12_158",0)==1){gooSpinner.setSelection(59)} | ||
298 | + if(prof.getInt("c12_159",0)==1){gooSpinner.setSelection(60)} | ||
299 | + if(prof.getInt("c12_160",0)==1){gooSpinner.setSelection(61)} | ||
300 | + if(prof.getInt("c12_161",0)==1){gooSpinner.setSelection(62)} | ||
301 | + if(prof.getInt("c12_162",0)==1){gooSpinner.setSelection(63)} | ||
302 | + if(prof.getInt("c12_163",0)==1){gooSpinner.setSelection(64)} | ||
303 | + if(prof.getInt("c12_164",0)==1){gooSpinner.setSelection(65)} | ||
304 | + if(prof.getInt("c12_165",0)==1){gooSpinner.setSelection(66)} | ||
305 | + if(prof.getInt("c12_166",0)==1){gooSpinner.setSelection(67)} | ||
306 | + if(prof.getInt("c12_167",0)==1){gooSpinner.setSelection(68)} | ||
307 | + if(prof.getInt("c12_168",0)==1){gooSpinner.setSelection(69)} | ||
308 | + if(prof.getInt("c12_169",0)==1){gooSpinner.setSelection(70)} | ||
309 | + if(prof.getInt("c12_170",0)==1){gooSpinner.setSelection(71)} | ||
310 | + if(prof.getInt("c12_171",0)==1){gooSpinner.setSelection(72)} | ||
311 | + if(prof.getInt("c12_172",0)==1){gooSpinner.setSelection(73)} | ||
312 | + if(prof.getInt("c12_173",0)==1){gooSpinner.setSelection(74)} | ||
313 | + if(prof.getInt("c12_174",0)==1){gooSpinner.setSelection(75)} | ||
314 | + if(prof.getInt("c12_175",0)==1){gooSpinner.setSelection(76)} | ||
315 | + if(prof.getInt("c12_176",0)==1){gooSpinner.setSelection(77)} | ||
316 | + if(prof.getInt("c12_177",0)==1){gooSpinner.setSelection(78)} | ||
317 | + if(prof.getInt("c12_178",0)==1){gooSpinner.setSelection(79)} | ||
318 | + if(prof.getInt("c12_179",0)==1){gooSpinner.setSelection(80)} | ||
319 | + if(prof.getInt("c12_180",0)==1){gooSpinner.setSelection(81)} | ||
320 | + if(prof.getInt("c12_181",0)==1){gooSpinner.setSelection(82)} | ||
321 | + if(prof.getInt("c12_182",0)==1){gooSpinner.setSelection(83)} | ||
322 | + if(prof.getInt("c12_183",0)==1){gooSpinner.setSelection(84)} | ||
323 | + if(prof.getInt("c12_184",0)==1){gooSpinner.setSelection(85)} | ||
324 | + if(prof.getInt("c12_185",0)==1){gooSpinner.setSelection(86)} | ||
325 | + if(prof.getInt("c12_186",0)==1){gooSpinner.setSelection(87)} | ||
326 | + if(prof.getInt("c12_187",0)==1){gooSpinner.setSelection(88)} | ||
327 | + if(prof.getInt("c12_188",0)==1){gooSpinner.setSelection(89)} | ||
328 | + if(prof.getInt("c12_189",0)==1){gooSpinner.setSelection(90)} | ||
329 | + if(prof.getInt("c12_190",0)==1){gooSpinner.setSelection(91)} | ||
330 | + if(prof.getInt("c12_191",0)==1){gooSpinner.setSelection(92)} | ||
331 | + if(prof.getInt("c12_192",0)==1){gooSpinner.setSelection(93)} | ||
332 | + if(prof.getInt("c12_193",0)==1){gooSpinner.setSelection(94)} | ||
333 | + if(prof.getInt("c12_194",0)==1){gooSpinner.setSelection(95)} | ||
334 | + if(prof.getInt("c12_195",0)==1){gooSpinner.setSelection(96)} | ||
335 | + if(prof.getInt("c12_196",0)==1){gooSpinner.setSelection(97)} | ||
336 | + if(prof.getInt("c12_197",0)==1){gooSpinner.setSelection(98)} | ||
337 | + if(prof.getInt("c12_198",0)==1){gooSpinner.setSelection(99)} | ||
338 | + if(prof.getInt("c12_199",0)==1){gooSpinner.setSelection(100)} | ||
339 | + if(prof.getInt("c12_200",0)==1){gooSpinner.setSelection(101)} | ||
340 | + if(prof.getInt("c12_201",0)==1){gooSpinner.setSelection(102)} | ||
341 | + if(prof.getInt("c12_202",0)==1){gooSpinner.setSelection(103)} | ||
342 | + if(prof.getInt("c12_203",0)==1){gooSpinner.setSelection(104)} | ||
343 | + if(prof.getInt("c12_204",0)==1){gooSpinner.setSelection(105)} | ||
344 | + if(prof.getInt("c12_205",0)==1){gooSpinner.setSelection(106)} | ||
345 | + if(prof.getInt("c12_206",0)==1){gooSpinner.setSelection(107)} | ||
346 | + if(prof.getInt("c12_207",0)==1){gooSpinner.setSelection(108)} | ||
347 | + if(prof.getInt("c12_208",0)==1){gooSpinner.setSelection(109)} | ||
348 | + if(prof.getInt("c12_209",0)==1){gooSpinner.setSelection(110)} | ||
349 | + if(prof.getInt("c12_210",0)==1){gooSpinner.setSelection(111)} | ||
350 | + if(prof.getInt("c12_211",0)==1){gooSpinner.setSelection(112)} | ||
351 | + if(prof.getInt("c12_212",0)==1){gooSpinner.setSelection(113)} | ||
352 | + if(prof.getInt("c12_213",0)==1){gooSpinner.setSelection(114)} | ||
353 | + if(prof.getInt("c12_214",0)==1){gooSpinner.setSelection(115)} | ||
354 | + if(prof.getInt("c12_215",0)==1){gooSpinner.setSelection(116)} | ||
355 | + if(prof.getInt("c12_216",0)==1){gooSpinner.setSelection(117)} | ||
356 | + if(prof.getInt("c12_217",0)==1){gooSpinner.setSelection(118)} | ||
357 | + if(prof.getInt("c12_218",0)==1){gooSpinner.setSelection(119)} | ||
358 | + if(prof.getInt("c12_219",0)==1){gooSpinner.setSelection(120)} | ||
359 | + if(prof.getInt("c12_220",0)==1){gooSpinner.setSelection(121)} | ||
360 | + if(prof.getInt("c12_221",0)==1){gooSpinner.setSelection(122)} | ||
361 | + if(prof.getInt("c12_222",0)==1){gooSpinner.setSelection(123)} | ||
362 | + if(prof.getInt("c12_223",0)==1){gooSpinner.setSelection(124)} | ||
363 | + if(prof.getInt("c12_224",0)==1){gooSpinner.setSelection(125)} | ||
364 | + if(prof.getInt("c12_225",0)==1){gooSpinner.setSelection(126)} | ||
365 | + if(prof.getInt("c12_226",0)==1){gooSpinner.setSelection(127)} | ||
366 | + if(prof.getInt("c12_227",0)==1){gooSpinner.setSelection(128)} | ||
367 | + if(prof.getInt("c12_228",0)==1){gooSpinner.setSelection(129)} | ||
368 | + if(prof.getInt("c12_229",0)==1){gooSpinner.setSelection(130)} | ||
369 | + if(prof.getInt("c12_230",0)==1){gooSpinner.setSelection(131)} | ||
370 | + if(prof.getInt("c12_231",0)==1){gooSpinner.setSelection(132)} | ||
371 | + if(prof.getInt("c12_232",0)==1){gooSpinner.setSelection(133)} | ||
372 | + if(prof.getInt("c12_233",0)==1){gooSpinner.setSelection(134)} | ||
373 | + if(prof.getInt("c12_234",0)==1){gooSpinner.setSelection(135)} | ||
374 | + if(prof.getInt("c12_235",0)==1){gooSpinner.setSelection(136)} | ||
375 | + if(prof.getInt("c12_236",0)==1){gooSpinner.setSelection(137)} | ||
376 | + if(prof.getInt("c12_237",0)==1){gooSpinner.setSelection(138)} | ||
377 | + if(prof.getInt("c12_238",0)==1){gooSpinner.setSelection(139)} | ||
378 | + if(prof.getInt("c12_239",0)==1){gooSpinner.setSelection(140)} | ||
379 | + if(prof.getInt("c12_240",0)==1){gooSpinner.setSelection(141)} | ||
380 | + if(prof.getInt("c12_241",0)==1){gooSpinner.setSelection(142)} | ||
381 | + if(prof.getInt("c12_242",0)==1){gooSpinner.setSelection(143)} | ||
382 | + if(prof.getInt("c12_243",0)==1){gooSpinner.setSelection(144)} | ||
383 | + if(prof.getInt("c12_244",0)==1){gooSpinner.setSelection(145)} | ||
384 | + if(prof.getInt("c12_245",0)==1){gooSpinner.setSelection(146)} | ||
385 | + if(prof.getInt("c12_246",0)==1){gooSpinner.setSelection(147)} | ||
386 | + if(prof.getInt("c12_247",0)==1){gooSpinner.setSelection(148)} | ||
387 | + if(prof.getInt("c12_248",0)==1){gooSpinner.setSelection(149)} | ||
388 | + if(prof.getInt("c12_249",0)==1){gooSpinner.setSelection(150)} | ||
389 | + if(prof.getInt("c12_250",0)==1){gooSpinner.setSelection(151)} | ||
390 | + if(prof.getInt("c12_251",0)==1){gooSpinner.setSelection(152)} | ||
391 | + if(prof.getInt("c12_252",0)==1){gooSpinner.setSelection(153)} | ||
392 | + if(prof.getInt("c12_253",0)==1){gooSpinner.setSelection(154)} | ||
393 | + if(prof.getInt("c12_254",0)==1){gooSpinner.setSelection(155)} | ||
394 | + if(prof.getInt("c12_255",0)==1){gooSpinner.setSelection(156)} | ||
395 | + if(prof.getInt("c12_256",0)==1){gooSpinner.setSelection(157)} | ||
396 | + if(prof.getInt("c12_257",0)==1){gooSpinner.setSelection(158)} | ||
397 | + if(prof.getInt("c12_258",0)==1){gooSpinner.setSelection(159)} | ||
398 | + if(prof.getInt("c12_259",0)==1){gooSpinner.setSelection(160)} | ||
399 | + if(prof.getInt("c12_260",0)==1){gooSpinner.setSelection(161)} | ||
400 | + if(prof.getInt("c12_261",0)==1){gooSpinner.setSelection(162)} | ||
401 | + if(prof.getInt("c12_262",0)==1){gooSpinner.setSelection(163)} | ||
402 | + if(prof.getInt("c12_263",0)==1){gooSpinner.setSelection(164)} | ||
403 | + if(prof.getInt("c12_264",0)==1){gooSpinner.setSelection(165)} | ||
404 | + if(prof.getInt("c12_265",0)==1){gooSpinner.setSelection(166)} | ||
405 | + if(prof.getInt("c12_266",0)==1){gooSpinner.setSelection(167)} | ||
406 | + if(prof.getInt("c12_267",0)==1){gooSpinner.setSelection(168)} | ||
407 | + if(prof.getInt("c12_268",0)==1){gooSpinner.setSelection(169)} | ||
408 | + if(prof.getInt("c12_269",0)==1){gooSpinner.setSelection(170)} | ||
409 | + if(prof.getInt("c12_270",0)==1){gooSpinner.setSelection(171)} | ||
410 | + if(prof.getInt("c12_271",0)==1){gooSpinner.setSelection(172)} | ||
411 | + if(prof.getInt("c12_272",0)==1){gooSpinner.setSelection(173)} | ||
412 | + if(prof.getInt("c12_273",0)==1){gooSpinner.setSelection(174)} | ||
413 | + if(prof.getInt("c12_274",0)==1){gooSpinner.setSelection(175)} | ||
414 | + if(prof.getInt("c12_275",0)==1){gooSpinner.setSelection(176)} | ||
415 | + if(prof.getInt("c12_276",0)==1){gooSpinner.setSelection(177)} | ||
416 | + if(prof.getInt("c12_277",0)==1){gooSpinner.setSelection(178)} | ||
417 | + if(prof.getInt("c12_278",0)==1){gooSpinner.setSelection(179)} | ||
418 | + if(prof.getInt("c12_279",0)==1){gooSpinner.setSelection(180)} | ||
419 | + if(prof.getInt("c12_280",0)==1){gooSpinner.setSelection(181)} | ||
420 | + if(prof.getInt("c12_281",0)==1){gooSpinner.setSelection(182)} | ||
421 | + if(prof.getInt("c12_282",0)==1){gooSpinner.setSelection(183)} | ||
422 | + if(prof.getInt("c12_283",0)==1){gooSpinner.setSelection(184)} | ||
423 | + if(prof.getInt("c12_284",0)==1){gooSpinner.setSelection(185)} | ||
424 | + if(prof.getInt("c12_285",0)==1){gooSpinner.setSelection(186)} | ||
425 | + if(prof.getInt("c12_286",0)==1){gooSpinner.setSelection(187)} | ||
426 | + if(prof.getInt("c12_287",0)==1){gooSpinner.setSelection(188)} | ||
427 | + if(prof.getInt("c12_288",0)==1){gooSpinner.setSelection(189)} | ||
428 | + if(prof.getInt("c12_289",0)==1){gooSpinner.setSelection(190)} | ||
429 | + if(prof.getInt("c12_290",0)==1){gooSpinner.setSelection(191)} | ||
430 | + if(prof.getInt("c12_291",0)==1){gooSpinner.setSelection(192)} | ||
431 | + if(prof.getInt("c12_292",0)==1){gooSpinner.setSelection(193)} | ||
432 | + if(prof.getInt("c12_293",0)==1){gooSpinner.setSelection(194)} | ||
433 | + if(prof.getInt("c12_294",0)==1){gooSpinner.setSelection(195)} | ||
434 | + if(prof.getInt("c12_295",0)==1){gooSpinner.setSelection(196)} | ||
435 | + if(prof.getInt("c12_296",0)==1){gooSpinner.setSelection(197)} | ||
436 | + if(prof.getInt("c12_297",0)==1){gooSpinner.setSelection(198)} | ||
437 | + if(prof.getInt("c12_298",0)==1){gooSpinner.setSelection(199)} | ||
438 | + if(prof.getInt("c12_299",0)==1){gooSpinner.setSelection(200)} | ||
439 | + if(prof.getInt("c12_300",0)==1){gooSpinner.setSelection(201)} | ||
440 | + if(prof.getInt("c12_301",0)==1){gooSpinner.setSelection(202)} | ||
441 | + if(prof.getInt("c12_302",0)==1){gooSpinner.setSelection(203)} | ||
442 | + if(prof.getInt("c12_303",0)==1){gooSpinner.setSelection(204)} | ||
443 | + if(prof.getInt("c12_304",0)==1){gooSpinner.setSelection(205)} | ||
444 | + if(prof.getInt("c12_305",0)==1){gooSpinner.setSelection(206)} | ||
445 | + if(prof.getInt("c12_306",0)==1){gooSpinner.setSelection(207)} | ||
446 | + if(prof.getInt("c12_307",0)==1){gooSpinner.setSelection(208)} | ||
447 | + if(prof.getInt("c12_308",0)==1){gooSpinner.setSelection(209)} | ||
448 | + if(prof.getInt("c12_309",0)==1){gooSpinner.setSelection(210)} | ||
449 | + if(prof.getInt("c12_310",0)==1){gooSpinner.setSelection(211)} | ||
450 | + if(prof.getInt("c12_311",0)==1){gooSpinner.setSelection(212)} | ||
451 | + if(prof.getInt("c12_312",0)==1){gooSpinner.setSelection(213)} | ||
452 | + if(prof.getInt("c12_313",0)==1){gooSpinner.setSelection(214)} | ||
453 | + if(prof.getInt("c12_314",0)==1){gooSpinner.setSelection(215)} | ||
454 | + if(prof.getInt("c12_315",0)==1){gooSpinner.setSelection(216)} | ||
455 | + if(prof.getInt("c12_316",0)==1){gooSpinner.setSelection(217)} | ||
456 | + if(prof.getInt("c12_317",0)==1){gooSpinner.setSelection(218)} | ||
457 | + if(prof.getInt("c12_318",0)==1){gooSpinner.setSelection(219)} | ||
458 | + if(prof.getInt("c12_319",0)==1){gooSpinner.setSelection(220)} | ||
459 | + if(prof.getInt("c12_320",0)==1){gooSpinner.setSelection(221)} | ||
460 | + if(prof.getInt("c12_321",0)==1){gooSpinner.setSelection(222)} | ||
461 | + if(prof.getInt("c12_322",0)==1){gooSpinner.setSelection(223)} | ||
462 | + if(prof.getInt("c12_323",0)==1){gooSpinner.setSelection(224)} | ||
463 | + if(prof.getInt("c12_324",0)==1){gooSpinner.setSelection(225)} | ||
464 | + if(prof.getInt("c12_325",0)==1){gooSpinner.setSelection(226)} | ||
465 | + if(prof.getInt("c12_326",0)==1){gooSpinner.setSelection(227)} | ||
466 | + if(prof.getInt("c12_327",0)==1){gooSpinner.setSelection(228)} | ||
467 | + if(prof.getInt("c12_328",0)==1){gooSpinner.setSelection(229)} | ||
468 | + if(prof.getInt("c12_329",0)==1){gooSpinner.setSelection(230)} | ||
469 | + if(prof.getInt("c12_330",0)==1){gooSpinner.setSelection(231)} | ||
470 | + if(prof.getInt("c12_331",0)==1){gooSpinner.setSelection(232)} | ||
471 | + if(prof.getInt("c12_332",0)==1){gooSpinner.setSelection(233)} | ||
472 | + if(prof.getInt("c12_333",0)==1){gooSpinner.setSelection(234)} | ||
473 | + if(prof.getInt("c12_334",0)==1){gooSpinner.setSelection(235)} | ||
474 | + if(prof.getInt("c12_335",0)==1){gooSpinner.setSelection(236)} | ||
475 | + if(prof.getInt("c12_336",0)==1){gooSpinner.setSelection(237)} | ||
476 | + if(prof.getInt("c12_337",0)==1){gooSpinner.setSelection(238)} | ||
477 | + if(prof.getInt("c12_338",0)==1){gooSpinner.setSelection(239)} | ||
478 | + if(prof.getInt("c12_339",0)==1){gooSpinner.setSelection(240)} | ||
479 | + if(prof.getInt("c12_340",0)==1){gooSpinner.setSelection(241)} | ||
480 | + if(prof.getInt("c12_341",0)==1){gooSpinner.setSelection(242)} | ||
481 | + if(prof.getInt("c12_342",0)==1){gooSpinner.setSelection(243)} | ||
482 | + if(prof.getInt("c12_343",0)==1){gooSpinner.setSelection(244)} | ||
483 | + if(prof.getInt("c12_344",0)==1){gooSpinner.setSelection(245)} | ||
484 | + if(prof.getInt("c12_345",0)==1){gooSpinner.setSelection(246)} | ||
485 | + if(prof.getInt("c12_346",0)==1){gooSpinner.setSelection(247)} | ||
486 | + if(prof.getInt("c12_347",0)==1){gooSpinner.setSelection(248)} | ||
487 | + if(prof.getInt("c12_348",0)==1){gooSpinner.setSelection(249)} | ||
488 | + if(prof.getInt("c12_349",0)==1){gooSpinner.setSelection(250)} | ||
489 | + if(prof.getInt("c12_350",0)==1){gooSpinner.setSelection(251)} | ||
221 | nextButton.setOnClickListener { | 490 | nextButton.setOnClickListener { |
222 | editor.remove("first_four") | 491 | editor.remove("first_four") |
223 | editor.remove("c11_2") | 492 | editor.remove("c11_2") | ... | ... |
... | @@ -52,6 +52,12 @@ class InputProfilFirstSixActivity : AppCompatActivity() { | ... | @@ -52,6 +52,12 @@ class InputProfilFirstSixActivity : AppCompatActivity() { |
52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
53 | val editor: SharedPreferences.Editor=prof.edit() | 53 | val editor: SharedPreferences.Editor=prof.edit() |
54 | 54 | ||
55 | + | ||
56 | + if(prof.getInt("c13_2",0)==1){gagoojooButton.isChecked=true} | ||
57 | + if(prof.getInt("c13_3",0)==1){gagoowonButton.isChecked=true} | ||
58 | + | ||
59 | + | ||
60 | + | ||
55 | // 1. 툴바 사용 설정 | 61 | // 1. 툴바 사용 설정 |
56 | setSupportActionBar(toolbar) | 62 | setSupportActionBar(toolbar) |
57 | 63 | ... | ... |
... | @@ -54,6 +54,11 @@ class InputProfilFirstThreeActivity : AppCompatActivity() { | ... | @@ -54,6 +54,11 @@ class InputProfilFirstThreeActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 55 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 56 | ||
57 | + | ||
58 | + if(prof.getInt("c3_2",0)==1){manButton.isChecked=true} | ||
59 | + if(prof.getInt("c3_3",0)==1){womanButton.isChecked=true} | ||
60 | + | ||
61 | + | ||
57 | // 1. 툴바 사용 설정 | 62 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 63 | setSupportActionBar(toolbar) |
59 | 64 | ... | ... |
... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences | ... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences |
6 | import androidx.appcompat.app.AppCompatActivity | 6 | import androidx.appcompat.app.AppCompatActivity |
7 | import android.os.Bundle | 7 | import android.os.Bundle |
8 | import android.util.Log | 8 | import android.util.Log |
9 | +import android.widget.Button | ||
9 | import android.widget.EditText | 10 | import android.widget.EditText |
10 | import android.widget.TextView | 11 | import android.widget.TextView |
11 | import android.widget.Toast | 12 | import android.widget.Toast |
... | @@ -51,6 +52,16 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { | ... | @@ -51,6 +52,16 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { |
51 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
52 | val editor: SharedPreferences.Editor=prof.edit() | 53 | val editor: SharedPreferences.Editor=prof.edit() |
53 | 54 | ||
55 | + | ||
56 | + if(prof.getInt("c1_2",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
57 | + if(prof.getInt("c1_3",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
58 | + if(prof.getInt("c1_4",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
59 | + if(prof.getInt("c1_5",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
60 | + if(prof.getInt("c1_6",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
61 | + if(prof.getInt("c1_7",0)==1){findViewById<EditText>(R.id.editText).setText(prof.getString("birthdateinput",""))} | ||
62 | + | ||
63 | + | ||
64 | + | ||
54 | // 1. 툴바 사용 설정 | 65 | // 1. 툴바 사용 설정 |
55 | setSupportActionBar(toolbar) | 66 | setSupportActionBar(toolbar) |
56 | 67 | ||
... | @@ -138,31 +149,35 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { | ... | @@ -138,31 +149,35 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { |
138 | } | 149 | } |
139 | 150 | ||
140 | nextButton.setOnClickListener { | 151 | nextButton.setOnClickListener { |
141 | - editor.remove("c1_2") | 152 | + editor.remove("c2_2") |
142 | - editor.remove("c1_3") | 153 | + editor.remove("c2_3") |
143 | - editor.remove("c1_4") | 154 | + editor.remove("c2_4") |
144 | - editor.remove("c1_5") | 155 | + editor.remove("c2_5") |
145 | - editor.remove("c1_6") | 156 | + editor.remove("c2_6") |
146 | - editor.remove("c1_7") | 157 | + editor.remove("c2_7") |
147 | editor.remove("first_two") | 158 | editor.remove("first_two") |
148 | editor.commit() | 159 | editor.commit() |
149 | 160 | ||
150 | - | 161 | + editor.remove("birthdateinput") |
162 | + editor.commit() | ||
151 | 163 | ||
152 | var birthdateinput=findViewById<EditText>(R.id.editText).text.toString() | 164 | var birthdateinput=findViewById<EditText>(R.id.editText).text.toString() |
153 | var birthdateint:Int | 165 | var birthdateint:Int |
154 | if (birthdateinput == "") { | 166 | if (birthdateinput == "") { |
155 | } | 167 | } |
156 | else { | 168 | else { |
169 | + editor.putString("birthdateinput",birthdateinput) | ||
170 | + editor.commit() | ||
157 | birthdateint = birthdateinput.toInt() | 171 | birthdateint = birthdateinput.toInt() |
158 | if ((2019-birthdateint)<19){ | 172 | if ((2019-birthdateint)<19){ |
159 | - editor.putInt("c1_2",1) | 173 | + editor.putInt("c2_2",1) |
160 | editor.commit() | 174 | editor.commit() |
161 | 175 | ||
162 | editor.putString("first_two","done");editor.commit() | 176 | editor.putString("first_two","done");editor.commit() |
163 | 177 | ||
164 | - Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show() | 178 | + //Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show() |
165 | //마지막장에 상관없음 추가 | 179 | //마지막장에 상관없음 추가 |
180 | + /* | ||
166 | FirebaseMessaging.getInstance().subscribeToTopic("c1_2") | 181 | FirebaseMessaging.getInstance().subscribeToTopic("c1_2") |
167 | .addOnCompleteListener { task -> | 182 | .addOnCompleteListener { task -> |
168 | var msg = getString(R.string.msg_subscribed) | 183 | var msg = getString(R.string.msg_subscribed) |
... | @@ -170,34 +185,37 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { | ... | @@ -170,34 +185,37 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { |
170 | msg = getString(R.string.msg_subscribe_failed) | 185 | msg = getString(R.string.msg_subscribe_failed) |
171 | } | 186 | } |
172 | } | 187 | } |
188 | + | ||
189 | + */ | ||
190 | + | ||
173 | } | 191 | } |
174 | else if((2019-birthdateint)<34){ | 192 | else if((2019-birthdateint)<34){ |
175 | - editor.putInt("c1_3",1) | 193 | + editor.putInt("c2_3",1) |
176 | editor.commit() | 194 | editor.commit() |
177 | editor.putString("first_two","done");editor.commit() | 195 | editor.putString("first_two","done");editor.commit() |
178 | 196 | ||
179 | } | 197 | } |
180 | else if((2019-birthdateint)<40){ | 198 | else if((2019-birthdateint)<40){ |
181 | - editor.putInt("c1_4",1) | 199 | + editor.putInt("c2_4",1) |
182 | editor.commit() | 200 | editor.commit() |
183 | editor.putString("first_two","done");editor.commit() | 201 | editor.putString("first_two","done");editor.commit() |
184 | 202 | ||
185 | } | 203 | } |
186 | else if((2019-birthdateint)<49){ | 204 | else if((2019-birthdateint)<49){ |
187 | - editor.putInt("c1_5",1) | 205 | + editor.putInt("c2_5",1) |
188 | editor.commit() | 206 | editor.commit() |
189 | editor.putString("first_two","done");editor.commit() | 207 | editor.putString("first_two","done");editor.commit() |
190 | 208 | ||
191 | 209 | ||
192 | } | 210 | } |
193 | else if((2019-birthdateint)<59){ | 211 | else if((2019-birthdateint)<59){ |
194 | - editor.putInt("c1_6",1) | 212 | + editor.putInt("c2_6",1) |
195 | editor.commit() | 213 | editor.commit() |
196 | editor.putString("first_two","done");editor.commit() | 214 | editor.putString("first_two","done");editor.commit() |
197 | 215 | ||
198 | } | 216 | } |
199 | else{ | 217 | else{ |
200 | - editor.putInt("c1_7",1) | 218 | + editor.putInt("c2_7",1) |
201 | editor.commit() | 219 | editor.commit() |
202 | editor.putString("first_two","done");editor.commit() | 220 | editor.putString("first_two","done");editor.commit() |
203 | 221 | ... | ... |
... | @@ -51,6 +51,12 @@ class InputProfilFourthFiveActivity : AppCompatActivity() { | ... | @@ -51,6 +51,12 @@ class InputProfilFourthFiveActivity : AppCompatActivity() { |
51 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 51 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
52 | val editor: SharedPreferences.Editor=prof.edit() | 52 | val editor: SharedPreferences.Editor=prof.edit() |
53 | 53 | ||
54 | + if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true} | ||
55 | + if(prof.getInt("c8_12",0)==1){ iljaeButton.isChecked=true} | ||
56 | + if(prof.getInt("c8_13",0)==1){ specialpihaeButton.isChecked=true} | ||
57 | + if(prof.getInt("c8_14",0)==1){ sanuppihaeButton.isChecked=true} | ||
58 | + if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true} | ||
59 | + | ||
54 | // 1. 툴바 사용 설정 | 60 | // 1. 툴바 사용 설정 |
55 | setSupportActionBar(toolbar) | 61 | setSupportActionBar(toolbar) |
56 | 62 | ... | ... |
... | @@ -54,6 +54,18 @@ class InputProfilFourthFourActivity : AppCompatActivity() { | ... | @@ -54,6 +54,18 @@ class InputProfilFourthFourActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 55 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 56 | ||
57 | + if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true} | ||
58 | + if(prof.getInt("c8_9",0)==1){ pokryukButton.isChecked=true} | ||
59 | + if(prof.getInt("c8_9",0)==1){ pihaeButton.isChecked=true} | ||
60 | + if(prof.getInt("c8_9",0)==1){ kachoolButton.isChecked=true} | ||
61 | + if(prof.getInt("c8_9",0)==1){ sagoButton.isChecked=true} | ||
62 | + if(prof.getInt("c8_15",0)==1){ ihonButton.isChecked=true} | ||
63 | + if(prof.getInt("c8_9",0)==1){ jaehaeButton.isChecked=true} | ||
64 | + if(prof.getInt("c8_16",0)==1){ hakkyobaakButton.isChecked=true} | ||
65 | + if(prof.getInt("c5_9",0)==1){ siljikButton.isChecked=true} | ||
66 | + if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true} | ||
67 | + | ||
68 | + | ||
57 | // 1. 툴바 사용 설정 | 69 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 70 | setSupportActionBar(toolbar) |
59 | 71 | ... | ... |
... | @@ -55,6 +55,16 @@ class InputProfilFourthOneActivity : AppCompatActivity() { | ... | @@ -55,6 +55,16 @@ class InputProfilFourthOneActivity : AppCompatActivity() { |
55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
56 | val editor: SharedPreferences.Editor=prof.edit() | 56 | val editor: SharedPreferences.Editor=prof.edit() |
57 | 57 | ||
58 | + if(prof.getInt("c14_2",0)==1){ yesButton.isChecked=true} | ||
59 | + if(prof.getInt("c14_3",0)==1){ subLinearLayout.visibility=VISIBLE;noButton.isChecked=true;} | ||
60 | + if(prof.getInt("c16_2",0)==1){ jeonsaeButton.isChecked=true} | ||
61 | + if(prof.getInt("c16_3",0)==1){ wolseButton.isChecked=true} | ||
62 | + if(prof.getInt("c16_4",0)==1){ kongkongButton.isChecked=true} | ||
63 | + if(prof.getInt("c16_5",0)==1){ moosangButton.isChecked=true} | ||
64 | + if(prof.getInt("c16_6",0)==1){ bojangButton.isChecked=true} | ||
65 | + if(prof.getInt("c16_7",0)==1){ guitarButton.isChecked=true} | ||
66 | + | ||
67 | + | ||
58 | // 1. 툴바 사용 설정 | 68 | // 1. 툴바 사용 설정 |
59 | setSupportActionBar(toolbar) | 69 | setSupportActionBar(toolbar) |
60 | 70 | ... | ... |
... | @@ -54,6 +54,19 @@ class InputProfilFourthThreeActivity : AppCompatActivity() { | ... | @@ -54,6 +54,19 @@ class InputProfilFourthThreeActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 55 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 56 | ||
57 | + if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true} | ||
58 | + if(prof.getInt("c8_3",0)==1){ jeosodeukButton.isChecked=true} | ||
59 | + if(prof.getInt("c8_7",0)==1){ hanboomoButton.isChecked=true} | ||
60 | + if(prof.getInt("c8_5",0)==1){ oegookinButton.isChecked=true} | ||
61 | + if(prof.getInt("c8_4",0)==1){ damoonhwaButton.isChecked=true} | ||
62 | + if(prof.getInt("c8_2",0)==1){ jaangaeButton.isChecked=true} | ||
63 | + if(prof.getInt("c7_1",0)==1){ imshinchoolsanButton.isChecked=true} | ||
64 | + if(prof.getInt("c8_10",0)==1){ ipyaangButton.isChecked=true} | ||
65 | + if(prof.getInt("c8_11",0)==1){ gaajungButton.isChecked=true} | ||
66 | + if(prof.getInt("c8_6",0)==1){ bookhanButton.isChecked=true} | ||
67 | + if(prof.getInt("c8_8",0)==1){ gookgayoogongButton.isChecked=true} | ||
68 | + if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true} | ||
69 | + | ||
57 | // 1. 툴바 사용 설정 | 70 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 71 | setSupportActionBar(toolbar) |
59 | 72 | ... | ... |
... | @@ -8,6 +8,7 @@ import android.os.Bundle | ... | @@ -8,6 +8,7 @@ import android.os.Bundle |
8 | import android.util.Log | 8 | import android.util.Log |
9 | import android.view.View.GONE | 9 | import android.view.View.GONE |
10 | import android.view.View.VISIBLE | 10 | import android.view.View.VISIBLE |
11 | +import android.widget.Button | ||
11 | import android.widget.TextView | 12 | import android.widget.TextView |
12 | import android.widget.Toast | 13 | import android.widget.Toast |
13 | import androidx.appcompat.app.AlertDialog | 14 | import androidx.appcompat.app.AlertDialog |
... | @@ -54,6 +55,15 @@ class InputProfilFourthTwoActivity : AppCompatActivity() { | ... | @@ -54,6 +55,15 @@ class InputProfilFourthTwoActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 56 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 57 | ||
58 | + if(prof.getInt("c15_2",0)==1){ yesButton.isChecked=true} | ||
59 | + if(prof.getInt("c15_3",0)==1){ subLinearLayout.visibility= VISIBLE;noButton.isChecked=true;} | ||
60 | + if(prof.getInt("c16_2",0)==1){ jeonsaeButton.isChecked=true} | ||
61 | + if(prof.getInt("c16_3",0)==1){ wolseButton.isChecked=true} | ||
62 | + if(prof.getInt("c16_4",0)==1){ kongkongButton.isChecked=true} | ||
63 | + if(prof.getInt("c16_5",0)==1){ moosangButton.isChecked=true} | ||
64 | + if(prof.getInt("c16_6",0)==1){ bojangButton.isChecked=true} | ||
65 | + if(prof.getInt("c16_7",0)==1){ guitarButton.isChecked=true} | ||
66 | + | ||
57 | // 1. 툴바 사용 설정 | 67 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 68 | setSupportActionBar(toolbar) |
59 | 69 | ... | ... |
... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences | ... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences |
6 | import androidx.appcompat.app.AppCompatActivity | 6 | import androidx.appcompat.app.AppCompatActivity |
7 | import android.os.Bundle | 7 | import android.os.Bundle |
8 | import android.util.Log | 8 | import android.util.Log |
9 | +import android.widget.Button | ||
9 | import android.widget.TextView | 10 | import android.widget.TextView |
10 | import android.widget.Toast | 11 | import android.widget.Toast |
11 | import androidx.appcompat.app.AlertDialog | 12 | import androidx.appcompat.app.AlertDialog |
... | @@ -49,6 +50,41 @@ class InputProfilSecondOneActivity : AppCompatActivity() { | ... | @@ -49,6 +50,41 @@ class InputProfilSecondOneActivity : AppCompatActivity() { |
49 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 50 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
50 | val editor: SharedPreferences.Editor=prof.edit() | 51 | val editor: SharedPreferences.Editor=prof.edit() |
51 | 52 | ||
53 | + | ||
54 | + if(prof.getInt("c10_2 ",0)==1){baewoojaButton.isChecked=true} | ||
55 | + if(prof.getInt("c10_3 ",0)==1){baewoojaboomoButton.isChecked=true} | ||
56 | + if(prof.getInt("c10_4 ",0)==1){baewoojajoboomoButton.isChecked=true} | ||
57 | + if(prof.getInt("c10_5 ",0)==1){brotherButton.isChecked=true} | ||
58 | + if(prof.getInt("c10_6 ",0)==1){baewoojabrotherButton.isChecked=true} | ||
59 | + if(prof.getInt("c10_7 ",0)==1){donggeoButton.isChecked=true} | ||
60 | + if(prof.getInt("c10_8 ",0)==1){fatherButton.isChecked=true} | ||
61 | + if(prof.getInt("c10_9 ",0)==1){motherButton.isChecked=true} | ||
62 | + if(prof.getInt("c10_10",0)==1){grandsonbaewoojaButton.isChecked=true} | ||
63 | + if(prof.getInt("c10_11",0)==1){grandfatherButton.isChecked=true} | ||
64 | + if(prof.getInt("c10_12",0)==1){grandmotherButton.isChecked=true} | ||
65 | + if(prof.getInt("c10_13",0)==1){grandsonButton.isChecked=true} | ||
66 | + if(prof.getInt("c10_14",0)==1){janyeoButton.isChecked=true} | ||
67 | + if(prof.getInt("c10_15",0)==1){janyeobaewoojaButton.isChecked=true} | ||
68 | + if(prof.getInt("c10_18",0)==1){nothingButton.isChecked=true} | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
52 | // 1. 툴바 사용 설정 | 88 | // 1. 툴바 사용 설정 |
53 | setSupportActionBar(toolbar) | 89 | setSupportActionBar(toolbar) |
54 | 90 | ... | ... |
... | @@ -57,6 +57,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { | ... | @@ -57,6 +57,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { |
57 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 57 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
58 | val editor: SharedPreferences.Editor=prof.edit() | 58 | val editor: SharedPreferences.Editor=prof.edit() |
59 | 59 | ||
60 | + if(prof.getString("numOfBS","")!=""){ | ||
61 | + findViewById<EditText>(R.id.bsNumberEditText).setText(prof.getString("numOfBS","")) | ||
62 | + } | ||
63 | + | ||
60 | // 1. 툴바 사용 설정 | 64 | // 1. 툴바 사용 설정 |
61 | setSupportActionBar(toolbar) | 65 | setSupportActionBar(toolbar) |
62 | 66 | ||
... | @@ -151,6 +155,7 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { | ... | @@ -151,6 +155,7 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { |
151 | numOfBS=0 | 155 | numOfBS=0 |
152 | }else{ | 156 | }else{ |
153 | numOfBS=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt() | 157 | numOfBS=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt() |
158 | + editor.putString("numOfBS",findViewById<EditText>(R.id.bsNumberEditText).text.toString()) | ||
154 | if(numOfBS>=2){ | 159 | if(numOfBS>=2){ |
155 | editor.putInt("c10_16",1); editor.commit();editor.putString("second_three","done");editor.commit() | 160 | editor.putInt("c10_16",1); editor.commit();editor.putString("second_three","done");editor.commit() |
156 | }else if(numOfBS<2){ | 161 | }else if(numOfBS<2){ | ... | ... |
... | @@ -54,6 +54,9 @@ class InputProfilSecondTwoActivity : AppCompatActivity() { | ... | @@ -54,6 +54,9 @@ class InputProfilSecondTwoActivity : AppCompatActivity() { |
54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 54 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
55 | val editor: SharedPreferences.Editor=prof.edit() | 55 | val editor: SharedPreferences.Editor=prof.edit() |
56 | 56 | ||
57 | + if(prof.getString("numOfChild","")!=""){ | ||
58 | + findViewById<EditText>(R.id.childNumberEditText).setText(prof.getString("numOfChild","")) | ||
59 | + } | ||
57 | // 1. 툴바 사용 설정 | 60 | // 1. 툴바 사용 설정 |
58 | setSupportActionBar(toolbar) | 61 | setSupportActionBar(toolbar) |
59 | 62 | ||
... | @@ -140,6 +143,8 @@ class InputProfilSecondTwoActivity : AppCompatActivity() { | ... | @@ -140,6 +143,8 @@ class InputProfilSecondTwoActivity : AppCompatActivity() { |
140 | numOfChild=0 | 143 | numOfChild=0 |
141 | }else{ | 144 | }else{ |
142 | numOfChild=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt() | 145 | numOfChild=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt() |
146 | + editor.putString("numOfChild",findViewById<EditText>(R.id.childNumberEditText).text.toString()) | ||
147 | + editor.commit() | ||
143 | if(numOfChild>=3){ | 148 | if(numOfChild>=3){ |
144 | editor.putInt("c10_16",1); editor.commit();editor.putString("second_two","done");editor.commit() | 149 | editor.putInt("c10_16",1); editor.commit();editor.putString("second_two","done");editor.commit() |
145 | }else if(numOfChild<3){ | 150 | }else if(numOfChild<3){ | ... | ... |
... | @@ -56,6 +56,13 @@ class InputProfilThirdFiveActivity : AppCompatActivity() { | ... | @@ -56,6 +56,13 @@ class InputProfilThirdFiveActivity : AppCompatActivity() { |
56 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 56 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
57 | val editor: SharedPreferences.Editor=prof.edit() | 57 | val editor: SharedPreferences.Editor=prof.edit() |
58 | 58 | ||
59 | + if(prof.getInt("c8_1",0)==1){ nothingButton.isChecked=true} | ||
60 | + if(prof.getInt("c7_2",0)==1){ imshinButton.isChecked=true} | ||
61 | + if(prof.getInt("c9_17",0)==1){ nanchiButton.isChecked=true} | ||
62 | + if(prof.getInt("c9_18",0)==1){ oeButton.isChecked=true} | ||
63 | + if(prof.getInt("c9_19",0)==1){ yoyaangButton.isChecked=true} | ||
64 | + if(prof.getInt("c8_17",0)==1){ guitarButton.isChecked=true} | ||
65 | + | ||
59 | // 1. 툴바 사용 설정 | 66 | // 1. 툴바 사용 설정 |
60 | setSupportActionBar(toolbar) | 67 | setSupportActionBar(toolbar) |
61 | 68 | ... | ... |
... | @@ -8,6 +8,7 @@ import android.os.Bundle | ... | @@ -8,6 +8,7 @@ import android.os.Bundle |
8 | import android.util.Log | 8 | import android.util.Log |
9 | import android.view.View.GONE | 9 | import android.view.View.GONE |
10 | import android.view.View.VISIBLE | 10 | import android.view.View.VISIBLE |
11 | +import android.widget.Button | ||
11 | import android.widget.TextView | 12 | import android.widget.TextView |
12 | import android.widget.Toast | 13 | import android.widget.Toast |
13 | import androidx.appcompat.app.AlertDialog | 14 | import androidx.appcompat.app.AlertDialog |
... | @@ -55,6 +56,25 @@ class InputProfilThirdFourActivity : AppCompatActivity() { | ... | @@ -55,6 +56,25 @@ class InputProfilThirdFourActivity : AppCompatActivity() { |
55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 56 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
56 | val editor: SharedPreferences.Editor=prof.edit() | 57 | val editor: SharedPreferences.Editor=prof.edit() |
57 | 58 | ||
59 | + if(prof.getInt("c8_2",0)==1){ yesButton.isChecked=true} | ||
60 | + if(prof.getInt("c9_2",0)==1){ jichaeButton.isChecked=true} | ||
61 | + if(prof.getInt("c9_3",0)==1){ noebyungbyunButton.isChecked=true} | ||
62 | + if(prof.getInt("c9_4",0)==1){ sigaakButton.isChecked=true} | ||
63 | + if(prof.getInt("c9_5",0)==1){ chungkaakButton.isChecked=true} | ||
64 | + if(prof.getInt("c9_6",0)==1){ unuhButton.isChecked=true} | ||
65 | + if(prof.getInt("c9_7",0)==1){ ahnmyunButton.isChecked=true} | ||
66 | + if(prof.getInt("c9_8",0)==1){ sinjaangButton.isChecked=true} | ||
67 | + if(prof.getInt("c9_9",0)==1){ simjaangButton.isChecked=true} | ||
68 | + if(prof.getInt("c9_10",0)==1){ gaanjaangButton.isChecked=true} | ||
69 | + if(prof.getInt("c9_11",0)==1){ jaangrooButton.isChecked=true} | ||
70 | + if(prof.getInt("c9_12",0)==1){ noejungjeungButton.isChecked=true} | ||
71 | + if(prof.getInt("c9_13",0)==1){ hoheupkiButton.isChecked=true} | ||
72 | + if(prof.getInt("c9_14",0)==1){ jijukButton.isChecked=true} | ||
73 | + if(prof.getInt("c9_15",0)==1){ japyeahButton.isChecked=true} | ||
74 | + if(prof.getInt("c9_16",0)==1){ jeongshinButton.isChecked=true} | ||
75 | + | ||
76 | + if(prof.getString("noButton","")=="isChecked"){noButton.isChecked=true} | ||
77 | + | ||
58 | // 1. 툴바 사용 설정 | 78 | // 1. 툴바 사용 설정 |
59 | setSupportActionBar(toolbar) | 79 | setSupportActionBar(toolbar) |
60 | 80 | ||
... | @@ -150,11 +170,19 @@ class InputProfilThirdFourActivity : AppCompatActivity() { | ... | @@ -150,11 +170,19 @@ class InputProfilThirdFourActivity : AppCompatActivity() { |
150 | editor.remove("c9_14") | 170 | editor.remove("c9_14") |
151 | editor.remove("c9_15") | 171 | editor.remove("c9_15") |
152 | editor.remove("c9_16") | 172 | editor.remove("c9_16") |
173 | + editor.remove("noButton") | ||
174 | + | ||
153 | editor.commit() | 175 | editor.commit() |
154 | 176 | ||
155 | if(yesButton.isChecked){ | 177 | if(yesButton.isChecked){ |
156 | editor.putInt("c8_2",1); editor.commit() | 178 | editor.putInt("c8_2",1); editor.commit() |
157 | } | 179 | } |
180 | + | ||
181 | + if(noButton.isChecked){ | ||
182 | + editor.putString("noButton","isChecked") | ||
183 | + editor.commit() | ||
184 | + } | ||
185 | + | ||
158 | if(jichaeButton.isChecked){editor.putInt("c9_2",1); editor.commit();editor.putString("third_four","done");editor.commit()} | 186 | if(jichaeButton.isChecked){editor.putInt("c9_2",1); editor.commit();editor.putString("third_four","done");editor.commit()} |
159 | if(noebyungbyunButton.isChecked){editor.putInt("c9_3",1); editor.commit();editor.putString("third_four","done");editor.commit()} | 187 | if(noebyungbyunButton.isChecked){editor.putInt("c9_3",1); editor.commit();editor.putString("third_four","done");editor.commit()} |
160 | if(sigaakButton.isChecked){editor.putInt("c9_4",1); editor.commit();editor.putString("third_four","done");editor.commit()} | 188 | if(sigaakButton.isChecked){editor.putInt("c9_4",1); editor.commit();editor.putString("third_four","done");editor.commit()} | ... | ... |
... | @@ -53,6 +53,13 @@ class InputProfilThirdOneActivity : AppCompatActivity() { | ... | @@ -53,6 +53,13 @@ class InputProfilThirdOneActivity : AppCompatActivity() { |
53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
54 | val editor: SharedPreferences.Editor=prof.edit() | 54 | val editor: SharedPreferences.Editor=prof.edit() |
55 | 55 | ||
56 | + if(prof.getInt("c6_2",0)==1){elementaryButton.isChecked=true} | ||
57 | + if(prof.getInt("c6_3",0)==1){middleButton.isChecked=true} | ||
58 | + if(prof.getInt("c6_4",0)==1){highButton.isChecked=true} | ||
59 | + if(prof.getInt("c6_5",0)==1){universityButton.isChecked=true} | ||
60 | + if(prof.getInt("c6_6",0)==1){graduateButton.isChecked=true} | ||
61 | + if(prof.getInt("c6_7",0)==1){specialButton.isChecked=true} | ||
62 | + | ||
56 | // 1. 툴바 사용 설정 | 63 | // 1. 툴바 사용 설정 |
57 | setSupportActionBar(toolbar) | 64 | setSupportActionBar(toolbar) |
58 | 65 | ... | ... |
... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences | ... | @@ -6,6 +6,7 @@ import android.content.SharedPreferences |
6 | import androidx.appcompat.app.AppCompatActivity | 6 | import androidx.appcompat.app.AppCompatActivity |
7 | import android.os.Bundle | 7 | import android.os.Bundle |
8 | import android.util.Log | 8 | import android.util.Log |
9 | +import android.widget.Button | ||
9 | import android.widget.TextView | 10 | import android.widget.TextView |
10 | import android.widget.Toast | 11 | import android.widget.Toast |
11 | import androidx.appcompat.app.AlertDialog | 12 | import androidx.appcompat.app.AlertDialog |
... | @@ -52,6 +53,17 @@ class InputProfilThirdThreeActivity : AppCompatActivity() { | ... | @@ -52,6 +53,17 @@ class InputProfilThirdThreeActivity : AppCompatActivity() { |
52 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 53 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
53 | val editor: SharedPreferences.Editor=prof.edit() | 54 | val editor: SharedPreferences.Editor=prof.edit() |
54 | 55 | ||
56 | + if(prof.getInt("c4_11",0)==1){nothingButton.isChecked=true} | ||
57 | + if(prof.getInt("c4_2",0)==1){ mipilButton.isChecked=true} | ||
58 | + if(prof.getInt("c4_3",0)==1){ myunjaeButton.isChecked=true} | ||
59 | + if(prof.getInt("c4_4",0)==1){ jobsoldierButton.isChecked=true} | ||
60 | + if(prof.getInt("c4_5",0)==1){ bokmoojoongButton.isChecked=true} | ||
61 | + if(prof.getInt("c4_6",0)==1){ mangijedaeButton.isChecked=true} | ||
62 | + if(prof.getInt("c4_7",0)==1){ specialmanryoButton.isChecked=true} | ||
63 | + if(prof.getInt("c4_8",0)==1){ specialbokmoosanupButton.isChecked=true} | ||
64 | + if(prof.getInt("c4_9",0)==1){ specialbokmoojeonmoonButton.isChecked=true} | ||
65 | + if(prof.getInt("c4_10",0)==1){jedaeguitarButton.isChecked=true} | ||
66 | + | ||
55 | // 1. 툴바 사용 설정 | 67 | // 1. 툴바 사용 설정 |
56 | setSupportActionBar(toolbar) | 68 | setSupportActionBar(toolbar) |
57 | 69 | ... | ... |
... | @@ -55,6 +55,11 @@ class InputProfilThirdTwoActivity : AppCompatActivity() { | ... | @@ -55,6 +55,11 @@ class InputProfilThirdTwoActivity : AppCompatActivity() { |
55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) | 55 | val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE) |
56 | val editor: SharedPreferences.Editor=prof.edit() | 56 | val editor: SharedPreferences.Editor=prof.edit() |
57 | 57 | ||
58 | + if(prof.getInt("c5_6",0)==1){companyButton.isChecked=true} | ||
59 | + if(prof.getInt("c5_7",0)==1){workerButton.isChecked=true} | ||
60 | + if(prof.getInt("c5_9",0)==1){entireButton.isChecked=true} | ||
61 | + if(prof.getInt("c5_5",0)==1){startupButton.isChecked=true} | ||
62 | + if(prof.getInt("c5_5",0)==1){seekButton.isChecked=true} | ||
58 | // 1. 툴바 사용 설정 | 63 | // 1. 툴바 사용 설정 |
59 | setSupportActionBar(toolbar) | 64 | setSupportActionBar(toolbar) |
60 | 65 | ... | ... |
... | @@ -12,11 +12,11 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() { | ... | @@ -12,11 +12,11 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() { |
12 | 12 | ||
13 | private var layoutInflater : LayoutInflater? = null | 13 | private var layoutInflater : LayoutInflater? = null |
14 | val Image = arrayOf( | 14 | val Image = arrayOf( |
15 | - R.drawable.onboarding1, | 15 | + R.drawable.a, |
16 | - R.drawable.onboarding2, | 16 | + R.drawable.b, |
17 | - R.drawable.onboarding3, | 17 | + R.drawable.c, |
18 | - R.drawable.onboarding4, | 18 | + R.drawable.d, |
19 | - R.drawable.onboarding5 | 19 | + R.drawable.e |
20 | ) | 20 | ) |
21 | 21 | ||
22 | 22 | ... | ... |
vip/app/src/main/res/drawable-xhdpi/a.png
0 → 100644

88.8 KB
vip/app/src/main/res/drawable-xhdpi/b.png
0 → 100644

156 KB
vip/app/src/main/res/drawable-xhdpi/c.png
0 → 100644

195 KB
vip/app/src/main/res/drawable-xhdpi/d.png
0 → 100644

193 KB
vip/app/src/main/res/drawable-xhdpi/e.png
0 → 100644

287 KB
-
Please register or login to post a comment