신기성

track commit

Showing 36 changed files with 1114 additions and 1050 deletions
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
9 android:roundIcon="@mipmap/ic_launcher_round" 9 android:roundIcon="@mipmap/ic_launcher_round"
10 android:supportsRtl="true" 10 android:supportsRtl="true"
11 android:theme="@style/NoActionBar"> 11 android:theme="@style/NoActionBar">
12 - <activity android:name=".InputProfilFifthFourActivity"></activity> 12 + <activity android:name=".ChildAdapter"></activity>
13 + <activity android:name=".InputProfilFifthFourActivity" />
13 <activity android:name=".InputProfilFifthThreeActivity" /> 14 <activity android:name=".InputProfilFifthThreeActivity" />
14 <activity android:name=".InputProfilFifthTwoActivity" /> 15 <activity android:name=".InputProfilFifthTwoActivity" />
15 <activity android:name=".InputProfilFifthOneActivity" /> 16 <activity android:name=".InputProfilFifthOneActivity" />
...@@ -42,7 +43,9 @@ ...@@ -42,7 +43,9 @@
42 <activity android:name=".SignInActivity" /> 43 <activity android:name=".SignInActivity" />
43 <activity android:name=".SignUpActivity" /> 44 <activity android:name=".SignUpActivity" />
44 <activity android:name=".MainActivity" /> 45 <activity android:name=".MainActivity" />
45 - <activity android:name=".SearchActivity" android:windowSoftInputMode="adjustNothing"/> 46 + <activity
47 + android:name=".SearchActivity"
48 + android:windowSoftInputMode="adjustNothing" />
46 <activity 49 <activity
47 android:name=".SplashActivity" 50 android:name=".SplashActivity"
48 android:theme="@style/SplashTheme"> 51 android:theme="@style/SplashTheme">
......
1 +package com.example.vip
2 +
3 +import android.content.Context
4 +import android.content.Intent
5 +import android.content.SharedPreferences
6 +import androidx.appcompat.app.AppCompatActivity
7 +import android.os.Bundle
8 +import android.view.LayoutInflater
9 +import android.view.View
10 +import android.view.ViewGroup
11 +import androidx.recyclerview.widget.RecyclerView
12 +import kotlinx.android.synthetic.main.item_bs.view.*
13 +
14 +class BSAdapter(private val items: ArrayList<BSItem>) :
15 + RecyclerView.Adapter<BSAdapter.ViewHolder>() {
16 +
17 + override fun getItemCount() = items.size
18 +
19 + override fun onBindViewHolder(holder: BSAdapter.ViewHolder, position: Int) {
20 + val item = items[position]
21 +
22 + holder.apply {
23 + bind(item)
24 + itemView.tag = item
25 + }
26 + }
27 +
28 + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
29 + BSAdapter.ViewHolder {
30 + val inflatedView = LayoutInflater.from(parent.context)
31 + .inflate(R.layout.item_bs, parent, false)
32 + return BSAdapter.ViewHolder(inflatedView)
33 + }
34 +
35 + class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
36 +
37 + private var view: View = v
38 +
39 + fun bind(item: BSItem) {
40 + view.circleformButton.text=item.numOfBS.toString()
41 + view.bsTextView.text=" 형제자매 "+item.numOfBS.toString()
42 +
43 + view.womanButton.setOnClickListener {
44 + if(view.manButton.isChecked){
45 + view.manButton.isChecked=false
46 + }else{
47 + }
48 + }
49 + view.manButton.setOnClickListener {
50 + if(view.womanButton.isChecked){
51 + view.womanButton.isChecked=false
52 + }else{
53 + }
54 + }
55 +
56 + }
57 + }
58 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.example.vip
2 +class BSItem(val numOfBS: Int)
...\ No newline at end of file ...\ No newline at end of file
1 +package com.example.vip
2 +
3 +import android.content.Context
4 +import android.content.Intent
5 +import android.content.SharedPreferences
6 +import androidx.appcompat.app.AppCompatActivity
7 +import android.os.Bundle
8 +import android.view.LayoutInflater
9 +import android.view.View
10 +import android.view.ViewGroup
11 +import androidx.recyclerview.widget.RecyclerView
12 +import kotlinx.android.synthetic.main.item_child.view.*
13 +import kotlinx.android.synthetic.main.item_policyfield.view.*
14 +
15 +class ChildAdapter(private val items: ArrayList<ChildItem>) :
16 + RecyclerView.Adapter<ChildAdapter.ViewHolder>() {
17 +
18 + override fun getItemCount() = items.size
19 +
20 + override fun onBindViewHolder(holder: ChildAdapter.ViewHolder, position: Int) {
21 + val item = items[position]
22 +
23 + holder.apply {
24 + bind(item)
25 + itemView.tag = item
26 + }
27 + }
28 +
29 + override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
30 + ChildAdapter.ViewHolder {
31 + val inflatedView = LayoutInflater.from(parent.context)
32 + .inflate(R.layout.item_child, parent, false)
33 + return ChildAdapter.ViewHolder(inflatedView)
34 + }
35 +
36 + class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
37 +
38 + private var view: View = v
39 +
40 + fun bind(item: ChildItem) {
41 + view.circleformButton.text=item.numOfChild.toString()
42 + view.childTextView.text=" 자녀 "+item.numOfChild.toString()
43 +
44 + view.womanButton.setOnClickListener {
45 + if(view.manButton.isChecked){
46 + view.manButton.isChecked=false
47 + }else{
48 + }
49 + }
50 + view.manButton.setOnClickListener {
51 + if(view.womanButton.isChecked){
52 + view.womanButton.isChecked=false
53 + }else{
54 + }
55 + }
56 +
57 + }
58 + }
59 +}
...\ No newline at end of file ...\ No newline at end of file
1 +package com.example.vip
2 +class ChildItem(val numOfChild: Int)
...\ No newline at end of file ...\ No newline at end of file
1 package com.example.vip 1 package com.example.vip
2 2
3 +import android.content.Context
3 import android.content.Intent 4 import android.content.Intent
5 +import android.content.SharedPreferences
4 import android.graphics.Color 6 import android.graphics.Color
5 import androidx.appcompat.app.AppCompatActivity 7 import androidx.appcompat.app.AppCompatActivity
6 import android.os.Bundle 8 import android.os.Bundle
...@@ -28,7 +30,17 @@ class InputProfilFirstFiveActivity : AppCompatActivity() { ...@@ -28,7 +30,17 @@ class InputProfilFirstFiveActivity : AppCompatActivity() {
28 startActivity(intent) 30 startActivity(intent)
29 } 31 }
30 32
33 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
34 + val editor: SharedPreferences.Editor=prof.edit()
35 +
31 nextButton.setOnClickListener { 36 nextButton.setOnClickListener {
37 + if(inmanButton.isChecked){
38 + editor.putInt("c1_2",1); editor.commit()
39 + }else if(outmanButton.isChecked){
40 + editor.putInt("c1_3",1); editor.commit()
41 + }else{
42 +
43 + }
32 var intent = Intent(this, InputProfilFirstSixActivity::class.java) 44 var intent = Intent(this, InputProfilFirstSixActivity::class.java)
33 startActivity(intent) 45 startActivity(intent)
34 } 46 }
......
...@@ -3,8 +3,12 @@ package com.example.vip ...@@ -3,8 +3,12 @@ package com.example.vip
3 import android.content.Intent 3 import android.content.Intent
4 import android.content.Context 4 import android.content.Context
5 import android.content.SharedPreferences 5 import android.content.SharedPreferences
6 +import android.icu.lang.UCharacter.GraphemeClusterBreak.T
6 import androidx.appcompat.app.AppCompatActivity 7 import androidx.appcompat.app.AppCompatActivity
7 import android.os.Bundle 8 import android.os.Bundle
9 +import android.view.View
10 +import android.widget.AdapterView
11 +import android.widget.ArrayAdapter
8 import android.widget.EditText 12 import android.widget.EditText
9 import kotlinx.android.synthetic.main.activity_input_profil_first_four.* 13 import kotlinx.android.synthetic.main.activity_input_profil_first_four.*
10 import kotlinx.android.synthetic.main.activity_input_profil_first_four.nextButton 14 import kotlinx.android.synthetic.main.activity_input_profil_first_four.nextButton
...@@ -22,43 +26,364 @@ class InputProfilFirstFourActivity : AppCompatActivity() { ...@@ -22,43 +26,364 @@ class InputProfilFirstFourActivity : AppCompatActivity() {
22 startActivity(intent) 26 startActivity(intent)
23 } 27 }
24 28
25 - val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE) 29 + val doadapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, listOf("서울특별시", "부산광역시", "대구광역시", "인천광역시","광주광역시","대전광역시","울산광역시","세종특별자치시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도"))
26 - val editor: SharedPreferences.Editor=prof.edit() 30 + doadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
27 - 31 + doSpinner.adapter = doadapter
28 - nextButton.setOnClickListener {
29 - var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
30 - startActivity(intent)
31 32
32 - /* 33 + doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener {
33 - var birthdateinput=findViewById<EditText>(R.id.editText).text.toString().toInt() 34 + override fun onNothingSelected(parent: AdapterView<*>?) {
34 - if ((2019-birthdateinput)<19){
35 - editor.putInt("c1_2",1)
36 - editor.commit()
37 - //마지막장에 상관없음 추가
38 - }
39 - else if((2019-birthdateinput)<34){
40 - editor.putInt("c1_3",1)
41 - editor.commit()
42 - }
43 - else if((2019-birthdateinput)<40){
44 - editor.putInt("c1_4",1)
45 - editor.commit()
46 } 35 }
47 - else if((2019-birthdateinput)<49){ 36 + override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
48 - editor.putInt("c1_5",1) 37 + // either one will work as well
49 - editor.commit() 38 + // val item = parent.getItemAtPosition(position) as String
39 + //val item = adapter.getItem(position)
40 + if(doSpinner.selectedItem.toString()=="서울특별시"){
41 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("종로구","중구","용산구","성동구","광진구","동대문구","중랑구","성북구","강북구","도봉구","노원구","은평구","서대문구","마포구","양천구","강서구","구로구","금천구","영등포구","동작구","관악구","서초구","강남구","송파구","강동구"))
42 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
43 + gooSpinner.adapter = gooadapter
44 + }else if(doSpinner.selectedItem.toString()=="부산광역시"){
45 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강서구","금정구","기장군","남구","동구","동래구","부산진구","북구","사상구","사하구","서구","수영구","연제구","영도구","중구","해운대구"))
46 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
47 + gooSpinner.adapter = gooadapter
48 + }else if(doSpinner.selectedItem.toString()=="대구광역시"){
49 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("남구","달서구","달성군","동구","북구","서구","수성구","중구"))
50 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
51 + gooSpinner.adapter = gooadapter
52 + }else if(doSpinner.selectedItem.toString()=="인천광역시"){
53 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강화군","계양구","남구","남동구","동구","부평구","서구","연수구","옹진군","중구","미추홀구"))
54 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
55 + gooSpinner.adapter = gooadapter
56 + }else if(doSpinner.selectedItem.toString()=="광주광역시"){
57 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("광산구","남구","동구","북구","서구"))
58 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
59 + gooSpinner.adapter = gooadapter
60 + }else if(doSpinner.selectedItem.toString()=="대전광역시"){
61 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("대덕구","동구","서구","유성구","중구"))
62 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
63 + gooSpinner.adapter = gooadapter
64 + }else if(doSpinner.selectedItem.toString()=="울산광역시"){
65 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("남구","동구","북구","울주군","중구"))
66 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
67 + gooSpinner.adapter = gooadapter
68 + }else if(doSpinner.selectedItem.toString()=="세종특별자치시"){
69 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("해당 없음"))
70 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
71 + gooSpinner.adapter = gooadapter
72 + }else if(doSpinner.selectedItem.toString()=="경기도"){
73 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("가평군","고양시","과천시","광명시","광주시","구리시","군포시","김포시","남양주시","동두천시","부천시","성남시","수원시","시흥시","안산시","안성시","안양시","양주시","양평군","여주시","연천군","오산시","용인시","의왕시","의정부시","이천시","파주시","평택시","포천시","하남시","화성시"))
74 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
75 + gooSpinner.adapter = gooadapter
76 + }else if(doSpinner.selectedItem.toString()=="강원도"){
77 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강릉시","고성군","동해시","삼척시","속초시","양구군","양양군","영월군","원주시","인제군","정선군","철원군","춘천시","태백시","평창군","홍천군","화천군","횡성군"))
78 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
79 + gooSpinner.adapter = gooadapter
80 + }else if(doSpinner.selectedItem.toString()=="충청북도"){
81 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("괴산군","단양군","보은군","영동군","옥천군","음성군","제천시","증평군","진천군","청주시","충주시"))
82 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
83 + gooSpinner.adapter = gooadapter
84 + }else if(doSpinner.selectedItem.toString()=="충청남도"){
85 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("계룡시","공주시","금산군","논산시","당진시","보령시","부여군","서산시","서천군","아산시","예산군","천안시","청양군","태안군","홍성군"))
86 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
87 + gooSpinner.adapter = gooadapter
88 + }else if(doSpinner.selectedItem.toString()=="전라북도"){
89 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("고창군","군산시","김제시","남원시","무주군","부안군","순창군","완주군","익산시","임실군","장수군","전주시","정읍시","진안군"))
90 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
91 + gooSpinner.adapter = gooadapter
92 + }else if(doSpinner.selectedItem.toString()=="전라남도"){
93 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강진군","고흥군","곡성군","광양시","구례군","나주시","담양군","목포시","무안군","보성군","순천시","신안군","여수시","영광군","영암군","완도군","장성군","장흥군","진도군","함평군","해남군","화순군"))
94 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
95 + gooSpinner.adapter = gooadapter
96 + }else if(doSpinner.selectedItem.toString()=="경상북도"){
97 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("경산시","경주시","고령군","구미시","군위군","김천시","문경시","봉화군","상주시","성주군","안동시","영덕군","영양군","영주시","영천시","예천군","울릉군","울진군","의성군","청도군","청송군","칠곡군","포항시"))
98 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
99 + gooSpinner.adapter = gooadapter
100 + }else if(doSpinner.selectedItem.toString()=="경상남도"){
101 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("거제시","거창군","고성군","김해시","남해군","밀양시","사천시","산청군","양산시","의령군","진주시","창년군","창원시","통영시","하동군","함안군","함양군","합천군"))
102 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
103 + gooSpinner.adapter = gooadapter
104 + }else {
105 + var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("서귀포시","제주시"))
106 + gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
107 + gooSpinner.adapter = gooadapter
50 } 108 }
51 - else if((2019-birthdateinput)<59){
52 - editor.putInt("c1_6",1)
53 - editor.commit()
54 } 109 }
55 - else{
56 - editor.putInt("c1_7",1)
57 - editor.commit()
58 } 110 }
59 111
60 - */ 112 + val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
61 - } 113 + val editor: SharedPreferences.Editor=prof.edit()
114 + nextButton.setOnClickListener {
115 + if(doSpinner.selectedItem.toString()=="서울특별시"){ editor.putInt("c11_2",1); editor.commit()}
116 + if(doSpinner.selectedItem.toString()=="부산광역시"){ editor.putInt("c11_3",1); editor.commit()}
117 + if(doSpinner.selectedItem.toString()=="대구광역시"){ editor.putInt("c11_4",1); editor.commit()}
118 + if(doSpinner.selectedItem.toString()=="인천광역시"){ editor.putInt("c11_5",1); editor.commit()}
119 + if(doSpinner.selectedItem.toString()=="광주광역시"){ editor.putInt("c11_6",1); editor.commit()}
120 + if(doSpinner.selectedItem.toString()=="대전광역시"){ editor.putInt("c11_7",1); editor.commit()}
121 + if(doSpinner.selectedItem.toString()=="울산광역시"){ editor.putInt("c11_8",1); editor.commit()}
122 + if(doSpinner.selectedItem.toString()=="세종특별자치시"){ editor.putInt("c11_9",1); editor.commit()}
123 + if(doSpinner.selectedItem.toString()=="경기도"){ editor.putInt("c11_10",1); editor.commit()}
124 + if(doSpinner.selectedItem.toString()=="강원도"){ editor.putInt("c11_11",1); editor.commit()}
125 + if(doSpinner.selectedItem.toString()=="충청북도"){ editor.putInt("c11_12",1); editor.commit()}
126 + if(doSpinner.selectedItem.toString()=="충청남도"){ editor.putInt("c11_13",1); editor.commit()}
127 + if(doSpinner.selectedItem.toString()=="전라북도"){ editor.putInt("c11_14",1); editor.commit()}
128 + if(doSpinner.selectedItem.toString()=="전라남도"){ editor.putInt("c11_15",1); editor.commit()}
129 + if(doSpinner.selectedItem.toString()=="경상북도"){ editor.putInt("c11_16",1); editor.commit()}
130 + if(doSpinner.selectedItem.toString()=="경상남도"){ editor.putInt("c11_17",1); editor.commit()}
131 + if(doSpinner.selectedItem.toString()=="제주특별자치도"){ editor.putInt("c11_18",1); editor.commit()}
62 132
133 + if(gooSpinner.selectedItem=="종로구"){editor.putInt("c12_100",1); editor.commit()}
134 + if(gooSpinner.selectedItem=="중구"){editor.putInt("c12_101",1); editor.commit()}
135 + if(gooSpinner.selectedItem=="용산구"){editor.putInt("c12_102",1); editor.commit()}
136 + if(gooSpinner.selectedItem=="성동구"){editor.putInt("c12_103",1); editor.commit()}
137 + if(gooSpinner.selectedItem=="광진구"){editor.putInt("c12_104",1); editor.commit()}
138 + if(gooSpinner.selectedItem=="동대문구"){editor.putInt("c12_105",1); editor.commit()}
139 + if(gooSpinner.selectedItem=="중랑구"){editor.putInt("c12_106",1); editor.commit()}
140 + if(gooSpinner.selectedItem=="성북구"){editor.putInt("c12_107",1); editor.commit()}
141 + if(gooSpinner.selectedItem=="강북구"){editor.putInt("c12_108",1); editor.commit()}
142 + if(gooSpinner.selectedItem=="도봉구"){editor.putInt("c12_109",1); editor.commit()}
143 + if(gooSpinner.selectedItem=="노원구"){editor.putInt("c12_110",1); editor.commit()}
144 + if(gooSpinner.selectedItem=="은평구"){editor.putInt("c12_111",1); editor.commit()}
145 + if(gooSpinner.selectedItem=="서대문구"){editor.putInt("c12_112",1); editor.commit()}
146 + if(gooSpinner.selectedItem=="마포구"){editor.putInt("c12_113",1); editor.commit()}
147 + if(gooSpinner.selectedItem=="양천구"){editor.putInt("c12_114",1); editor.commit()}
148 + if(gooSpinner.selectedItem=="강서구"){editor.putInt("c12_115",1); editor.commit()}
149 + if(gooSpinner.selectedItem=="구로구"){editor.putInt("c12_116",1); editor.commit()}
150 + if(gooSpinner.selectedItem=="금천구"){editor.putInt("c12_117",1); editor.commit()}
151 + if(gooSpinner.selectedItem=="영등포구"){editor.putInt("c12_118",1); editor.commit()}
152 + if(gooSpinner.selectedItem=="동작구"){editor.putInt("c12_119",1); editor.commit()}
153 + if(gooSpinner.selectedItem=="관악구"){editor.putInt("c12_120",1); editor.commit()}
154 + if(gooSpinner.selectedItem=="서초구"){editor.putInt("c12_121",1); editor.commit()}
155 + if(gooSpinner.selectedItem=="강남구"){editor.putInt("c12_122",1); editor.commit()}
156 + if(gooSpinner.selectedItem=="송파구"){editor.putInt("c12_123",1); editor.commit()}
157 + if(gooSpinner.selectedItem=="강동구"){editor.putInt("c12_124",1); editor.commit()}
158 + if(gooSpinner.selectedItem=="서구"){editor.putInt("c12_125",1); editor.commit()}
159 + if(gooSpinner.selectedItem=="동구"){editor.putInt("c12_126",1); editor.commit()}
160 + if(gooSpinner.selectedItem=="영도구"){editor.putInt("c12_127",1); editor.commit()}
161 + if(gooSpinner.selectedItem=="부산진구"){editor.putInt("c12_128",1); editor.commit()}
162 + if(gooSpinner.selectedItem=="동래구"){editor.putInt("c12_129",1); editor.commit()}
163 + if(gooSpinner.selectedItem=="남구"){editor.putInt("c12_130",1); editor.commit()}
164 + if(gooSpinner.selectedItem=="북구"){editor.putInt("c12_131",1); editor.commit()}
165 + if(gooSpinner.selectedItem=="해운대구"){editor.putInt("c12_132",1); editor.commit()}
166 + if(gooSpinner.selectedItem=="사하구"){editor.putInt("c12_133",1); editor.commit()}
167 + if(gooSpinner.selectedItem=="금정구"){editor.putInt("c12_134",1); editor.commit()}
168 + if(gooSpinner.selectedItem=="연제구"){editor.putInt("c12_135",1); editor.commit()}
169 + if(gooSpinner.selectedItem=="수영구"){editor.putInt("c12_136",1); editor.commit()}
170 + if(gooSpinner.selectedItem=="사상구"){editor.putInt("c12_137",1); editor.commit()}
171 + if(gooSpinner.selectedItem=="기장군"){editor.putInt("c12_138",1); editor.commit()}
172 + if(gooSpinner.selectedItem=="수성구"){editor.putInt("c12_139",1); editor.commit()}
173 + if(gooSpinner.selectedItem=="달서구"){editor.putInt("c12_140",1); editor.commit()}
174 + if(gooSpinner.selectedItem=="달성군"){editor.putInt("c12_141",1); editor.commit()}
175 + if(gooSpinner.selectedItem=="중구영종출장소"){editor.putInt("c12_142",1); editor.commit()}
176 + if(gooSpinner.selectedItem=="중구용유출장소"){editor.putInt("c12_143",1); editor.commit()}
177 + if(gooSpinner.selectedItem=="미추홀구"){editor.putInt("c12_144",1); editor.commit()}
178 + if(gooSpinner.selectedItem=="연수구"){editor.putInt("c12_145",1); editor.commit()}
179 + if(gooSpinner.selectedItem=="남동구"){editor.putInt("c12_146",1); editor.commit()}
180 + if(gooSpinner.selectedItem=="부평구"){editor.putInt("c12_147",1); editor.commit()}
181 + if(gooSpinner.selectedItem=="계양구"){editor.putInt("c12_148",1); editor.commit()}
182 + if(gooSpinner.selectedItem=="서구검단출장"){editor.putInt("c12_149",1); editor.commit()}
183 + if(gooSpinner.selectedItem=="강화군"){editor.putInt("c12_150",1); editor.commit()}
184 + if(gooSpinner.selectedItem=="옹진군"){editor.putInt("c12_151",1); editor.commit()}
185 + if(gooSpinner.selectedItem=="광산구"){editor.putInt("c12_152",1); editor.commit()}
186 + if(gooSpinner.selectedItem=="유성구"){editor.putInt("c12_153",1); editor.commit()}
187 + if(gooSpinner.selectedItem=="대덕구"){editor.putInt("c12_154",1); editor.commit()}
188 + if(gooSpinner.selectedItem=="울주군"){editor.putInt("c12_155",1); editor.commit()}
189 + if(gooSpinner.selectedItem=="수원시"){editor.putInt("c12_156",1); editor.commit()}
190 + if(gooSpinner.selectedItem=="수원시 장안구"){editor.putInt("c12_157",1); editor.commit()}
191 + if(gooSpinner.selectedItem=="수원시 권선구"){editor.putInt("c12_158",1); editor.commit()}
192 + if(gooSpinner.selectedItem=="수원시 팔달구"){editor.putInt("c12_159",1); editor.commit()}
193 + if(gooSpinner.selectedItem=="수원시 영통구"){editor.putInt("c12_160",1); editor.commit()}
194 + if(gooSpinner.selectedItem=="성남시"){editor.putInt("c12_161",1); editor.commit()}
195 + if(gooSpinner.selectedItem=="성남시 수정구"){editor.putInt("c12_162",1); editor.commit()}
196 + if(gooSpinner.selectedItem=="성남시 중원구"){editor.putInt("c12_163",1); editor.commit()}
197 + if(gooSpinner.selectedItem=="성남시 분당구"){editor.putInt("c12_164",1); editor.commit()}
198 + if(gooSpinner.selectedItem=="의정부시"){editor.putInt("c12_165",1); editor.commit()}
199 + if(gooSpinner.selectedItem=="안양시"){editor.putInt("c12_166",1); editor.commit()}
200 + if(gooSpinner.selectedItem=="안양시 만안구"){editor.putInt("c12_167",1); editor.commit()}
201 + if(gooSpinner.selectedItem=="안양시 동안구"){editor.putInt("c12_168",1); editor.commit()}
202 + if(gooSpinner.selectedItem=="부천시"){editor.putInt("c12_169",1); editor.commit()}
203 + if(gooSpinner.selectedItem=="광명시"){editor.putInt("c12_170",1); editor.commit()}
204 + if(gooSpinner.selectedItem=="평택시"){editor.putInt("c12_171",1); editor.commit()}
205 + if(gooSpinner.selectedItem=="송탄출장소"){editor.putInt("c12_172",1); editor.commit()}
206 + if(gooSpinner.selectedItem=="안중출장소"){editor.putInt("c12_173",1); editor.commit()}
207 + if(gooSpinner.selectedItem=="동두천시"){editor.putInt("c12_174",1); editor.commit()}
208 + if(gooSpinner.selectedItem=="안산시"){editor.putInt("c12_175",1); editor.commit()}
209 + if(gooSpinner.selectedItem=="안산시 상록구"){editor.putInt("c12_176",1); editor.commit()}
210 + if(gooSpinner.selectedItem=="안산시 단원구"){editor.putInt("c12_177",1); editor.commit()}
211 + if(gooSpinner.selectedItem=="고양시"){editor.putInt("c12_178",1); editor.commit()}
212 + if(gooSpinner.selectedItem=="고양시 덕양구"){editor.putInt("c12_179",1); editor.commit()}
213 + if(gooSpinner.selectedItem=="고양시 일산동구"){editor.putInt("c12_180",1); editor.commit()}
214 + if(gooSpinner.selectedItem=="고양시 일산서구"){editor.putInt("c12_181",1); editor.commit()}
215 + if(gooSpinner.selectedItem=="과천시"){editor.putInt("c12_182",1); editor.commit()}
216 + if(gooSpinner.selectedItem=="구리시"){editor.putInt("c12_183",1); editor.commit()}
217 + if(gooSpinner.selectedItem=="남양주시"){editor.putInt("c12_184",1); editor.commit()}
218 + if(gooSpinner.selectedItem=="풍양출장소"){editor.putInt("c12_185",1); editor.commit()}
219 + if(gooSpinner.selectedItem=="오산시"){editor.putInt("c12_186",1); editor.commit()}
220 + if(gooSpinner.selectedItem=="시흥시"){editor.putInt("c12_187",1); editor.commit()}
221 + if(gooSpinner.selectedItem=="군포시"){editor.putInt("c12_188",1); editor.commit()}
222 + if(gooSpinner.selectedItem=="의왕시"){editor.putInt("c12_189",1); editor.commit()}
223 + if(gooSpinner.selectedItem=="하남시"){editor.putInt("c12_190",1); editor.commit()}
224 + if(gooSpinner.selectedItem=="용인시"){editor.putInt("c12_191",1); editor.commit()}
225 + if(gooSpinner.selectedItem=="용인시 처인구"){editor.putInt("c12_192",1); editor.commit()}
226 + if(gooSpinner.selectedItem=="용인시 기흥구"){editor.putInt("c12_193",1); editor.commit()}
227 + if(gooSpinner.selectedItem=="용인시 수지구"){editor.putInt("c12_194",1); editor.commit()}
228 + if(gooSpinner.selectedItem=="파주시"){editor.putInt("c12_195",1); editor.commit()}
229 + if(gooSpinner.selectedItem=="이천시"){editor.putInt("c12_196",1); editor.commit()}
230 + if(gooSpinner.selectedItem=="안성시"){editor.putInt("c12_197",1); editor.commit()}
231 + if(gooSpinner.selectedItem=="김포시"){editor.putInt("c12_198",1); editor.commit()}
232 + if(gooSpinner.selectedItem=="화성시"){editor.putInt("c12_199",1); editor.commit()}
233 + if(gooSpinner.selectedItem=="화성시동부출장소"){editor.putInt("c12_200",1); editor.commit()}
234 + if(gooSpinner.selectedItem=="화성시동탄출장소"){editor.putInt("c12_201",1); editor.commit()}
235 + if(gooSpinner.selectedItem=="광주시"){editor.putInt("c12_202",1); editor.commit()}
236 + if(gooSpinner.selectedItem=="양주시"){editor.putInt("c12_203",1); editor.commit()}
237 + if(gooSpinner.selectedItem=="포천시"){editor.putInt("c12_204",1); editor.commit()}
238 + if(gooSpinner.selectedItem=="여주시"){editor.putInt("c12_205",1); editor.commit()}
239 + if(gooSpinner.selectedItem=="연천군"){editor.putInt("c12_206",1); editor.commit()}
240 + if(gooSpinner.selectedItem=="가평군"){editor.putInt("c12_207",1); editor.commit()}
241 + if(gooSpinner.selectedItem=="양평군"){editor.putInt("c12_208",1); editor.commit()}
242 + if(gooSpinner.selectedItem=="춘천시"){editor.putInt("c12_209",1); editor.commit()}
243 + if(gooSpinner.selectedItem=="원주시"){editor.putInt("c12_210",1); editor.commit()}
244 + if(gooSpinner.selectedItem=="강릉시"){editor.putInt("c12_211",1); editor.commit()}
245 + if(gooSpinner.selectedItem=="동해시"){editor.putInt("c12_212",1); editor.commit()}
246 + if(gooSpinner.selectedItem=="태백시"){editor.putInt("c12_213",1); editor.commit()}
247 + if(gooSpinner.selectedItem=="속초시"){editor.putInt("c12_214",1); editor.commit()}
248 + if(gooSpinner.selectedItem=="삼척시"){editor.putInt("c12_215",1); editor.commit()}
249 + if(gooSpinner.selectedItem=="홍천군"){editor.putInt("c12_216",1); editor.commit()}
250 + if(gooSpinner.selectedItem=="횡성군"){editor.putInt("c12_217",1); editor.commit()}
251 + if(gooSpinner.selectedItem=="영월군"){editor.putInt("c12_218",1); editor.commit()}
252 + if(gooSpinner.selectedItem=="평창군"){editor.putInt("c12_219",1); editor.commit()}
253 + if(gooSpinner.selectedItem=="정선군"){editor.putInt("c12_220",1); editor.commit()}
254 + if(gooSpinner.selectedItem=="철원군"){editor.putInt("c12_221",1); editor.commit()}
255 + if(gooSpinner.selectedItem=="화천군"){editor.putInt("c12_222",1); editor.commit()}
256 + if(gooSpinner.selectedItem=="양구군"){editor.putInt("c12_223",1); editor.commit()}
257 + if(gooSpinner.selectedItem=="인제군"){editor.putInt("c12_224",1); editor.commit()}
258 + if(gooSpinner.selectedItem=="고성군"){editor.putInt("c12_225",1); editor.commit()}
259 + if(gooSpinner.selectedItem=="양양군"){editor.putInt("c12_226",1); editor.commit()}
260 + if(gooSpinner.selectedItem=="청주시"){editor.putInt("c12_227",1); editor.commit()}
261 + if(gooSpinner.selectedItem=="청주시 상당구"){editor.putInt("c12_228",1); editor.commit()}
262 + if(gooSpinner.selectedItem=="청주시 서원구"){editor.putInt("c12_229",1); editor.commit()}
263 + if(gooSpinner.selectedItem=="청주시 흥덕구"){editor.putInt("c12_230",1); editor.commit()}
264 + if(gooSpinner.selectedItem=="청주시 청원구"){editor.putInt("c12_231",1); editor.commit()}
265 + if(gooSpinner.selectedItem=="충주시"){editor.putInt("c12_232",1); editor.commit()}
266 + if(gooSpinner.selectedItem=="제천시"){editor.putInt("c12_233",1); editor.commit()}
267 + if(gooSpinner.selectedItem=="보은군"){editor.putInt("c12_234",1); editor.commit()}
268 + if(gooSpinner.selectedItem=="옥천군"){editor.putInt("c12_235",1); editor.commit()}
269 + if(gooSpinner.selectedItem=="영동군"){editor.putInt("c12_236",1); editor.commit()}
270 + if(gooSpinner.selectedItem=="증평군"){editor.putInt("c12_237",1); editor.commit()}
271 + if(gooSpinner.selectedItem=="진천군"){editor.putInt("c12_238",1); editor.commit()}
272 + if(gooSpinner.selectedItem=="괴산군"){editor.putInt("c12_239",1); editor.commit()}
273 + if(gooSpinner.selectedItem=="음성군"){editor.putInt("c12_240",1); editor.commit()}
274 + if(gooSpinner.selectedItem=="단양군"){editor.putInt("c12_241",1); editor.commit()}
275 + if(gooSpinner.selectedItem=="천안시"){editor.putInt("c12_242",1); editor.commit()}
276 + if(gooSpinner.selectedItem=="천안시 동남구"){editor.putInt("c12_243",1); editor.commit()}
277 + if(gooSpinner.selectedItem=="천안시 서북구"){editor.putInt("c12_244",1); editor.commit()}
278 + if(gooSpinner.selectedItem=="공주시"){editor.putInt("c12_245",1); editor.commit()}
279 + if(gooSpinner.selectedItem=="보령시"){editor.putInt("c12_246",1); editor.commit()}
280 + if(gooSpinner.selectedItem=="아산시"){editor.putInt("c12_247",1); editor.commit()}
281 + if(gooSpinner.selectedItem=="서산시"){editor.putInt("c12_248",1); editor.commit()}
282 + if(gooSpinner.selectedItem=="논산시"){editor.putInt("c12_249",1); editor.commit()}
283 + if(gooSpinner.selectedItem=="계룡시"){editor.putInt("c12_250",1); editor.commit()}
284 + if(gooSpinner.selectedItem=="당진시"){editor.putInt("c12_251",1); editor.commit()}
285 + if(gooSpinner.selectedItem=="금산군"){editor.putInt("c12_252",1); editor.commit()}
286 + if(gooSpinner.selectedItem=="부여군"){editor.putInt("c12_253",1); editor.commit()}
287 + if(gooSpinner.selectedItem=="서천군"){editor.putInt("c12_254",1); editor.commit()}
288 + if(gooSpinner.selectedItem=="청양군"){editor.putInt("c12_255",1); editor.commit()}
289 + if(gooSpinner.selectedItem=="홍성군"){editor.putInt("c12_256",1); editor.commit()}
290 + if(gooSpinner.selectedItem=="예산군"){editor.putInt("c12_257",1); editor.commit()}
291 + if(gooSpinner.selectedItem=="태안군"){editor.putInt("c12_258",1); editor.commit()}
292 + if(gooSpinner.selectedItem=="전주시"){editor.putInt("c12_259",1); editor.commit()}
293 + if(gooSpinner.selectedItem=="전주시 완산구"){editor.putInt("c12_260",1); editor.commit()}
294 + if(gooSpinner.selectedItem=="전주시 덕진구"){editor.putInt("c12_261",1); editor.commit()}
295 + if(gooSpinner.selectedItem=="전주시효자출"){editor.putInt("c12_262",1); editor.commit()}
296 + if(gooSpinner.selectedItem=="군산시"){editor.putInt("c12_263",1); editor.commit()}
297 + if(gooSpinner.selectedItem=="익산시"){editor.putInt("c12_264",1); editor.commit()}
298 + if(gooSpinner.selectedItem=="익산시함열출"){editor.putInt("c12_265",1); editor.commit()}
299 + if(gooSpinner.selectedItem=="정읍시"){editor.putInt("c12_266",1); editor.commit()}
300 + if(gooSpinner.selectedItem=="남원시"){editor.putInt("c12_267",1); editor.commit()}
301 + if(gooSpinner.selectedItem=="김제시"){editor.putInt("c12_268",1); editor.commit()}
302 + if(gooSpinner.selectedItem=="완주군"){editor.putInt("c12_269",1); editor.commit()}
303 + if(gooSpinner.selectedItem=="진안군"){editor.putInt("c12_270",1); editor.commit()}
304 + if(gooSpinner.selectedItem=="무주군"){editor.putInt("c12_271",1); editor.commit()}
305 + if(gooSpinner.selectedItem=="장수군"){editor.putInt("c12_272",1); editor.commit()}
306 + if(gooSpinner.selectedItem=="임실군"){editor.putInt("c12_273",1); editor.commit()}
307 + if(gooSpinner.selectedItem=="순창군"){editor.putInt("c12_274",1); editor.commit()}
308 + if(gooSpinner.selectedItem=="고창군"){editor.putInt("c12_275",1); editor.commit()}
309 + if(gooSpinner.selectedItem=="부안군"){editor.putInt("c12_276",1); editor.commit()}
310 + if(gooSpinner.selectedItem=="목포시"){editor.putInt("c12_277",1); editor.commit()}
311 + if(gooSpinner.selectedItem=="여수시"){editor.putInt("c12_278",1); editor.commit()}
312 + if(gooSpinner.selectedItem=="순천시"){editor.putInt("c12_279",1); editor.commit()}
313 + if(gooSpinner.selectedItem=="나주시"){editor.putInt("c12_280",1); editor.commit()}
314 + if(gooSpinner.selectedItem=="광양시"){editor.putInt("c12_281",1); editor.commit()}
315 + if(gooSpinner.selectedItem=="담양군"){editor.putInt("c12_282",1); editor.commit()}
316 + if(gooSpinner.selectedItem=="곡성군"){editor.putInt("c12_283",1); editor.commit()}
317 + if(gooSpinner.selectedItem=="구례군"){editor.putInt("c12_284",1); editor.commit()}
318 + if(gooSpinner.selectedItem=="고흥군"){editor.putInt("c12_285",1); editor.commit()}
319 + if(gooSpinner.selectedItem=="보성군"){editor.putInt("c12_286",1); editor.commit()}
320 + if(gooSpinner.selectedItem=="화순군"){editor.putInt("c12_287",1); editor.commit()}
321 + if(gooSpinner.selectedItem=="장흥군"){editor.putInt("c12_288",1); editor.commit()}
322 + if(gooSpinner.selectedItem=="강진군"){editor.putInt("c12_289",1); editor.commit()}
323 + if(gooSpinner.selectedItem=="해남군"){editor.putInt("c12_290",1); editor.commit()}
324 + if(gooSpinner.selectedItem=="영암군"){editor.putInt("c12_291",1); editor.commit()}
325 + if(gooSpinner.selectedItem=="무안군"){editor.putInt("c12_292",1); editor.commit()}
326 + if(gooSpinner.selectedItem=="함평군"){editor.putInt("c12_293",1); editor.commit()}
327 + if(gooSpinner.selectedItem=="영광군"){editor.putInt("c12_294",1); editor.commit()}
328 + if(gooSpinner.selectedItem=="장성군"){editor.putInt("c12_295",1); editor.commit()}
329 + if(gooSpinner.selectedItem=="완도군"){editor.putInt("c12_296",1); editor.commit()}
330 + if(gooSpinner.selectedItem=="진도군"){editor.putInt("c12_297",1); editor.commit()}
331 + if(gooSpinner.selectedItem=="신안군"){editor.putInt("c12_298",1); editor.commit()}
332 + if(gooSpinner.selectedItem=="포항시"){editor.putInt("c12_299",1); editor.commit()}
333 + if(gooSpinner.selectedItem=="포항시 남구"){editor.putInt("c12_300",1); editor.commit()}
334 + if(gooSpinner.selectedItem=="포항시 북구"){editor.putInt("c12_301",1); editor.commit()}
335 + if(gooSpinner.selectedItem=="경주시"){editor.putInt("c12_302",1); editor.commit()}
336 + if(gooSpinner.selectedItem=="김천시"){editor.putInt("c12_303",1); editor.commit()}
337 + if(gooSpinner.selectedItem=="안동시"){editor.putInt("c12_304",1); editor.commit()}
338 + if(gooSpinner.selectedItem=="구미시"){editor.putInt("c12_305",1); editor.commit()}
339 + if(gooSpinner.selectedItem=="영주시"){editor.putInt("c12_306",1); editor.commit()}
340 + if(gooSpinner.selectedItem=="영천시"){editor.putInt("c12_307",1); editor.commit()}
341 + if(gooSpinner.selectedItem=="상주시"){editor.putInt("c12_308",1); editor.commit()}
342 + if(gooSpinner.selectedItem=="문경시"){editor.putInt("c12_309",1); editor.commit()}
343 + if(gooSpinner.selectedItem=="경산시"){editor.putInt("c12_310",1); editor.commit()}
344 + if(gooSpinner.selectedItem=="군위군"){editor.putInt("c12_311",1); editor.commit()}
345 + if(gooSpinner.selectedItem=="의성군"){editor.putInt("c12_312",1); editor.commit()}
346 + if(gooSpinner.selectedItem=="청송군"){editor.putInt("c12_313",1); editor.commit()}
347 + if(gooSpinner.selectedItem=="영양군"){editor.putInt("c12_314",1); editor.commit()}
348 + if(gooSpinner.selectedItem=="영덕군"){editor.putInt("c12_315",1); editor.commit()}
349 + if(gooSpinner.selectedItem=="청도군"){editor.putInt("c12_316",1); editor.commit()}
350 + if(gooSpinner.selectedItem=="고령군"){editor.putInt("c12_317",1); editor.commit()}
351 + if(gooSpinner.selectedItem=="성주군"){editor.putInt("c12_318",1); editor.commit()}
352 + if(gooSpinner.selectedItem=="칠곡군"){editor.putInt("c12_319",1); editor.commit()}
353 + if(gooSpinner.selectedItem=="예천군"){editor.putInt("c12_320",1); editor.commit()}
354 + if(gooSpinner.selectedItem=="봉화군"){editor.putInt("c12_321",1); editor.commit()}
355 + if(gooSpinner.selectedItem=="울진군"){editor.putInt("c12_322",1); editor.commit()}
356 + if(gooSpinner.selectedItem=="울릉군"){editor.putInt("c12_323",1); editor.commit()}
357 + if(gooSpinner.selectedItem=="창원시"){editor.putInt("c12_324",1); editor.commit()}
358 + if(gooSpinner.selectedItem=="창원시 의창구"){editor.putInt("c12_325",1); editor.commit()}
359 + if(gooSpinner.selectedItem=="창원시 성산구"){editor.putInt("c12_326",1); editor.commit()}
360 + if(gooSpinner.selectedItem=="창원시 마산합포구"){editor.putInt("c12_327",1); editor.commit()}
361 + if(gooSpinner.selectedItem=="창원시 마산회원구"){editor.putInt("c12_328",1); editor.commit()}
362 + if(gooSpinner.selectedItem=="창원시 진해구"){editor.putInt("c12_329",1); editor.commit()}
363 + if(gooSpinner.selectedItem=="진주시"){editor.putInt("c12_330",1); editor.commit()}
364 + if(gooSpinner.selectedItem=="통영시"){editor.putInt("c12_331",1); editor.commit()}
365 + if(gooSpinner.selectedItem=="사천시"){editor.putInt("c12_332",1); editor.commit()}
366 + if(gooSpinner.selectedItem=="사천남양출장"){editor.putInt("c12_333",1); editor.commit()}
367 + if(gooSpinner.selectedItem=="김해시"){editor.putInt("c12_334",1); editor.commit()}
368 + if(gooSpinner.selectedItem=="장유출장소"){editor.putInt("c12_335",1); editor.commit()}
369 + if(gooSpinner.selectedItem=="밀양시"){editor.putInt("c12_336",1); editor.commit()}
370 + if(gooSpinner.selectedItem=="거제시"){editor.putInt("c12_337",1); editor.commit()}
371 + if(gooSpinner.selectedItem=="양산시"){editor.putInt("c12_338",1); editor.commit()}
372 + if(gooSpinner.selectedItem=="양산시웅상출장소"){editor.putInt("c12_339",1); editor.commit()}
373 + if(gooSpinner.selectedItem=="의령군"){editor.putInt("c12_340",1); editor.commit()}
374 + if(gooSpinner.selectedItem=="함안군"){editor.putInt("c12_341",1); editor.commit()}
375 + if(gooSpinner.selectedItem=="창녕군"){editor.putInt("c12_342",1); editor.commit()}
376 + if(gooSpinner.selectedItem=="남해군"){editor.putInt("c12_343",1); editor.commit()}
377 + if(gooSpinner.selectedItem=="하동군"){editor.putInt("c12_344",1); editor.commit()}
378 + if(gooSpinner.selectedItem=="산청군"){editor.putInt("c12_345",1); editor.commit()}
379 + if(gooSpinner.selectedItem=="함양군"){editor.putInt("c12_346",1); editor.commit()}
380 + if(gooSpinner.selectedItem=="거창군"){editor.putInt("c12_347",1); editor.commit()}
381 + if(gooSpinner.selectedItem=="합천군"){editor.putInt("c12_348",1); editor.commit()}
382 + if(gooSpinner.selectedItem=="제주시"){editor.putInt("c12_349",1); editor.commit()}
383 + if(gooSpinner.selectedItem=="서귀포시"){editor.putInt("c12_350",1); editor.commit()}
384 +
385 + var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
386 + startActivity(intent)
387 + }
63 } 388 }
64 } 389 }
...\ No newline at end of file ...\ No newline at end of file
......
1 package com.example.vip 1 package com.example.vip
2 2
3 +import android.content.Context
3 import android.content.Intent 4 import android.content.Intent
5 +import android.content.SharedPreferences
4 import androidx.appcompat.app.AppCompatActivity 6 import androidx.appcompat.app.AppCompatActivity
5 import android.os.Bundle 7 import android.os.Bundle
6 import kotlinx.android.synthetic.main.activity_input_profil_first_six.* 8 import kotlinx.android.synthetic.main.activity_input_profil_first_six.*
...@@ -16,7 +18,18 @@ class InputProfilFirstSixActivity : AppCompatActivity() { ...@@ -16,7 +18,18 @@ class InputProfilFirstSixActivity : AppCompatActivity() {
16 startActivity(intent) 18 startActivity(intent)
17 } 19 }
18 20
21 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 + val editor: SharedPreferences.Editor=prof.edit()
23 +
19 nextButton.setOnClickListener { 24 nextButton.setOnClickListener {
25 + if(gagoojooButton.isChecked){
26 + editor.putInt("c13_2",1); editor.commit()
27 + }else if(gagoowonButton.isChecked){
28 + editor.putInt("c13_3",1); editor.commit()
29 + }else{
30 +
31 + }
32 +
20 var intent = Intent(this, InputProfilSecondOneActivity::class.java) 33 var intent = Intent(this, InputProfilSecondOneActivity::class.java)
21 startActivity(intent) 34 startActivity(intent)
22 } 35 }
......
...@@ -45,12 +45,12 @@ class InputProfilFirstThreeActivity : AppCompatActivity() { ...@@ -45,12 +45,12 @@ class InputProfilFirstThreeActivity : AppCompatActivity() {
45 startActivity(intent) 45 startActivity(intent)
46 46
47 if (manButton.isChecked){ 47 if (manButton.isChecked){
48 - editor.putInt("c2_1",1) 48 + editor.putInt("c3_2",1)
49 editor.commit() 49 editor.commit()
50 //마지막장에 상관없음 추가 50 //마지막장에 상관없음 추가
51 } 51 }
52 else{ 52 else{
53 - editor.putInt("c2_2",1) 53 + editor.putInt("c3_3",1)
54 editor.commit() 54 editor.commit()
55 } 55 }
56 } 56 }
......
...@@ -5,7 +5,10 @@ import android.content.Intent ...@@ -5,7 +5,10 @@ import android.content.Intent
5 import android.content.SharedPreferences 5 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.widget.EditText 9 import android.widget.EditText
10 +import android.widget.Toast
11 +import com.google.firebase.messaging.FirebaseMessaging
9 import kotlinx.android.synthetic.main.activity_input_profil_first_two.* 12 import kotlinx.android.synthetic.main.activity_input_profil_first_two.*
10 import kotlinx.android.synthetic.main.activity_input_profil_first_two.nextButton 13 import kotlinx.android.synthetic.main.activity_input_profil_first_two.nextButton
11 import kotlinx.android.synthetic.main.activity_input_profil_second_two.* 14 import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
...@@ -37,7 +40,15 @@ class InputProfilFirstTwoActivity : AppCompatActivity() { ...@@ -37,7 +40,15 @@ class InputProfilFirstTwoActivity : AppCompatActivity() {
37 if ((2019-birthdateint)<19){ 40 if ((2019-birthdateint)<19){
38 editor.putInt("c1_2",1) 41 editor.putInt("c1_2",1)
39 editor.commit() 42 editor.commit()
43 + Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show()
40 //마지막장에 상관없음 추가 44 //마지막장에 상관없음 추가
45 + FirebaseMessaging.getInstance().subscribeToTopic("c1_2")
46 + .addOnCompleteListener { task ->
47 + var msg = getString(R.string.msg_subscribed)
48 + if (!task.isSuccessful) {
49 + msg = getString(R.string.msg_subscribe_failed)
50 + }
51 + }
41 } 52 }
42 else if((2019-birthdateint)<34){ 53 else if((2019-birthdateint)<34){
43 editor.putInt("c1_3",1) 54 editor.putInt("c1_3",1)
......
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 androidx.appcompat.app.AppCompatActivity 6 import androidx.appcompat.app.AppCompatActivity
5 import android.os.Bundle 7 import android.os.Bundle
8 +import android.widget.Button
6 import android.widget.EditText 9 import android.widget.EditText
7 import android.widget.RatingBar 10 import android.widget.RatingBar
8 import android.widget.TextView 11 import android.widget.TextView
...@@ -55,9 +58,39 @@ class InputProfilSecondOneActivity : AppCompatActivity() { ...@@ -55,9 +58,39 @@ class InputProfilSecondOneActivity : AppCompatActivity() {
55 startActivity(intent) 58 startActivity(intent)
56 } 59 }
57 60
61 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
62 + val editor: SharedPreferences.Editor=prof.edit()
63 +
64 +
58 nextButton.setOnClickListener { 65 nextButton.setOnClickListener {
66 +
67 + if(baewoojaButton.isChecked){editor.putInt("c10_2",1); editor.commit()}
68 + if(baewoojaboomoButton.isChecked){editor.putInt("c10_3",1); editor.commit()}
69 + if(baewoojajoboomoButton.isChecked){editor.putInt("c10_4",1); editor.commit()}
70 + if(brotherButton.isChecked){editor.putInt("c10_5",1); editor.commit()
71 + editor.putString("with_brothersister","yes")}
72 + if(baewoojabrotherButton.isChecked){editor.putInt("c10_6",1); editor.commit()}
73 + if(donggeoButton.isChecked){editor.putInt("c10_7",1); editor.commit()}
74 + if(fatherButton.isChecked){editor.putInt("c10_8",1); editor.commit()}
75 + if(motherButton.isChecked){editor.putInt("c10_9",1); editor.commit()}
76 + if(grandsonbaewoojaButton.isChecked){editor.putInt("c10_10",1); editor.commit()}
77 + if(grandfatherButton.isChecked){editor.putInt("c10_11",1); editor.commit()}
78 + if(grandmotherButton.isChecked){editor.putInt("c10_12",1); editor.commit()}
79 + if(grandsonButton.isChecked){editor.putInt("c10_13",1); editor.commit()}
80 + if(janyeoButton.isChecked){editor.putInt("c10_14",1); editor.commit()
81 + editor.putString("with_child","yes")}
82 + if(janyeobaewoojaButton.isChecked){editor.putInt("c10_15",1); editor.commit()}
83 + if(nothingButton.isChecked){editor.putInt("c10_18",1); editor.commit()}
84 +
85 + if(janyeoButton.isChecked
86 + //prof.getString("with_child","none")=="yes"
87 + ){
59 var intent = Intent(this, InputProfilSecondTwoActivity::class.java) 88 var intent = Intent(this, InputProfilSecondTwoActivity::class.java)
60 startActivity(intent) 89 startActivity(intent)
90 + }else{
91 + var intent = Intent(this, InputProfilThirdOneActivity::class.java)
92 + startActivity(intent)
93 + }
61 } 94 }
62 } 95 }
63 } 96 }
......
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 androidx.appcompat.app.AppCompatActivity 6 import androidx.appcompat.app.AppCompatActivity
5 import android.os.Bundle 7 import android.os.Bundle
8 +import android.widget.EditText
6 import kotlinx.android.synthetic.main.activity_input_profil_second_three.* 9 import kotlinx.android.synthetic.main.activity_input_profil_second_three.*
10 +import kotlinx.android.synthetic.main.activity_input_profil_second_three.nextButton
11 +import kotlinx.android.synthetic.main.activity_input_profil_second_three.previousButton
12 +import kotlinx.android.synthetic.main.activity_input_profil_second_three.skipButton
13 +import kotlinx.android.synthetic.main.activity_input_profil_second_three.toolbar
7 14
8 class InputProfilSecondThreeActivity : AppCompatActivity() { 15 class InputProfilSecondThreeActivity : AppCompatActivity() {
9 16
...@@ -11,6 +18,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { ...@@ -11,6 +18,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
11 super.onCreate(savedInstanceState) 18 super.onCreate(savedInstanceState)
12 setContentView(R.layout.activity_input_profil_second_three) 19 setContentView(R.layout.activity_input_profil_second_three)
13 20
21 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 + val editor: SharedPreferences.Editor=prof.edit()
23 +
24 +
14 setSupportActionBar(toolbar) 25 setSupportActionBar(toolbar)
15 26
16 skipButton.setOnClickListener { 27 skipButton.setOnClickListener {
...@@ -24,8 +35,40 @@ class InputProfilSecondThreeActivity : AppCompatActivity() { ...@@ -24,8 +35,40 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
24 } 35 }
25 36
26 nextButton.setOnClickListener { 37 nextButton.setOnClickListener {
38 + var numOfBS=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()
39 + if(numOfBS>=2){
40 + editor.putInt("c10_16",1); editor.commit()
41 + }
42 + if(numOfBS<2){
43 + editor.putInt("c10_17",1); editor.commit()
44 + }
27 var intent = Intent(this, InputProfilThirdOneActivity::class.java) 45 var intent = Intent(this, InputProfilThirdOneActivity::class.java)
28 startActivity(intent) 46 startActivity(intent)
29 } 47 }
48 +
49 + val bsList = ArrayList<BSItem>()
50 + bsNumberInputButton.setOnClickListener {
51 +
52 + if(findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()>0){
53 + var bsNum=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()
54 + var cnt=1
55 + while(bsNum>=cnt){
56 + bsList.add(
57 + BSItem(cnt)
58 + )
59 + cnt++
60 + }
61 + //Toast.makeText(this, cnt.toString(), Toast.LENGTH_SHORT).show()
62 + }
63 + else{
64 + var bsNum=0
65 + }
66 +
67 + val adapter = BSAdapter(bsList)
68 + bsRecyclerView.adapter = adapter
69 +
70 +
71 +
72 + }
30 } 73 }
31 } 74 }
......
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 androidx.appcompat.app.AppCompatActivity 6 import androidx.appcompat.app.AppCompatActivity
5 import android.os.Bundle 7 import android.os.Bundle
8 +import android.view.View.GONE
6 import android.view.View.VISIBLE 9 import android.view.View.VISIBLE
7 import android.widget.EditText 10 import android.widget.EditText
11 +import android.widget.Toast
12 +import androidx.core.content.ContextCompat
8 import kotlinx.android.synthetic.main.activity_input_profil_second_two.* 13 import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
14 +import kotlinx.android.synthetic.main.item_child.view.*
9 15
10 class InputProfilSecondTwoActivity : AppCompatActivity() { 16 class InputProfilSecondTwoActivity : AppCompatActivity() {
11 17
...@@ -13,34 +19,73 @@ class InputProfilSecondTwoActivity : AppCompatActivity() { ...@@ -13,34 +19,73 @@ class InputProfilSecondTwoActivity : AppCompatActivity() {
13 super.onCreate(savedInstanceState) 19 super.onCreate(savedInstanceState)
14 setContentView(R.layout.activity_input_profil_second_two) 20 setContentView(R.layout.activity_input_profil_second_two)
15 21
22 + val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
23 + val editor: SharedPreferences.Editor=prof.edit()
16 24
17 setSupportActionBar(toolbar) 25 setSupportActionBar(toolbar)
18 -
19 skipButton.setOnClickListener { 26 skipButton.setOnClickListener {
20 var intent = Intent(this, InputProfilSecondOneActivity::class.java) 27 var intent = Intent(this, InputProfilSecondOneActivity::class.java)
21 startActivity(intent) 28 startActivity(intent)
22 } 29 }
23 -
24 previousButton.setOnClickListener { 30 previousButton.setOnClickListener {
25 var intent = Intent(this, InputProfilSecondOneActivity::class.java) 31 var intent = Intent(this, InputProfilSecondOneActivity::class.java)
26 startActivity(intent) 32 startActivity(intent)
27 } 33 }
28 -
29 nextButton.setOnClickListener { 34 nextButton.setOnClickListener {
35 + var numOfChild=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
36 + if(numOfChild>=3){
37 + editor.putInt("c10_16",1); editor.commit()
38 + }
39 + if(numOfChild<3){
40 + editor.putInt("c10_17",1); editor.commit()
41 + }
42 +
43 +
44 +
45 + /*
46 + editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo birth", childRecyclerView.childBirthEditText.text.toString()); editor.commit()
47 + if(childRecyclerView.womanButton.isChecked){
48 + editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo gender","woman"); editor.commit()
49 + }else{
50 + editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo gender","man"); editor.commit()
51 + }
52 + */
53 +
54 + if(prof.getString("with_brothersister","none")=="yes"){
30 var intent = Intent(this, InputProfilSecondThreeActivity::class.java) 55 var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
31 startActivity(intent) 56 startActivity(intent)
57 + }else{
58 + var intent = Intent(this, InputProfilThirdOneActivity::class.java)
59 + startActivity(intent)
60 + }
32 } 61 }
33 -
34 //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt) 62 //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
35 //mainTv.text = dialogText.text.toString() 63 //mainTv.text = dialogText.text.toString()
64 + val childList = ArrayList<ChildItem>()
36 childNumberInputButton.setOnClickListener { 65 childNumberInputButton.setOnClickListener {
37 - var childNum=findViewById<EditText>(R.id.childNumberEditText).text.toString() 66 +
38 - if(childNum=="3"){ 67 + if(findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()>0){
39 - child1LinearLayout.visibility=VISIBLE 68 + var childNum=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
40 - child2LinearLayout.visibility=VISIBLE 69 + var cnt=1
41 - child3LinearLayout.visibility=VISIBLE 70 + while(childNum>=cnt){
71 + childList.add(
72 + ChildItem(cnt)
73 + )
74 + cnt++
75 + }
76 + //Toast.makeText(this, cnt.toString(), Toast.LENGTH_SHORT).show()
77 + }
78 + else{
79 + var childNum=0
42 } 80 }
81 +
82 + val adapter = ChildAdapter(childList)
83 + childRecyclerView.adapter = adapter
84 +
85 +
86 +
43 } 87 }
44 88
89 +
45 } 90 }
46 } 91 }
......
...@@ -3,6 +3,7 @@ package com.example.vip ...@@ -3,6 +3,7 @@ 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.Button
6 import android.widget.TextView 7 import android.widget.TextView
7 import kotlinx.android.synthetic.main.activity_input_profil_third_one.* 8 import kotlinx.android.synthetic.main.activity_input_profil_third_one.*
8 9
...@@ -20,12 +21,71 @@ class InputProfilThirdOneActivity : AppCompatActivity() { ...@@ -20,12 +21,71 @@ class InputProfilThirdOneActivity : AppCompatActivity() {
20 startActivity(intent) 21 startActivity(intent)
21 } 22 }
22 23
24 + elementaryButton.setOnClickListener {
25 + middleButton.isChecked=false
26 + highButton.isChecked=false
27 + specialButton.isChecked=false
28 + universityButton.isChecked=false
29 + graduateButton.isChecked=false
30 + nothingButton.isChecked=false
31 + }
32 + middleButton.setOnClickListener {
33 + elementaryButton.isChecked=false
34 + highButton.isChecked=false
35 + specialButton.isChecked=false
36 + universityButton.isChecked=false
37 + graduateButton.isChecked=false
38 + nothingButton.isChecked=false
39 + }
40 + highButton.setOnClickListener {
41 + elementaryButton.isChecked=false
42 + middleButton.isChecked=false
43 + specialButton.isChecked=false
44 + universityButton.isChecked=false
45 + graduateButton.isChecked=false
46 + nothingButton.isChecked=false
47 + }
48 + specialButton.setOnClickListener {
49 + elementaryButton.isChecked=false
50 + middleButton.isChecked=false
51 + highButton.isChecked=false
52 + universityButton.isChecked=false
53 + graduateButton.isChecked=false
54 + nothingButton.isChecked=false
55 + }
56 + universityButton.setOnClickListener {
57 + elementaryButton.isChecked=false
58 + middleButton.isChecked=false
59 + highButton.isChecked=false
60 + specialButton.isChecked=false
61 + graduateButton.isChecked=false
62 + nothingButton.isChecked=false
63 + }
64 + graduateButton.setOnClickListener {
65 + elementaryButton.isChecked=false
66 + middleButton.isChecked=false
67 + highButton.isChecked=false
68 + specialButton.isChecked=false
69 + universityButton.isChecked=false
70 + nothingButton.isChecked=false
71 + }
72 + nothingButton.setOnClickListener {
73 + elementaryButton.isChecked=false
74 + middleButton.isChecked=false
75 + highButton.isChecked=false
76 + specialButton.isChecked=false
77 + universityButton.isChecked=false
78 + graduateButton.isChecked=false
79 + }
80 +
23 previousButton.setOnClickListener { 81 previousButton.setOnClickListener {
24 var intent = Intent(this, InputProfilSecondThreeActivity::class.java) 82 var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
25 startActivity(intent) 83 startActivity(intent)
26 } 84 }
27 85
28 nextButton.setOnClickListener { 86 nextButton.setOnClickListener {
87 +
88 +
29 var intent = Intent(this, InputProfilThirdTwoActivity::class.java) 89 var intent = Intent(this, InputProfilThirdTwoActivity::class.java)
30 startActivity(intent) 90 startActivity(intent)
31 } 91 }
......
...@@ -26,6 +26,9 @@ class MainActivity : AppCompatActivity() { ...@@ -26,6 +26,9 @@ class MainActivity : AppCompatActivity() {
26 26
27 override fun onCreate(savedInstanceState: Bundle?) { 27 override fun onCreate(savedInstanceState: Bundle?) {
28 super.onCreate(savedInstanceState) 28 super.onCreate(savedInstanceState)
29 +
30 +
31 +
29 //onboarding start 32 //onboarding start
30 33
31 //onboarding end 34 //onboarding end
......
...@@ -98,7 +98,6 @@ class RecommendActivity : AppCompatActivity() { ...@@ -98,7 +98,6 @@ class RecommendActivity : AppCompatActivity() {
98 ) 98 )
99 ) 99 )
100 } 100 }
101 -
102 val adapter = PolicyAdapter(policyList) 101 val adapter = PolicyAdapter(policyList)
103 policyRecyclerView.adapter = adapter 102 policyRecyclerView.adapter = adapter
104 } 103 }
......
...@@ -14,6 +14,8 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() { ...@@ -14,6 +14,8 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() {
14 val Image = arrayOf( 14 val Image = arrayOf(
15 R.drawable.hwajilgooji1, 15 R.drawable.hwajilgooji1,
16 R.drawable.hwajilgooji2, 16 R.drawable.hwajilgooji2,
17 + R.drawable.hwajilgooji3,
18 + R.drawable.hwajilgooji3,
17 R.drawable.hwajilgooji3 19 R.drawable.hwajilgooji3
18 ) 20 )
19 21
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- 배경 --> 3 <!-- 배경 -->
4 <item 4 <item
5 - android:drawable="@color/colorPrimary"/> 5 + android:drawable="@color/splashfilling"/>
6 <!-- 로고 --> 6 <!-- 로고 -->
7 <item> 7 <item>
8 <bitmap 8 <bitmap
9 android:gravity="center" 9 android:gravity="center"
10 - android:src="@drawable/splash_main"/> 10 + android:src="@drawable/final_splash" />
11 </item> 11 </item>
12 </layer-list> 12 </layer-list>
......
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> 2 <layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3 <!-- 배경 --> 3 <!-- 배경 -->
4 <item 4 <item
5 - android:drawable="@color/colorPrimary"/> 5 + android:drawable="@color/splashfilling"/>
6 <!-- 로고 --> 6 <!-- 로고 -->
7 <item> 7 <item>
8 <bitmap 8 <bitmap
9 android:gravity="center" 9 android:gravity="center"
10 - android:src="@drawable/splash_main"/> 10 + android:src="@drawable/final_splash"/>
11 </item> 11 </item>
12 </layer-list> 12 </layer-list>
......
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<shape xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:shape="rectangle">
4 + <stroke
5 + android:width="5dp"
6 + android:color="#29ABE2" />
7 + <corners
8 + android:bottomRightRadius="25dp"
9 + android:bottomLeftRadius="25dp"
10 + android:topLeftRadius="25dp"
11 + android:topRightRadius="25dp"/>
12 + <padding
13 + android:left="10dp"
14 + android:top="10dp"
15 + android:right="10dp"
16 + android:bottom="10dp" />
17 + <solid
18 + android:color="#29ABE2"/>
19 +</shape>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<selector xmlns:android="http://schemas.android.com/apk/res/android">
3 +
4 + <item android:state_checked="false" android:drawable="@drawable/button_x" />
5 + <item android:state_checked="true" android:drawable="@drawable/button_o" />
6 +</selector>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<shape xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:shape="rectangle">
4 + <stroke
5 + android:width="5dp"
6 + android:color="#F4F4F4" />
7 + <corners
8 + android:bottomRightRadius="25dp"
9 + android:bottomLeftRadius="25dp"
10 + android:topLeftRadius="25dp"
11 + android:topRightRadius="25dp"/>
12 + <padding
13 + android:left="10dp"
14 + android:top="10dp"
15 + android:right="10dp"
16 + android:bottom="10dp" />
17 + <solid
18 + android:color="#F4F4F4"/>
19 +</shape>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="UTF-8"?>
2 +<shape xmlns:android="http://schemas.android.com/apk/res/android"
3 + android:shape="oval">
4 + <stroke
5 + android:width="1dp"
6 + android:color="#29ABE2" />
7 + <!--
8 + <corners
9 + android:bottomRightRadius="25dp"
10 + android:bottomLeftRadius="25dp"
11 + android:topLeftRadius="25dp"
12 + android:topRightRadius="25dp"/>
13 +
14 + <padding
15 + android:left="10dp"
16 + android:top="10dp"
17 + android:right="10dp"
18 + android:bottom="10dp" />
19 + -->
20 + <solid
21 + android:color="#FFFFFF"/>
22 +</shape>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3 + <item
4 + android:top="32dp">
5 + <shape android:shape="line">
6 + <stroke
7 + android:width="5dp"
8 + android:color="#29ABE2"/>
9 + </shape>
10 + </item>
11 +</layer-list>
...\ No newline at end of file ...\ No newline at end of file
...@@ -81,13 +81,10 @@ ...@@ -81,13 +81,10 @@
81 android:layout_height="wrap_content" 81 android:layout_height="wrap_content"
82 android:text="시/도" /> 82 android:text="시/도" />
83 83
84 - <EditText 84 + <Spinner
85 - android:id="@+id/doEditText" 85 + android:id="@+id/doSpinner"
86 - android:layout_width="match_parent" 86 + android:layout_width="fill_parent"
87 - android:layout_height="wrap_content" 87 + android:layout_height="wrap_content" />
88 - android:ems="10"
89 - android:hint="ex1) 서울시 ex2)경기도"
90 - android:inputType="textPersonName" />
91 88
92 <TextView 89 <TextView
93 android:id="@+id/cityTextView" 90 android:id="@+id/cityTextView"
...@@ -95,27 +92,10 @@ ...@@ -95,27 +92,10 @@
95 android:layout_height="wrap_content" 92 android:layout_height="wrap_content"
96 android:text="시/군/구" /> 93 android:text="시/군/구" />
97 94
98 - <EditText 95 + <Spinner
99 - android:id="@+id/cityEditText" 96 + android:id="@+id/gooSpinner"
100 - android:layout_width="match_parent" 97 + android:layout_width="fill_parent"
101 - android:layout_height="wrap_content" 98 + android:layout_height="wrap_content" />
102 - android:ems="10"
103 - android:hint="ex) 동대문구"
104 - android:inputType="textPersonName" />
105 -
106 - <TextView
107 - android:id="@+id/dongTextView"
108 - android:layout_width="match_parent"
109 - android:layout_height="wrap_content"
110 - android:text="읍/면/동" />
111 -
112 - <EditText
113 - android:id="@+id/dongEditText"
114 - android:layout_width="match_parent"
115 - android:layout_height="wrap_content"
116 - android:ems="10"
117 - android:hint="ex) 회기동"
118 - android:inputType="textPersonName" />
119 99
120 </LinearLayout> 100 </LinearLayout>
121 101
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
76 android:orientation="vertical"> 76 android:orientation="vertical">
77 77
78 <ToggleButton 78 <ToggleButton
79 - android:id="@+id/inmanButton" 79 + android:id="@+id/gagoojooButton"
80 android:layout_width="match_parent" 80 android:layout_width="match_parent"
81 android:layout_height="wrap_content" 81 android:layout_height="wrap_content"
82 android:background="@drawable/profil_selector" 82 android:background="@drawable/profil_selector"
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
85 android:textOn="가구주" /> 85 android:textOn="가구주" />
86 86
87 <ToggleButton 87 <ToggleButton
88 - android:id="@+id/outmanButton" 88 + android:id="@+id/gagoowonButton"
89 android:layout_width="match_parent" 89 android:layout_width="match_parent"
90 android:layout_height="wrap_content" 90 android:layout_height="wrap_content"
91 android:background="@drawable/profil_selector" 91 android:background="@drawable/profil_selector"
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 14
15 -
16 <androidx.appcompat.widget.Toolbar 15 <androidx.appcompat.widget.Toolbar
17 android:id="@+id/toolbar" 16 android:id="@+id/toolbar"
18 android:layout_width="fill_parent" 17 android:layout_width="fill_parent"
...@@ -33,28 +32,32 @@ ...@@ -33,28 +32,32 @@
33 android:layout_width="10dp" 32 android:layout_width="10dp"
34 android:layout_height="match_parent" 33 android:layout_height="match_parent"
35 android:layout_weight="1.5" 34 android:layout_weight="1.5"
36 - android:text="건너뛰기"/> 35 + android:text="건너뛰기" />
36 +
37 <LinearLayout 37 <LinearLayout
38 android:layout_width="10dp" 38 android:layout_width="10dp"
39 android:layout_height="match_parent" 39 android:layout_height="match_parent"
40 - android:orientation="horizontal" 40 + android:layout_weight="1"
41 - android:layout_weight="1"/> 41 + android:orientation="horizontal" />
42 +
42 <ImageView 43 <ImageView
43 android:layout_width="77dp" 44 android:layout_width="77dp"
44 android:layout_height="44dp" 45 android:layout_height="44dp"
45 android:layout_gravity="center" 46 android:layout_gravity="center"
46 android:layout_weight="1" 47 android:layout_weight="1"
47 android:src="@drawable/toolbar_logo" /> 48 android:src="@drawable/toolbar_logo" />
49 +
48 <LinearLayout 50 <LinearLayout
49 android:layout_width="10dp" 51 android:layout_width="10dp"
50 android:layout_height="match_parent" 52 android:layout_height="match_parent"
51 - android:orientation="horizontal" 53 + android:layout_weight="1"
52 - android:layout_weight="1"/> 54 + android:orientation="horizontal" />
55 +
53 <LinearLayout 56 <LinearLayout
54 android:layout_width="10dp" 57 android:layout_width="10dp"
55 android:layout_height="match_parent" 58 android:layout_height="match_parent"
56 - android:orientation="horizontal" 59 + android:layout_weight="1.5"
57 - android:layout_weight="1.5"/> 60 + android:orientation="horizontal" />
58 61
59 </LinearLayout> 62 </LinearLayout>
60 63
...@@ -118,22 +121,10 @@ ...@@ -118,22 +121,10 @@
118 121
119 <LinearLayout 122 <LinearLayout
120 android:layout_width="match_parent" 123 android:layout_width="match_parent"
121 - android:layout_height="10dp" 124 + android:layout_height="wrap_content"
122 - android:orientation="vertical"></LinearLayout>
123 -
124 - <LinearLayout
125 - android:layout_width="match_parent"
126 - android:layout_height="50dp"
127 android:layout_weight="1" 125 android:layout_weight="1"
128 android:orientation="vertical"> 126 android:orientation="vertical">
129 127
130 - <LinearLayout
131 - android:layout_width="match_parent"
132 - android:layout_height="10dp"
133 - android:orientation="vertical">
134 -
135 - </LinearLayout>
136 -
137 <ScrollView 128 <ScrollView
138 android:layout_width="match_parent" 129 android:layout_width="match_parent"
139 android:layout_height="match_parent" 130 android:layout_height="match_parent"
...@@ -142,23 +133,14 @@ ...@@ -142,23 +133,14 @@
142 <LinearLayout 133 <LinearLayout
143 android:layout_width="match_parent" 134 android:layout_width="match_parent"
144 android:layout_height="wrap_content" 135 android:layout_height="wrap_content"
145 - android:orientation="vertical"> 136 + android:orientation="vertical"
146 - 137 + android:weightSum="1">
147 - <LinearLayout
148 - android:layout_width="match_parent"
149 - android:layout_height="wrap_content"
150 - android:orientation="vertical"></LinearLayout>
151 138
152 <TextView 139 <TextView
153 android:id="@+id/mainTextView" 140 android:id="@+id/mainTextView"
154 android:layout_width="match_parent" 141 android:layout_width="match_parent"
155 android:layout_height="wrap_content" 142 android:layout_height="wrap_content"
156 - android:text="4-2. 가족구성원 '형제/자매' 선택 시 총 형제/자매 수를 입력해주세요." /> 143 + android:text="4-2. 총 형제자매 수를 입력해주세요." />
157 -
158 - <LinearLayout
159 - android:layout_width="match_parent"
160 - android:layout_height="wrap_content"
161 - android:orientation="vertical"></LinearLayout>
162 144
163 <LinearLayout 145 <LinearLayout
164 android:layout_width="match_parent" 146 android:layout_width="match_parent"
...@@ -166,457 +148,37 @@ ...@@ -166,457 +148,37 @@
166 android:orientation="horizontal"> 148 android:orientation="horizontal">
167 149
168 <EditText 150 <EditText
169 - android:id="@+id/brotherNumberEditText" 151 + android:id="@+id/bsNumberEditText"
170 android:layout_width="wrap_content" 152 android:layout_width="wrap_content"
171 android:layout_height="wrap_content" 153 android:layout_height="wrap_content"
172 android:layout_weight="1" 154 android:layout_weight="1"
173 android:ems="10" 155 android:ems="10"
174 android:hint="ex) 3" 156 android:hint="ex) 3"
175 - android:inputType="textPersonName" /> 157 + android:inputType="number|textPersonName" />
176 158
177 <Button 159 <Button
178 - android:id="@+id/brotherNumberInputButton" 160 + android:id="@+id/bsNumberInputButton"
179 android:layout_width="wrap_content" 161 android:layout_width="wrap_content"
180 android:layout_height="wrap_content" 162 android:layout_height="wrap_content"
181 android:layout_weight="1" 163 android:layout_weight="1"
182 android:text="입 력" /> 164 android:text="입 력" />
183 </LinearLayout> 165 </LinearLayout>
184 166
185 - <LinearLayout 167 + <androidx.recyclerview.widget.RecyclerView
186 - android:layout_width="match_parent" 168 + android:id="@+id/bsRecyclerView"
187 - android:layout_height="wrap_content"
188 - android:orientation="vertical">
189 -
190 - <LinearLayout
191 - android:id="@+id/brother1LinearLayout"
192 - android:layout_width="match_parent"
193 - android:layout_height="wrap_content"
194 - android:orientation="vertical">
195 -
196 - <TextView
197 - android:id="@+id/brother1TextView"
198 - android:layout_width="match_parent"
199 - android:layout_height="wrap_content"
200 - android:text="형제자매 1" />
201 -
202 - <LinearLayout
203 - android:layout_width="match_parent"
204 - android:layout_height="match_parent"
205 - android:orientation="vertical"></LinearLayout>
206 -
207 - <TextView
208 - android:id="@+id/brother1BirthTextView"
209 - android:layout_width="match_parent"
210 - android:layout_height="wrap_content"
211 - android:text="생년월일" />
212 -
213 - <LinearLayout
214 - android:layout_width="match_parent"
215 - android:layout_height="match_parent"
216 - android:orientation="horizontal">
217 -
218 - <EditText
219 - android:id="@+id/brother1BirthEditText"
220 - android:layout_width="wrap_content"
221 - android:layout_height="wrap_content"
222 - android:layout_weight="1"
223 - android:ems="10"
224 - android:inputType="textPersonName" />
225 -
226 - <Button
227 - android:id="@+id/brother1BirthInputButton"
228 - android:layout_width="wrap_content"
229 - android:layout_height="wrap_content"
230 - android:layout_weight="1"
231 - android:text="입력" />
232 -
233 - </LinearLayout>
234 -
235 - <LinearLayout
236 - android:layout_width="match_parent"
237 - android:layout_height="match_parent"
238 - android:orientation="vertical"></LinearLayout>
239 -
240 - <TextView
241 - android:id="@+id/brother1SexTextView"
242 - android:layout_width="match_parent"
243 - android:layout_height="wrap_content"
244 - android:text="TextView" />
245 -
246 - <LinearLayout
247 - android:layout_width="match_parent"
248 - android:layout_height="match_parent"
249 - android:orientation="horizontal">
250 -
251 - <ToggleButton
252 - android:id="@+id/brother1SexManButton"
253 - android:layout_width="wrap_content"
254 - android:layout_height="wrap_content"
255 - android:layout_weight="1"
256 - android:background="@drawable/profil_selector"
257 - android:text="ToggleButton"
258 - android:textOff="남자"
259 - android:textOn="남자" />
260 -
261 - <ToggleButton
262 - android:id="@+id/brother1SexWomanButton"
263 - android:layout_width="wrap_content"
264 - android:layout_height="wrap_content"
265 - android:layout_weight="1"
266 - android:background="@drawable/profil_selector"
267 - android:text="ToggleButton"
268 - android:textOff="여자"
269 - android:textOn="여자" />
270 - </LinearLayout>
271 -
272 - </LinearLayout>
273 -
274 -
275 - <LinearLayout
276 - android:id="@+id/brother2LinearLayout"
277 - android:layout_width="match_parent"
278 - android:layout_height="wrap_content"
279 - android:orientation="vertical">
280 -
281 - <TextView
282 - android:id="@+id/brother2TextView"
283 - android:layout_width="match_parent"
284 - android:layout_height="wrap_content"
285 - android:text="형제자매 2" />
286 -
287 - <LinearLayout
288 - android:layout_width="match_parent"
289 - android:layout_height="match_parent"
290 - android:orientation="vertical"></LinearLayout>
291 -
292 - <TextView
293 - android:id="@+id/brother2BirthTextView"
294 - android:layout_width="match_parent"
295 - android:layout_height="wrap_content"
296 - android:text="생년월일" />
297 -
298 - <LinearLayout
299 - android:layout_width="match_parent"
300 - android:layout_height="match_parent"
301 - android:orientation="horizontal">
302 -
303 - <EditText
304 - android:id="@+id/brother2BirthEditText"
305 - android:layout_width="wrap_content"
306 - android:layout_height="wrap_content"
307 - android:layout_weight="1"
308 - android:ems="10"
309 - android:inputType="textPersonName" />
310 -
311 - <Button
312 - android:id="@+id/brother2BirthInputButton"
313 - android:layout_width="wrap_content"
314 - android:layout_height="wrap_content"
315 - android:layout_weight="1"
316 - android:text="입력" />
317 -
318 - </LinearLayout>
319 -
320 - <LinearLayout
321 - android:layout_width="match_parent"
322 - android:layout_height="match_parent"
323 - android:orientation="vertical"></LinearLayout>
324 -
325 - <TextView
326 - android:id="@+id/brother2SexTextView"
327 - android:layout_width="match_parent"
328 - android:layout_height="wrap_content"
329 - android:text="TextView" />
330 -
331 - <LinearLayout
332 - android:layout_width="match_parent"
333 - android:layout_height="match_parent"
334 - android:orientation="horizontal">
335 -
336 - <ToggleButton
337 - android:id="@+id/brother2SexManButton"
338 - android:layout_width="wrap_content"
339 - android:layout_height="wrap_content"
340 - android:layout_weight="1"
341 - android:background="@drawable/profil_selector"
342 - android:text="ToggleButton"
343 - android:textOff="남자"
344 - android:textOn="남자" />
345 -
346 - <ToggleButton
347 - android:id="@+id/brother2SexWomanButton"
348 - android:layout_width="wrap_content"
349 - android:layout_height="wrap_content"
350 - android:layout_weight="1"
351 - android:background="@drawable/profil_selector"
352 - android:text="ToggleButton"
353 - android:textOff="여자"
354 - android:textOn="여자" />
355 - </LinearLayout>
356 -
357 - </LinearLayout>
358 -
359 -
360 - <LinearLayout
361 - android:id="@+id/brother3LinearLayout"
362 - android:layout_width="match_parent"
363 - android:layout_height="wrap_content"
364 - android:orientation="vertical">
365 -
366 - <TextView
367 - android:id="@+id/brother3TextView"
368 - android:layout_width="match_parent"
369 - android:layout_height="wrap_content"
370 - android:text="형제자매 3" />
371 -
372 - <LinearLayout
373 - android:layout_width="match_parent"
374 - android:layout_height="match_parent"
375 - android:orientation="vertical"></LinearLayout>
376 -
377 - <TextView
378 - android:id="@+id/brother3BirthTextView"
379 - android:layout_width="match_parent"
380 - android:layout_height="wrap_content"
381 - android:text="생년월일" />
382 -
383 - <LinearLayout
384 - android:layout_width="match_parent"
385 - android:layout_height="match_parent"
386 - android:orientation="horizontal">
387 -
388 - <EditText
389 - android:id="@+id/brother3BirthEditText"
390 - android:layout_width="wrap_content"
391 - android:layout_height="wrap_content"
392 - android:layout_weight="1"
393 - android:ems="10"
394 - android:inputType="textPersonName" />
395 -
396 - <Button
397 - android:id="@+id/brother3BirthInputButton"
398 - android:layout_width="wrap_content"
399 - android:layout_height="wrap_content"
400 - android:layout_weight="1"
401 - android:text="입력" />
402 -
403 - </LinearLayout>
404 -
405 - <LinearLayout
406 - android:layout_width="match_parent"
407 - android:layout_height="match_parent"
408 - android:orientation="vertical"></LinearLayout>
409 -
410 - <TextView
411 - android:id="@+id/brother3SexTextView"
412 - android:layout_width="match_parent"
413 - android:layout_height="wrap_content"
414 - android:text="TextView" />
415 -
416 - <LinearLayout
417 - android:layout_width="match_parent"
418 - android:layout_height="match_parent"
419 - android:orientation="horizontal">
420 -
421 - <ToggleButton
422 - android:id="@+id/brother3SexManButton"
423 - android:layout_width="wrap_content"
424 - android:layout_height="wrap_content"
425 - android:layout_weight="1"
426 - android:background="@drawable/profil_selector"
427 - android:text="ToggleButton"
428 - android:textOff="남자"
429 - android:textOn="남자" />
430 -
431 - <ToggleButton
432 - android:id="@+id/brother3SexWomanButton"
433 - android:layout_width="wrap_content"
434 - android:layout_height="wrap_content"
435 - android:layout_weight="1"
436 - android:background="@drawable/profil_selector"
437 - android:text="ToggleButton"
438 - android:textOff="여자"
439 - android:textOn="여자" />
440 - </LinearLayout>
441 -
442 - </LinearLayout>
443 -
444 -
445 - <LinearLayout
446 - android:id="@+id/brother4LinearLayout"
447 - android:layout_width="match_parent"
448 - android:layout_height="wrap_content"
449 - android:orientation="vertical">
450 -
451 - <TextView
452 - android:id="@+id/brother4TextView"
453 - android:layout_width="match_parent"
454 - android:layout_height="wrap_content"
455 - android:text="형제자매 4" />
456 -
457 - <LinearLayout
458 - android:layout_width="match_parent"
459 - android:layout_height="match_parent"
460 - android:orientation="vertical"></LinearLayout>
461 -
462 - <TextView
463 - android:id="@+id/brother4BirthTextView"
464 - android:layout_width="match_parent"
465 - android:layout_height="wrap_content"
466 - android:text="생년월일" />
467 -
468 - <LinearLayout
469 android:layout_width="match_parent" 169 android:layout_width="match_parent"
470 - android:layout_height="match_parent"
471 - android:orientation="horizontal">
472 -
473 - <EditText
474 - android:id="@+id/brother4BirthEditText"
475 - android:layout_width="wrap_content"
476 android:layout_height="wrap_content" 170 android:layout_height="wrap_content"
477 - android:layout_weight="1" 171 + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
478 - android:ems="10" 172 + tools:listitem="@layout/item_child" />
479 - android:inputType="textPersonName" />
480 -
481 - <Button
482 - android:id="@+id/brother4BirthInputButton"
483 - android:layout_width="wrap_content"
484 - android:layout_height="wrap_content"
485 - android:layout_weight="1"
486 - android:text="입력" />
487 173
488 </LinearLayout> 174 </LinearLayout>
489 - 175 + </ScrollView>
490 - <LinearLayout
491 - android:layout_width="match_parent"
492 - android:layout_height="match_parent"
493 - android:orientation="vertical"></LinearLayout>
494 -
495 - <TextView
496 - android:id="@+id/brother4SexTextView"
497 - android:layout_width="match_parent"
498 - android:layout_height="wrap_content"
499 - android:text="TextView" />
500 -
501 - <LinearLayout
502 - android:layout_width="match_parent"
503 - android:layout_height="match_parent"
504 - android:orientation="horizontal">
505 -
506 - <ToggleButton
507 - android:id="@+id/brother4SexManButton"
508 - android:layout_width="wrap_content"
509 - android:layout_height="wrap_content"
510 - android:layout_weight="1"
511 - android:background="@drawable/profil_selector"
512 - android:text="ToggleButton"
513 - android:textOff="남자"
514 - android:textOn="남자" />
515 -
516 - <ToggleButton
517 - android:id="@+id/brother4SexWomanButton"
518 - android:layout_width="wrap_content"
519 - android:layout_height="wrap_content"
520 - android:layout_weight="1"
521 - android:background="@drawable/profil_selector"
522 - android:text="ToggleButton"
523 - android:textOff="여자"
524 - android:textOn="여자" />
525 - </LinearLayout>
526 -
527 - </LinearLayout>
528 -
529 -
530 - <LinearLayout
531 - android:id="@+id/brother5LinearLayout"
532 - android:layout_width="match_parent"
533 - android:layout_height="wrap_content"
534 - android:orientation="vertical">
535 -
536 - <TextView
537 - android:id="@+id/brother5TextView"
538 - android:layout_width="match_parent"
539 - android:layout_height="wrap_content"
540 - android:text="형제자매 5" />
541 -
542 - <LinearLayout
543 - android:layout_width="match_parent"
544 - android:layout_height="match_parent"
545 - android:orientation="vertical"></LinearLayout>
546 -
547 - <TextView
548 - android:id="@+id/brother5BirthTextView"
549 - android:layout_width="match_parent"
550 - android:layout_height="wrap_content"
551 - android:text="생년월일" />
552 -
553 - <LinearLayout
554 - android:layout_width="match_parent"
555 - android:layout_height="match_parent"
556 - android:orientation="horizontal">
557 -
558 - <EditText
559 - android:id="@+id/brother5BirthEditText"
560 - android:layout_width="wrap_content"
561 - android:layout_height="wrap_content"
562 - android:layout_weight="1"
563 - android:ems="10"
564 - android:inputType="textPersonName" />
565 -
566 - <Button
567 - android:id="@+id/brother5BirthInputButton"
568 - android:layout_width="wrap_content"
569 - android:layout_height="wrap_content"
570 - android:layout_weight="1"
571 - android:text="입력" />
572 -
573 - </LinearLayout>
574 -
575 - <LinearLayout
576 - android:layout_width="match_parent"
577 - android:layout_height="match_parent"
578 - android:orientation="vertical"></LinearLayout>
579 -
580 - <TextView
581 - android:id="@+id/brother5SexTextView"
582 - android:layout_width="match_parent"
583 - android:layout_height="wrap_content"
584 - android:text="TextView" />
585 -
586 - <LinearLayout
587 - android:layout_width="match_parent"
588 - android:layout_height="match_parent"
589 - android:orientation="horizontal">
590 -
591 - <ToggleButton
592 - android:id="@+id/brother5SexManButton"
593 - android:layout_width="wrap_content"
594 - android:layout_height="wrap_content"
595 - android:layout_weight="1"
596 - android:background="@drawable/profil_selector"
597 - android:text="ToggleButton"
598 - android:textOff="남자"
599 - android:textOn="남자" />
600 -
601 - <ToggleButton
602 - android:id="@+id/brother5SexWomanButton"
603 - android:layout_width="wrap_content"
604 - android:layout_height="wrap_content"
605 - android:layout_weight="1"
606 - android:background="@drawable/profil_selector"
607 - android:text="ToggleButton"
608 - android:textOff="여자"
609 - android:textOn="여자" />
610 - </LinearLayout>
611 -
612 - </LinearLayout>
613 -
614 -
615 </LinearLayout> 176 </LinearLayout>
616 177
617 <LinearLayout 178 <LinearLayout
618 android:layout_width="match_parent" 179 android:layout_width="match_parent"
619 android:layout_height="wrap_content" 180 android:layout_height="wrap_content"
181 + android:layout_gravity="bottom"
620 android:orientation="horizontal"> 182 android:orientation="horizontal">
621 183
622 <Button 184 <Button
...@@ -635,8 +197,4 @@ ...@@ -635,8 +197,4 @@
635 </LinearLayout> 197 </LinearLayout>
636 198
637 </LinearLayout> 199 </LinearLayout>
638 - </ScrollView>
639 -
640 - </LinearLayout>
641 - </LinearLayout>
642 </androidx.constraintlayout.widget.ConstraintLayout> 200 </androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
12 android:orientation="vertical"> 12 android:orientation="vertical">
13 13
14 14
15 -
16 <androidx.appcompat.widget.Toolbar 15 <androidx.appcompat.widget.Toolbar
17 android:id="@+id/toolbar" 16 android:id="@+id/toolbar"
18 android:layout_width="fill_parent" 17 android:layout_width="fill_parent"
...@@ -33,28 +32,32 @@ ...@@ -33,28 +32,32 @@
33 android:layout_width="10dp" 32 android:layout_width="10dp"
34 android:layout_height="match_parent" 33 android:layout_height="match_parent"
35 android:layout_weight="1.5" 34 android:layout_weight="1.5"
36 - android:text="건너뛰기"/> 35 + android:text="건너뛰기" />
36 +
37 <LinearLayout 37 <LinearLayout
38 android:layout_width="10dp" 38 android:layout_width="10dp"
39 android:layout_height="match_parent" 39 android:layout_height="match_parent"
40 - android:orientation="horizontal" 40 + android:layout_weight="1"
41 - android:layout_weight="1"/> 41 + android:orientation="horizontal" />
42 +
42 <ImageView 43 <ImageView
43 android:layout_width="77dp" 44 android:layout_width="77dp"
44 android:layout_height="44dp" 45 android:layout_height="44dp"
45 android:layout_gravity="center" 46 android:layout_gravity="center"
46 android:layout_weight="1" 47 android:layout_weight="1"
47 android:src="@drawable/toolbar_logo" /> 48 android:src="@drawable/toolbar_logo" />
49 +
48 <LinearLayout 50 <LinearLayout
49 android:layout_width="10dp" 51 android:layout_width="10dp"
50 android:layout_height="match_parent" 52 android:layout_height="match_parent"
51 - android:orientation="horizontal" 53 + android:layout_weight="1"
52 - android:layout_weight="1"/> 54 + android:orientation="horizontal" />
55 +
53 <LinearLayout 56 <LinearLayout
54 android:layout_width="10dp" 57 android:layout_width="10dp"
55 android:layout_height="match_parent" 58 android:layout_height="match_parent"
56 - android:orientation="horizontal" 59 + android:layout_weight="1.5"
57 - android:layout_weight="1.5"/> 60 + android:orientation="horizontal" />
58 61
59 </LinearLayout> 62 </LinearLayout>
60 63
...@@ -118,22 +121,10 @@ ...@@ -118,22 +121,10 @@
118 121
119 <LinearLayout 122 <LinearLayout
120 android:layout_width="match_parent" 123 android:layout_width="match_parent"
121 - android:layout_height="10dp" 124 + android:layout_height="wrap_content"
122 - android:orientation="vertical"></LinearLayout>
123 -
124 - <LinearLayout
125 - android:layout_width="match_parent"
126 - android:layout_height="50dp"
127 android:layout_weight="1" 125 android:layout_weight="1"
128 android:orientation="vertical"> 126 android:orientation="vertical">
129 127
130 - <LinearLayout
131 - android:layout_width="match_parent"
132 - android:layout_height="10dp"
133 - android:orientation="vertical">
134 -
135 - </LinearLayout>
136 -
137 <ScrollView 128 <ScrollView
138 android:layout_width="match_parent" 129 android:layout_width="match_parent"
139 android:layout_height="match_parent" 130 android:layout_height="match_parent"
...@@ -142,12 +133,8 @@ ...@@ -142,12 +133,8 @@
142 <LinearLayout 133 <LinearLayout
143 android:layout_width="match_parent" 134 android:layout_width="match_parent"
144 android:layout_height="wrap_content" 135 android:layout_height="wrap_content"
145 - android:orientation="vertical"> 136 + android:orientation="vertical"
146 - 137 + android:weightSum="1">
147 - <LinearLayout
148 - android:layout_width="match_parent"
149 - android:layout_height="wrap_content"
150 - android:orientation="vertical"></LinearLayout>
151 138
152 <TextView 139 <TextView
153 android:id="@+id/mainTextView" 140 android:id="@+id/mainTextView"
...@@ -158,11 +145,6 @@ ...@@ -158,11 +145,6 @@
158 <LinearLayout 145 <LinearLayout
159 android:layout_width="match_parent" 146 android:layout_width="match_parent"
160 android:layout_height="wrap_content" 147 android:layout_height="wrap_content"
161 - android:orientation="vertical"></LinearLayout>
162 -
163 - <LinearLayout
164 - android:layout_width="match_parent"
165 - android:layout_height="wrap_content"
166 android:orientation="horizontal"> 148 android:orientation="horizontal">
167 149
168 <EditText 150 <EditText
...@@ -172,7 +154,7 @@ ...@@ -172,7 +154,7 @@
172 android:layout_weight="1" 154 android:layout_weight="1"
173 android:ems="10" 155 android:ems="10"
174 android:hint="ex) 3" 156 android:hint="ex) 3"
175 - android:inputType="textPersonName" /> 157 + android:inputType="number|textPersonName" />
176 158
177 <Button 159 <Button
178 android:id="@+id/childNumberInputButton" 160 android:id="@+id/childNumberInputButton"
...@@ -182,446 +164,21 @@ ...@@ -182,446 +164,21 @@
182 android:text="입 력" /> 164 android:text="입 력" />
183 </LinearLayout> 165 </LinearLayout>
184 166
185 - <LinearLayout 167 + <androidx.recyclerview.widget.RecyclerView
186 - android:layout_width="match_parent" 168 + android:id="@+id/childRecyclerView"
187 - android:layout_height="wrap_content"
188 - android:orientation="vertical">
189 -
190 - <LinearLayout
191 - android:id="@+id/child1LinearLayout"
192 - android:layout_width="match_parent"
193 - android:layout_height="wrap_content"
194 - android:orientation="vertical"
195 - android:visibility="gone">
196 -
197 - <TextView
198 - android:id="@+id/child1TextView"
199 - android:layout_width="match_parent"
200 - android:layout_height="wrap_content"
201 - android:text="자녀 1" />
202 -
203 - <LinearLayout
204 - android:layout_width="match_parent"
205 - android:layout_height="match_parent"
206 - android:orientation="vertical"></LinearLayout>
207 -
208 - <TextView
209 - android:id="@+id/child1BirthTextView"
210 - android:layout_width="match_parent"
211 - android:layout_height="wrap_content"
212 - android:text="생년월일" />
213 -
214 - <LinearLayout
215 - android:layout_width="match_parent"
216 - android:layout_height="match_parent"
217 - android:orientation="horizontal">
218 -
219 - <EditText
220 - android:id="@+id/child1BirthEditText"
221 - android:layout_width="wrap_content"
222 - android:layout_height="wrap_content"
223 - android:layout_weight="1"
224 - android:ems="10"
225 - android:inputType="textPersonName" />
226 -
227 - <Button
228 - android:id="@+id/child1BirthInputButton"
229 - android:layout_width="wrap_content"
230 - android:layout_height="wrap_content"
231 - android:layout_weight="1"
232 - android:text="입력" />
233 -
234 - </LinearLayout>
235 -
236 - <LinearLayout
237 - android:layout_width="match_parent"
238 - android:layout_height="match_parent"
239 - android:orientation="vertical"></LinearLayout>
240 -
241 - <TextView
242 - android:id="@+id/child1SexTextView"
243 - android:layout_width="match_parent"
244 - android:layout_height="wrap_content"
245 - android:text="TextView" />
246 -
247 - <LinearLayout
248 - android:layout_width="match_parent"
249 - android:layout_height="match_parent"
250 - android:orientation="horizontal">
251 -
252 - <ToggleButton
253 - android:id="@+id/child1SexManButton"
254 - android:layout_width="wrap_content"
255 - android:layout_height="wrap_content"
256 - android:layout_weight="1"
257 - android:background="@drawable/profil_selector"
258 - android:text="ToggleButton"
259 - android:textOff="남자"
260 - android:textOn="남자" />
261 -
262 - <ToggleButton
263 - android:id="@+id/child1SexWomanButton"
264 - android:layout_width="wrap_content"
265 - android:layout_height="wrap_content"
266 - android:layout_weight="1"
267 - android:background="@drawable/profil_selector"
268 - android:text="ToggleButton"
269 - android:textOff="여자"
270 - android:textOn="여자" />
271 - </LinearLayout>
272 -
273 - </LinearLayout>
274 -
275 -
276 - <LinearLayout
277 - android:id="@+id/child2LinearLayout"
278 - android:layout_width="match_parent"
279 - android:layout_height="wrap_content"
280 - android:orientation="vertical"
281 - android:visibility="gone">
282 -
283 - <TextView
284 - android:id="@+id/child2TextView"
285 - android:layout_width="match_parent"
286 - android:layout_height="wrap_content"
287 - android:text="자녀 2" />
288 -
289 - <LinearLayout
290 - android:layout_width="match_parent"
291 - android:layout_height="match_parent"
292 - android:orientation="vertical"></LinearLayout>
293 -
294 - <TextView
295 - android:id="@+id/child2BirthTextView"
296 - android:layout_width="match_parent"
297 - android:layout_height="wrap_content"
298 - android:text="생년월일" />
299 -
300 - <LinearLayout
301 - android:layout_width="match_parent"
302 - android:layout_height="match_parent"
303 - android:orientation="horizontal">
304 -
305 - <EditText
306 - android:id="@+id/child2BirthEditText"
307 - android:layout_width="wrap_content"
308 - android:layout_height="wrap_content"
309 - android:layout_weight="1"
310 - android:ems="10"
311 - android:inputType="textPersonName" />
312 -
313 - <Button
314 - android:id="@+id/child2BirthInputButton"
315 - android:layout_width="wrap_content"
316 - android:layout_height="wrap_content"
317 - android:layout_weight="1"
318 - android:text="입력" />
319 -
320 - </LinearLayout>
321 -
322 - <LinearLayout
323 - android:layout_width="match_parent"
324 - android:layout_height="match_parent"
325 - android:orientation="vertical"></LinearLayout>
326 -
327 - <TextView
328 - android:id="@+id/child2SexTextView"
329 android:layout_width="match_parent" 169 android:layout_width="match_parent"
330 android:layout_height="wrap_content" 170 android:layout_height="wrap_content"
331 - android:text="TextView" /> 171 + app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
332 - 172 + tools:listitem="@layout/item_child" />
333 - <LinearLayout
334 - android:layout_width="match_parent"
335 - android:layout_height="match_parent"
336 - android:orientation="horizontal">
337 -
338 - <ToggleButton
339 - android:id="@+id/child2SexManButton"
340 - android:layout_width="wrap_content"
341 - android:layout_height="wrap_content"
342 - android:layout_weight="1"
343 - android:background="@drawable/profil_selector"
344 - android:text="ToggleButton"
345 - android:textOff="남자"
346 - android:textOn="남자" />
347 -
348 - <ToggleButton
349 - android:id="@+id/child2SexWomanButton"
350 - android:layout_width="wrap_content"
351 - android:layout_height="wrap_content"
352 - android:layout_weight="1"
353 - android:background="@drawable/profil_selector"
354 - android:text="ToggleButton"
355 - android:textOff="여자"
356 - android:textOn="여자" />
357 - </LinearLayout>
358 173
359 </LinearLayout> 174 </LinearLayout>
360 - 175 + </ScrollView>
361 -
362 - <LinearLayout
363 - android:id="@+id/child3LinearLayout"
364 - android:layout_width="match_parent"
365 - android:layout_height="wrap_content"
366 - android:orientation="vertical"
367 - android:visibility="gone">
368 -
369 - <TextView
370 - android:id="@+id/child3TextView"
371 - android:layout_width="match_parent"
372 - android:layout_height="wrap_content"
373 - android:text="자녀 3" />
374 -
375 - <LinearLayout
376 - android:layout_width="match_parent"
377 - android:layout_height="match_parent"
378 - android:orientation="vertical"></LinearLayout>
379 -
380 - <TextView
381 - android:id="@+id/child3BirthTextView"
382 - android:layout_width="match_parent"
383 - android:layout_height="wrap_content"
384 - android:text="생년월일" />
385 -
386 - <LinearLayout
387 - android:layout_width="match_parent"
388 - android:layout_height="match_parent"
389 - android:orientation="horizontal">
390 -
391 - <EditText
392 - android:id="@+id/child3BirthEditText"
393 - android:layout_width="wrap_content"
394 - android:layout_height="wrap_content"
395 - android:layout_weight="1"
396 - android:ems="10"
397 - android:inputType="textPersonName" />
398 -
399 - <Button
400 - android:id="@+id/child3BirthInputButton"
401 - android:layout_width="wrap_content"
402 - android:layout_height="wrap_content"
403 - android:layout_weight="1"
404 - android:text="입력" />
405 -
406 - </LinearLayout>
407 -
408 - <LinearLayout
409 - android:layout_width="match_parent"
410 - android:layout_height="match_parent"
411 - android:orientation="vertical"></LinearLayout>
412 -
413 - <TextView
414 - android:id="@+id/child3SexTextView"
415 - android:layout_width="match_parent"
416 - android:layout_height="wrap_content"
417 - android:text="TextView" />
418 -
419 - <LinearLayout
420 - android:layout_width="match_parent"
421 - android:layout_height="match_parent"
422 - android:orientation="horizontal">
423 -
424 - <ToggleButton
425 - android:id="@+id/child3SexManButton"
426 - android:layout_width="wrap_content"
427 - android:layout_height="wrap_content"
428 - android:layout_weight="1"
429 - android:background="@drawable/profil_selector"
430 - android:text="ToggleButton"
431 - android:textOff="남자"
432 - android:textOn="남자" />
433 -
434 - <ToggleButton
435 - android:id="@+id/child3SexWomanButton"
436 - android:layout_width="wrap_content"
437 - android:layout_height="wrap_content"
438 - android:layout_weight="1"
439 - android:background="@drawable/profil_selector"
440 - android:text="ToggleButton"
441 - android:textOff="여자"
442 - android:textOn="여자" />
443 - </LinearLayout>
444 -
445 - </LinearLayout>
446 -
447 -
448 - <LinearLayout
449 - android:id="@+id/child4LinearLayout"
450 - android:layout_width="match_parent"
451 - android:layout_height="wrap_content"
452 - android:orientation="vertical"
453 - android:visibility="gone">
454 -
455 - <TextView
456 - android:id="@+id/child4TextView"
457 - android:layout_width="match_parent"
458 - android:layout_height="wrap_content"
459 - android:text="자녀 4" />
460 -
461 - <LinearLayout
462 - android:layout_width="match_parent"
463 - android:layout_height="match_parent"
464 - android:orientation="vertical"></LinearLayout>
465 -
466 - <TextView
467 - android:id="@+id/child4BirthTextView"
468 - android:layout_width="match_parent"
469 - android:layout_height="wrap_content"
470 - android:text="생년월일" />
471 -
472 - <LinearLayout
473 - android:layout_width="match_parent"
474 - android:layout_height="match_parent"
475 - android:orientation="horizontal">
476 -
477 - <EditText
478 - android:id="@+id/child4BirthEditText"
479 - android:layout_width="wrap_content"
480 - android:layout_height="wrap_content"
481 - android:layout_weight="1"
482 - android:ems="10"
483 - android:inputType="textPersonName" />
484 -
485 - <Button
486 - android:id="@+id/child4BirthInputButton"
487 - android:layout_width="wrap_content"
488 - android:layout_height="wrap_content"
489 - android:layout_weight="1"
490 - android:text="입력" />
491 -
492 - </LinearLayout>
493 -
494 - <LinearLayout
495 - android:layout_width="match_parent"
496 - android:layout_height="match_parent"
497 - android:orientation="vertical"></LinearLayout>
498 -
499 - <TextView
500 - android:id="@+id/child4SexTextView"
501 - android:layout_width="match_parent"
502 - android:layout_height="wrap_content"
503 - android:text="TextView" />
504 -
505 - <LinearLayout
506 - android:layout_width="match_parent"
507 - android:layout_height="match_parent"
508 - android:orientation="horizontal">
509 -
510 - <ToggleButton
511 - android:id="@+id/child4SexManButton"
512 - android:layout_width="wrap_content"
513 - android:layout_height="wrap_content"
514 - android:layout_weight="1"
515 - android:background="@drawable/profil_selector"
516 - android:text="ToggleButton"
517 - android:textOff="남자"
518 - android:textOn="남자" />
519 -
520 - <ToggleButton
521 - android:id="@+id/child4SexWomanButton"
522 - android:layout_width="wrap_content"
523 - android:layout_height="wrap_content"
524 - android:layout_weight="1"
525 - android:background="@drawable/profil_selector"
526 - android:text="ToggleButton"
527 - android:textOff="여자"
528 - android:textOn="여자" />
529 - </LinearLayout>
530 -
531 - </LinearLayout>
532 -
533 -
534 - <LinearLayout
535 - android:id="@+id/child5LinearLayout"
536 - android:layout_width="match_parent"
537 - android:layout_height="wrap_content"
538 - android:orientation="vertical"
539 - android:visibility="gone">
540 -
541 - <TextView
542 - android:id="@+id/child5TextView"
543 - android:layout_width="match_parent"
544 - android:layout_height="wrap_content"
545 - android:text="자녀 5" />
546 -
547 - <LinearLayout
548 - android:layout_width="match_parent"
549 - android:layout_height="match_parent"
550 - android:orientation="vertical"></LinearLayout>
551 -
552 - <TextView
553 - android:id="@+id/child5BirthTextView"
554 - android:layout_width="match_parent"
555 - android:layout_height="wrap_content"
556 - android:text="생년월일" />
557 -
558 - <LinearLayout
559 - android:layout_width="match_parent"
560 - android:layout_height="match_parent"
561 - android:orientation="horizontal">
562 -
563 - <EditText
564 - android:id="@+id/child5BirthEditText"
565 - android:layout_width="wrap_content"
566 - android:layout_height="wrap_content"
567 - android:layout_weight="1"
568 - android:ems="10"
569 - android:inputType="textPersonName" />
570 -
571 - <Button
572 - android:id="@+id/child5BirthInputButton"
573 - android:layout_width="wrap_content"
574 - android:layout_height="wrap_content"
575 - android:layout_weight="1"
576 - android:text="입력" />
577 -
578 - </LinearLayout>
579 -
580 - <LinearLayout
581 - android:layout_width="match_parent"
582 - android:layout_height="match_parent"
583 - android:orientation="vertical"></LinearLayout>
584 -
585 - <TextView
586 - android:id="@+id/child5SexTextView"
587 - android:layout_width="match_parent"
588 - android:layout_height="wrap_content"
589 - android:text="TextView" />
590 -
591 - <LinearLayout
592 - android:layout_width="match_parent"
593 - android:layout_height="match_parent"
594 - android:orientation="horizontal">
595 -
596 - <ToggleButton
597 - android:id="@+id/child5SexManButton"
598 - android:layout_width="wrap_content"
599 - android:layout_height="wrap_content"
600 - android:layout_weight="1"
601 - android:background="@drawable/profil_selector"
602 - android:text="ToggleButton"
603 - android:textOff="남자"
604 - android:textOn="남자" />
605 -
606 - <ToggleButton
607 - android:id="@+id/child5SexWomanButton"
608 - android:layout_width="wrap_content"
609 - android:layout_height="wrap_content"
610 - android:layout_weight="1"
611 - android:background="@drawable/profil_selector"
612 - android:text="ToggleButton"
613 - android:textOff="여자"
614 - android:textOn="여자" />
615 - </LinearLayout>
616 -
617 - </LinearLayout>
618 -
619 -
620 </LinearLayout> 176 </LinearLayout>
621 177
622 <LinearLayout 178 <LinearLayout
623 android:layout_width="match_parent" 179 android:layout_width="match_parent"
624 android:layout_height="wrap_content" 180 android:layout_height="wrap_content"
181 + android:layout_gravity="bottom"
625 android:orientation="horizontal"> 182 android:orientation="horizontal">
626 183
627 <Button 184 <Button
...@@ -640,8 +197,4 @@ ...@@ -640,8 +197,4 @@
640 </LinearLayout> 197 </LinearLayout>
641 198
642 </LinearLayout> 199 </LinearLayout>
643 - </ScrollView>
644 -
645 - </LinearLayout>
646 - </LinearLayout>
647 </androidx.constraintlayout.widget.ConstraintLayout> 200 </androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
6 android:layout_height="match_parent" 6 android:layout_height="match_parent"
7 tools:context=".MainActivity"> 7 tools:context=".MainActivity">
8 8
9 +
9 <LinearLayout 10 <LinearLayout
10 android:layout_width="match_parent" 11 android:layout_width="match_parent"
11 android:layout_height="match_parent" 12 android:layout_height="match_parent"
...@@ -15,72 +16,102 @@ ...@@ -15,72 +16,102 @@
15 android:layout_width="match_parent" 16 android:layout_width="match_parent"
16 android:layout_height="10dp" 17 android:layout_height="10dp"
17 android:layout_weight="1" 18 android:layout_weight="1"
18 - android:orientation="vertical"></LinearLayout> 19 + android:gravity="center"
20 + android:orientation="vertical">
19 21
20 <LinearLayout 22 <LinearLayout
21 - android:layout_width="match_parent" 23 + android:layout_width="wrap_content"
22 android:layout_height="wrap_content" 24 android:layout_height="wrap_content"
25 + android:layout_gravity="center"
26 + android:gravity="center"
23 android:orientation="vertical"> 27 android:orientation="vertical">
24 28
29 + <TextView
30 + android:id="@+id/textView6"
31 + android:layout_width="match_parent"
32 + android:layout_height="wrap_content"
33 + android:text="복지야, 안녕!"
34 + android:textSize="15dp" />
35 +
36 + <ImageView
37 + android:id="@+id/imageView2"
38 + android:layout_width="wrap_content"
39 + android:layout_height="wrap_content"
40 + tools:srcCompat="@tools:sample/avatars"
41 + android:src="@drawable/final_logo"/>
42 + </LinearLayout>
43 +
44 + </LinearLayout>
45 +
46 + <LinearLayout
47 + android:layout_width="match_parent"
48 + android:layout_height="wrap_content"
49 + android:gravity="center"
50 + android:orientation="vertical"
51 + android:padding="10dp">
52 +
53 + <TextView
54 + android:id="@+id/textView4"
55 + android:layout_width="350dp"
56 + android:layout_height="wrap_content"
57 + android:text="이메일"
58 + android:textColor="#29ABE2"
59 + android:textSize="13dp" />
60 +
25 <EditText 61 <EditText
26 android:id="@+id/edit_email" 62 android:id="@+id/edit_email"
27 - android:layout_width="match_parent" 63 + android:layout_width="350dp"
28 android:layout_height="wrap_content" 64 android:layout_height="wrap_content"
29 - android:layout_marginStart="16dp" 65 +
30 - android:layout_marginLeft="16dp" 66 + android:inputType="textEmailAddress"
31 - android:layout_marginTop="8dp" 67 + android:theme="@style/EditTheme" />
32 - android:layout_marginEnd="16dp" 68 +
33 - android:layout_marginRight="16dp" 69 + <TextView
34 - android:ems="10" 70 + android:id="@+id/textView5"
35 - android:hint="Email" 71 + android:layout_width="350dp"
36 - android:inputType="textEmailAddress" /> 72 + android:layout_height="wrap_content"
73 + android:text="비밀번호"
74 + android:textColor="#29ABE2"
75 + android:textSize="13dp" />
37 76
38 <EditText 77 <EditText
39 android:id="@+id/edit_password" 78 android:id="@+id/edit_password"
40 - android:layout_width="match_parent" 79 + android:layout_width="350dp"
41 android:layout_height="wrap_content" 80 android:layout_height="wrap_content"
42 - android:layout_marginStart="16dp" 81 +
43 - android:layout_marginLeft="16dp" 82 + android:inputType="textPassword"
44 - android:layout_marginTop="8dp" 83 + android:theme="@style/EditTheme" />
45 - android:layout_marginEnd="16dp"
46 - android:layout_marginRight="16dp"
47 - android:ems="10"
48 - android:hint="Password"
49 - android:inputType="textPassword" />
50 84
51 <Button 85 <Button
52 android:id="@+id/emailSigninBtn" 86 android:id="@+id/emailSigninBtn"
53 - android:layout_width="match_parent" 87 + android:layout_width="350dp"
54 android:layout_height="wrap_content" 88 android:layout_height="wrap_content"
55 android:layout_marginStart="16dp" 89 android:layout_marginStart="16dp"
56 android:layout_marginLeft="16dp" 90 android:layout_marginLeft="16dp"
57 android:layout_marginTop="8dp" 91 android:layout_marginTop="8dp"
58 android:layout_marginEnd="16dp" 92 android:layout_marginEnd="16dp"
59 android:layout_marginRight="16dp" 93 android:layout_marginRight="16dp"
60 - android:background="@color/colorPrimary" 94 + android:background="@drawable/button_x"
61 android:text="로그인" 95 android:text="로그인"
62 - android:textColor="@color/common_google_signin_btn_text_dark_default" /> 96 + android:textColor="#DDDDDD" />
97 +
98 + </LinearLayout>
99 +
100 + <LinearLayout
101 + android:layout_width="match_parent"
102 + android:layout_height="10dp"
103 + android:layout_weight="1"
104 + android:gravity="bottom"
105 + android:orientation="vertical">
63 106
64 <Button 107 <Button
65 android:id="@+id/emailSignupBtn" 108 android:id="@+id/emailSignupBtn"
66 android:layout_width="match_parent" 109 android:layout_width="match_parent"
67 android:layout_height="wrap_content" 110 android:layout_height="wrap_content"
68 - android:layout_marginStart="16dp" 111 + android:background="#29ABE2"
69 - android:layout_marginLeft="16dp"
70 - android:layout_marginTop="8dp"
71 - android:layout_marginEnd="16dp"
72 - android:layout_marginRight="16dp"
73 - android:background="@color/colorPrimary"
74 android:text="회원가입" 112 android:text="회원가입"
75 android:textColor="@color/common_google_signin_btn_text_dark_default" /> 113 android:textColor="@color/common_google_signin_btn_text_dark_default" />
76 -
77 </LinearLayout> 114 </LinearLayout>
78 -
79 - <LinearLayout
80 - android:layout_width="match_parent"
81 - android:layout_height="10dp"
82 - android:layout_weight="1"
83 - android:orientation="vertical"></LinearLayout>
84 </LinearLayout> 115 </LinearLayout>
85 116
86 </androidx.constraintlayout.widget.ConstraintLayout> 117 </androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -27,7 +27,10 @@ ...@@ -27,7 +27,10 @@
27 android:layout_width="wrap_content" 27 android:layout_width="wrap_content"
28 android:layout_height="70dp" 28 android:layout_height="70dp"
29 android:layout_weight="1" 29 android:layout_weight="1"
30 - android:text="시작하기" /> 30 + android:background="#FF29ABE2"
31 + android:text="회원가입/로그인하기"
32 + android:textColor="@android:color/white"
33 + android:textSize="16dp" />
31 34
32 </LinearLayout> 35 </LinearLayout>
33 </LinearLayout> 36 </LinearLayout>
...\ No newline at end of file ...\ No newline at end of file
......
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 + xmlns:app="http://schemas.android.com/apk/res-auto"
4 + xmlns:tools="http://schemas.android.com/tools"
5 + android:layout_width="match_parent"
6 + android:layout_height="wrap_content"
7 + android:orientation="vertical"
8 + android:padding="25dp"
9 + tools:context=".BSAdapter">
10 +
11 + <LinearLayout
12 + android:layout_width="match_parent"
13 + android:layout_height="wrap_content"
14 + android:orientation="horizontal"
15 + android:padding="2dp">
16 +
17 + <Button
18 + android:id="@+id/circleformButton"
19 + android:layout_width="20dp"
20 + android:layout_height="20dp"
21 + android:layout_gravity="center"
22 + android:layout_margin="3dp"
23 + android:background="@drawable/circle_shape"
24 + android:textColor="#29ABE2"
25 + android:textSize="10dp" />
26 +
27 + <TextView
28 + android:id="@+id/bsTextView"
29 + android:layout_width="wrap_content"
30 + android:layout_height="wrap_content"
31 + android:text="내용"
32 + android:textColor="#29ABE2"
33 + android:textSize="20dp" />
34 +
35 + </LinearLayout>
36 +
37 + <TextView
38 + android:id="@+id/textView8"
39 + android:layout_width="match_parent"
40 + android:layout_height="wrap_content"
41 + android:layout_margin="10dp"
42 + android:text="생년월일"
43 + android:textColor="#29ABE2"
44 + android:textSize="13dp" />
45 +
46 + <EditText
47 + android:id="@+id/bsBirthEditText"
48 + android:layout_width="match_parent"
49 + android:layout_height="wrap_content"
50 + android:layout_margin="10dp"
51 + android:ems="10"
52 + android:hint="ex)19951029"
53 + android:inputType="number"
54 + android:theme="@style/EditTheme" />
55 +
56 + <TextView
57 + android:id="@+id/textView9"
58 + android:layout_width="match_parent"
59 + android:layout_height="wrap_content"
60 + android:layout_margin="10dp"
61 + android:text="성별 *"
62 + android:textColor="#29ABE2"
63 + android:textSize="13dp" />
64 +
65 + <LinearLayout
66 + android:layout_width="match_parent"
67 + android:layout_height="wrap_content"
68 + android:orientation="horizontal">
69 +
70 + <ToggleButton
71 + android:id="@+id/womanButton"
72 + android:layout_width="wrap_content"
73 + android:layout_height="wrap_content"
74 + android:layout_margin="10dp"
75 + android:layout_weight="1"
76 + android:background="@drawable/button_selector"
77 + android:textOff="여성"
78 + android:textOn="여성" />
79 +
80 + <ToggleButton
81 + android:id="@+id/manButton"
82 + android:layout_width="wrap_content"
83 + android:layout_height="wrap_content"
84 + android:layout_margin="10dp"
85 + android:layout_weight="1"
86 + android:background="@drawable/button_selector"
87 + android:textOff="남성"
88 + android:textOn="남성" />
89 + </LinearLayout>
90 +</LinearLayout>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 + xmlns:app="http://schemas.android.com/apk/res-auto"
4 + xmlns:tools="http://schemas.android.com/tools"
5 + android:layout_width="match_parent"
6 + android:layout_height="wrap_content"
7 + android:orientation="vertical"
8 + android:padding="25dp"
9 + tools:context=".ChildAdapter">
10 +
11 + <LinearLayout
12 + android:layout_width="match_parent"
13 + android:layout_height="wrap_content"
14 + android:orientation="horizontal"
15 + android:padding="2dp">
16 +
17 + <Button
18 + android:id="@+id/circleformButton"
19 + android:layout_width="20dp"
20 + android:layout_height="20dp"
21 + android:layout_gravity="center"
22 + android:layout_margin="3dp"
23 + android:background="@drawable/circle_shape"
24 + android:textColor="#29ABE2"
25 + android:textSize="10dp" />
26 +
27 + <TextView
28 + android:id="@+id/childTextView"
29 + android:layout_width="wrap_content"
30 + android:layout_height="wrap_content"
31 + android:text="내용"
32 + android:textColor="#29ABE2"
33 + android:textSize="20dp" />
34 +
35 + </LinearLayout>
36 +
37 + <TextView
38 + android:id="@+id/textView8"
39 + android:layout_width="match_parent"
40 + android:layout_height="wrap_content"
41 + android:layout_margin="10dp"
42 + android:text="생년월일"
43 + android:textColor="#29ABE2"
44 + android:textSize="13dp" />
45 +
46 + <EditText
47 + android:id="@+id/childBirthEditText"
48 + android:layout_width="match_parent"
49 + android:layout_height="wrap_content"
50 + android:layout_margin="10dp"
51 + android:ems="10"
52 + android:hint="ex)19951029"
53 + android:inputType="number"
54 + android:theme="@style/EditTheme" />
55 +
56 + <TextView
57 + android:id="@+id/textView9"
58 + android:layout_width="match_parent"
59 + android:layout_height="wrap_content"
60 + android:layout_margin="10dp"
61 + android:text="성별 *"
62 + android:textColor="#29ABE2"
63 + android:textSize="13dp" />
64 +
65 + <LinearLayout
66 + android:layout_width="match_parent"
67 + android:layout_height="wrap_content"
68 + android:orientation="horizontal">
69 +
70 + <ToggleButton
71 + android:id="@+id/womanButton"
72 + android:layout_width="wrap_content"
73 + android:layout_height="wrap_content"
74 + android:layout_margin="10dp"
75 + android:layout_weight="1"
76 + android:background="@drawable/button_selector"
77 + android:textOff="여성"
78 + android:textOn="여성" />
79 +
80 + <ToggleButton
81 + android:id="@+id/manButton"
82 + android:layout_width="wrap_content"
83 + android:layout_height="wrap_content"
84 + android:layout_margin="10dp"
85 + android:layout_weight="1"
86 + android:background="@drawable/button_selector"
87 + android:textOff="남성"
88 + android:textOn="남성" />
89 + </LinearLayout>
90 +</LinearLayout>
...\ No newline at end of file ...\ No newline at end of file
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
4 <color name="colorPrimaryDark">#00574B</color> 4 <color name="colorPrimaryDark">#00574B</color>
5 <color name="colorAccent">#D81B60</color> 5 <color name="colorAccent">#D81B60</color>
6 6
7 + <color name="splashfilling">#FFFFFF</color>
8 +
9 + <color name="cursorColor">#000000</color>
10 + <color name="nomalColor">#29ABE2</color>
11 +
7 <drawable name="profil_selected">#1E90FF</drawable> 12 <drawable name="profil_selected">#1E90FF</drawable>
8 <drawable name="profil_unselected">#FFFFFF</drawable> 13 <drawable name="profil_unselected">#FFFFFF</drawable>
9 14
......
...@@ -11,8 +11,15 @@ ...@@ -11,8 +11,15 @@
11 </style> 11 </style>
12 12
13 <!-- Splash screen --> 13 <!-- Splash screen -->
14 +
14 <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"> 15 <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
15 <item name="android:windowBackground">@drawable/background_splash</item> 16 <item name="android:windowBackground">@drawable/background_splash</item>
16 </style> 17 </style>
17 18
19 + <style name="EditTheme" >
20 + <!--위에 에딧템 뒤에 parent="Theme.AppCompat.Light.NoActionBar"-->
21 + <item name="colorAccent">#29ABE2</item>
22 + <item name="android:colorControlNormal">#29ABE2</item>
23 + </style>
24 +
18 </resources> 25 </resources>
......