신기성

track commit

Showing 36 changed files with 1114 additions and 1050 deletions
......@@ -9,7 +9,8 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/NoActionBar">
<activity android:name=".InputProfilFifthFourActivity"></activity>
<activity android:name=".ChildAdapter"></activity>
<activity android:name=".InputProfilFifthFourActivity" />
<activity android:name=".InputProfilFifthThreeActivity" />
<activity android:name=".InputProfilFifthTwoActivity" />
<activity android:name=".InputProfilFifthOneActivity" />
......@@ -42,7 +43,9 @@
<activity android:name=".SignInActivity" />
<activity android:name=".SignUpActivity" />
<activity android:name=".MainActivity" />
<activity android:name=".SearchActivity" android:windowSoftInputMode="adjustNothing"/>
<activity
android:name=".SearchActivity"
android:windowSoftInputMode="adjustNothing" />
<activity
android:name=".SplashActivity"
android:theme="@style/SplashTheme">
......
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.item_bs.view.*
class BSAdapter(private val items: ArrayList<BSItem>) :
RecyclerView.Adapter<BSAdapter.ViewHolder>() {
override fun getItemCount() = items.size
override fun onBindViewHolder(holder: BSAdapter.ViewHolder, position: Int) {
val item = items[position]
holder.apply {
bind(item)
itemView.tag = item
}
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
BSAdapter.ViewHolder {
val inflatedView = LayoutInflater.from(parent.context)
.inflate(R.layout.item_bs, parent, false)
return BSAdapter.ViewHolder(inflatedView)
}
class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
private var view: View = v
fun bind(item: BSItem) {
view.circleformButton.text=item.numOfBS.toString()
view.bsTextView.text=" 형제자매 "+item.numOfBS.toString()
view.womanButton.setOnClickListener {
if(view.manButton.isChecked){
view.manButton.isChecked=false
}else{
}
}
view.manButton.setOnClickListener {
if(view.womanButton.isChecked){
view.womanButton.isChecked=false
}else{
}
}
}
}
}
\ No newline at end of file
package com.example.vip
class BSItem(val numOfBS: Int)
\ No newline at end of file
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.item_child.view.*
import kotlinx.android.synthetic.main.item_policyfield.view.*
class ChildAdapter(private val items: ArrayList<ChildItem>) :
RecyclerView.Adapter<ChildAdapter.ViewHolder>() {
override fun getItemCount() = items.size
override fun onBindViewHolder(holder: ChildAdapter.ViewHolder, position: Int) {
val item = items[position]
holder.apply {
bind(item)
itemView.tag = item
}
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
ChildAdapter.ViewHolder {
val inflatedView = LayoutInflater.from(parent.context)
.inflate(R.layout.item_child, parent, false)
return ChildAdapter.ViewHolder(inflatedView)
}
class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
private var view: View = v
fun bind(item: ChildItem) {
view.circleformButton.text=item.numOfChild.toString()
view.childTextView.text=" 자녀 "+item.numOfChild.toString()
view.womanButton.setOnClickListener {
if(view.manButton.isChecked){
view.manButton.isChecked=false
}else{
}
}
view.manButton.setOnClickListener {
if(view.womanButton.isChecked){
view.womanButton.isChecked=false
}else{
}
}
}
}
}
\ No newline at end of file
package com.example.vip
class ChildItem(val numOfChild: Int)
\ No newline at end of file
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import android.graphics.Color
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
......@@ -28,7 +30,17 @@ class InputProfilFirstFiveActivity : AppCompatActivity() {
startActivity(intent)
}
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
nextButton.setOnClickListener {
if(inmanButton.isChecked){
editor.putInt("c1_2",1); editor.commit()
}else if(outmanButton.isChecked){
editor.putInt("c1_3",1); editor.commit()
}else{
}
var intent = Intent(this, InputProfilFirstSixActivity::class.java)
startActivity(intent)
}
......
......@@ -3,8 +3,12 @@ package com.example.vip
import android.content.Intent
import android.content.Context
import android.content.SharedPreferences
import android.icu.lang.UCharacter.GraphemeClusterBreak.T
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import android.widget.AdapterView
import android.widget.ArrayAdapter
import android.widget.EditText
import kotlinx.android.synthetic.main.activity_input_profil_first_four.*
import kotlinx.android.synthetic.main.activity_input_profil_first_four.nextButton
......@@ -22,43 +26,364 @@ class InputProfilFirstFourActivity : AppCompatActivity() {
startActivity(intent)
}
val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
nextButton.setOnClickListener {
var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
startActivity(intent)
val doadapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, listOf("서울특별시", "부산광역시", "대구광역시", "인천광역시","광주광역시","대전광역시","울산광역시","세종특별자치시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도"))
doadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
doSpinner.adapter = doadapter
/*
var birthdateinput=findViewById<EditText>(R.id.editText).text.toString().toInt()
if ((2019-birthdateinput)<19){
editor.putInt("c1_2",1)
editor.commit()
//마지막장에 상관없음 추가
}
else if((2019-birthdateinput)<34){
editor.putInt("c1_3",1)
editor.commit()
}
else if((2019-birthdateinput)<40){
editor.putInt("c1_4",1)
editor.commit()
doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener {
override fun onNothingSelected(parent: AdapterView<*>?) {
}
else if((2019-birthdateinput)<49){
editor.putInt("c1_5",1)
editor.commit()
override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
// either one will work as well
// val item = parent.getItemAtPosition(position) as String
//val item = adapter.getItem(position)
if(doSpinner.selectedItem.toString()=="서울특별시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("종로구","중구","용산구","성동구","광진구","동대문구","중랑구","성북구","강북구","도봉구","노원구","은평구","서대문구","마포구","양천구","강서구","구로구","금천구","영등포구","동작구","관악구","서초구","강남구","송파구","강동구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="부산광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강서구","금정구","기장군","남구","동구","동래구","부산진구","북구","사상구","사하구","서구","수영구","연제구","영도구","중구","해운대구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="대구광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("남구","달서구","달성군","동구","북구","서구","수성구","중구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="인천광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강화군","계양구","남구","남동구","동구","부평구","서구","연수구","옹진군","중구","미추홀구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="광주광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("광산구","남구","동구","북구","서구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="대전광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("대덕구","동구","서구","유성구","중구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="울산광역시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("남구","동구","북구","울주군","중구"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="세종특별자치시"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("해당 없음"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="경기도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("가평군","고양시","과천시","광명시","광주시","구리시","군포시","김포시","남양주시","동두천시","부천시","성남시","수원시","시흥시","안산시","안성시","안양시","양주시","양평군","여주시","연천군","오산시","용인시","의왕시","의정부시","이천시","파주시","평택시","포천시","하남시","화성시"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="강원도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강릉시","고성군","동해시","삼척시","속초시","양구군","양양군","영월군","원주시","인제군","정선군","철원군","춘천시","태백시","평창군","홍천군","화천군","횡성군"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="충청북도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("괴산군","단양군","보은군","영동군","옥천군","음성군","제천시","증평군","진천군","청주시","충주시"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="충청남도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("계룡시","공주시","금산군","논산시","당진시","보령시","부여군","서산시","서천군","아산시","예산군","천안시","청양군","태안군","홍성군"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="전라북도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("고창군","군산시","김제시","남원시","무주군","부안군","순창군","완주군","익산시","임실군","장수군","전주시","정읍시","진안군"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="전라남도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("강진군","고흥군","곡성군","광양시","구례군","나주시","담양군","목포시","무안군","보성군","순천시","신안군","여수시","영광군","영암군","완도군","장성군","장흥군","진도군","함평군","해남군","화순군"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="경상북도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("경산시","경주시","고령군","구미시","군위군","김천시","문경시","봉화군","상주시","성주군","안동시","영덕군","영양군","영주시","영천시","예천군","울릉군","울진군","의성군","청도군","청송군","칠곡군","포항시"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else if(doSpinner.selectedItem.toString()=="경상남도"){
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("거제시","거창군","고성군","김해시","남해군","밀양시","사천시","산청군","양산시","의령군","진주시","창년군","창원시","통영시","하동군","함안군","함양군","합천군"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}else {
var gooadapter = ArrayAdapter(this@InputProfilFirstFourActivity, android.R.layout.simple_spinner_item, listOf("서귀포시","제주시"))
gooadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
gooSpinner.adapter = gooadapter
}
else if((2019-birthdateinput)<59){
editor.putInt("c1_6",1)
editor.commit()
}
else{
editor.putInt("c1_7",1)
editor.commit()
}
*/
}
val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
nextButton.setOnClickListener {
if(doSpinner.selectedItem.toString()=="서울특별시"){ editor.putInt("c11_2",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="부산광역시"){ editor.putInt("c11_3",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="대구광역시"){ editor.putInt("c11_4",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="인천광역시"){ editor.putInt("c11_5",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="광주광역시"){ editor.putInt("c11_6",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="대전광역시"){ editor.putInt("c11_7",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="울산광역시"){ editor.putInt("c11_8",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="세종특별자치시"){ editor.putInt("c11_9",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="경기도"){ editor.putInt("c11_10",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="강원도"){ editor.putInt("c11_11",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="충청북도"){ editor.putInt("c11_12",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="충청남도"){ editor.putInt("c11_13",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="전라북도"){ editor.putInt("c11_14",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="전라남도"){ editor.putInt("c11_15",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="경상북도"){ editor.putInt("c11_16",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="경상남도"){ editor.putInt("c11_17",1); editor.commit()}
if(doSpinner.selectedItem.toString()=="제주특별자치도"){ editor.putInt("c11_18",1); editor.commit()}
if(gooSpinner.selectedItem=="종로구"){editor.putInt("c12_100",1); editor.commit()}
if(gooSpinner.selectedItem=="중구"){editor.putInt("c12_101",1); editor.commit()}
if(gooSpinner.selectedItem=="용산구"){editor.putInt("c12_102",1); editor.commit()}
if(gooSpinner.selectedItem=="성동구"){editor.putInt("c12_103",1); editor.commit()}
if(gooSpinner.selectedItem=="광진구"){editor.putInt("c12_104",1); editor.commit()}
if(gooSpinner.selectedItem=="동대문구"){editor.putInt("c12_105",1); editor.commit()}
if(gooSpinner.selectedItem=="중랑구"){editor.putInt("c12_106",1); editor.commit()}
if(gooSpinner.selectedItem=="성북구"){editor.putInt("c12_107",1); editor.commit()}
if(gooSpinner.selectedItem=="강북구"){editor.putInt("c12_108",1); editor.commit()}
if(gooSpinner.selectedItem=="도봉구"){editor.putInt("c12_109",1); editor.commit()}
if(gooSpinner.selectedItem=="노원구"){editor.putInt("c12_110",1); editor.commit()}
if(gooSpinner.selectedItem=="은평구"){editor.putInt("c12_111",1); editor.commit()}
if(gooSpinner.selectedItem=="서대문구"){editor.putInt("c12_112",1); editor.commit()}
if(gooSpinner.selectedItem=="마포구"){editor.putInt("c12_113",1); editor.commit()}
if(gooSpinner.selectedItem=="양천구"){editor.putInt("c12_114",1); editor.commit()}
if(gooSpinner.selectedItem=="강서구"){editor.putInt("c12_115",1); editor.commit()}
if(gooSpinner.selectedItem=="구로구"){editor.putInt("c12_116",1); editor.commit()}
if(gooSpinner.selectedItem=="금천구"){editor.putInt("c12_117",1); editor.commit()}
if(gooSpinner.selectedItem=="영등포구"){editor.putInt("c12_118",1); editor.commit()}
if(gooSpinner.selectedItem=="동작구"){editor.putInt("c12_119",1); editor.commit()}
if(gooSpinner.selectedItem=="관악구"){editor.putInt("c12_120",1); editor.commit()}
if(gooSpinner.selectedItem=="서초구"){editor.putInt("c12_121",1); editor.commit()}
if(gooSpinner.selectedItem=="강남구"){editor.putInt("c12_122",1); editor.commit()}
if(gooSpinner.selectedItem=="송파구"){editor.putInt("c12_123",1); editor.commit()}
if(gooSpinner.selectedItem=="강동구"){editor.putInt("c12_124",1); editor.commit()}
if(gooSpinner.selectedItem=="서구"){editor.putInt("c12_125",1); editor.commit()}
if(gooSpinner.selectedItem=="동구"){editor.putInt("c12_126",1); editor.commit()}
if(gooSpinner.selectedItem=="영도구"){editor.putInt("c12_127",1); editor.commit()}
if(gooSpinner.selectedItem=="부산진구"){editor.putInt("c12_128",1); editor.commit()}
if(gooSpinner.selectedItem=="동래구"){editor.putInt("c12_129",1); editor.commit()}
if(gooSpinner.selectedItem=="남구"){editor.putInt("c12_130",1); editor.commit()}
if(gooSpinner.selectedItem=="북구"){editor.putInt("c12_131",1); editor.commit()}
if(gooSpinner.selectedItem=="해운대구"){editor.putInt("c12_132",1); editor.commit()}
if(gooSpinner.selectedItem=="사하구"){editor.putInt("c12_133",1); editor.commit()}
if(gooSpinner.selectedItem=="금정구"){editor.putInt("c12_134",1); editor.commit()}
if(gooSpinner.selectedItem=="연제구"){editor.putInt("c12_135",1); editor.commit()}
if(gooSpinner.selectedItem=="수영구"){editor.putInt("c12_136",1); editor.commit()}
if(gooSpinner.selectedItem=="사상구"){editor.putInt("c12_137",1); editor.commit()}
if(gooSpinner.selectedItem=="기장군"){editor.putInt("c12_138",1); editor.commit()}
if(gooSpinner.selectedItem=="수성구"){editor.putInt("c12_139",1); editor.commit()}
if(gooSpinner.selectedItem=="달서구"){editor.putInt("c12_140",1); editor.commit()}
if(gooSpinner.selectedItem=="달성군"){editor.putInt("c12_141",1); editor.commit()}
if(gooSpinner.selectedItem=="중구영종출장소"){editor.putInt("c12_142",1); editor.commit()}
if(gooSpinner.selectedItem=="중구용유출장소"){editor.putInt("c12_143",1); editor.commit()}
if(gooSpinner.selectedItem=="미추홀구"){editor.putInt("c12_144",1); editor.commit()}
if(gooSpinner.selectedItem=="연수구"){editor.putInt("c12_145",1); editor.commit()}
if(gooSpinner.selectedItem=="남동구"){editor.putInt("c12_146",1); editor.commit()}
if(gooSpinner.selectedItem=="부평구"){editor.putInt("c12_147",1); editor.commit()}
if(gooSpinner.selectedItem=="계양구"){editor.putInt("c12_148",1); editor.commit()}
if(gooSpinner.selectedItem=="서구검단출장"){editor.putInt("c12_149",1); editor.commit()}
if(gooSpinner.selectedItem=="강화군"){editor.putInt("c12_150",1); editor.commit()}
if(gooSpinner.selectedItem=="옹진군"){editor.putInt("c12_151",1); editor.commit()}
if(gooSpinner.selectedItem=="광산구"){editor.putInt("c12_152",1); editor.commit()}
if(gooSpinner.selectedItem=="유성구"){editor.putInt("c12_153",1); editor.commit()}
if(gooSpinner.selectedItem=="대덕구"){editor.putInt("c12_154",1); editor.commit()}
if(gooSpinner.selectedItem=="울주군"){editor.putInt("c12_155",1); editor.commit()}
if(gooSpinner.selectedItem=="수원시"){editor.putInt("c12_156",1); editor.commit()}
if(gooSpinner.selectedItem=="수원시 장안구"){editor.putInt("c12_157",1); editor.commit()}
if(gooSpinner.selectedItem=="수원시 권선구"){editor.putInt("c12_158",1); editor.commit()}
if(gooSpinner.selectedItem=="수원시 팔달구"){editor.putInt("c12_159",1); editor.commit()}
if(gooSpinner.selectedItem=="수원시 영통구"){editor.putInt("c12_160",1); editor.commit()}
if(gooSpinner.selectedItem=="성남시"){editor.putInt("c12_161",1); editor.commit()}
if(gooSpinner.selectedItem=="성남시 수정구"){editor.putInt("c12_162",1); editor.commit()}
if(gooSpinner.selectedItem=="성남시 중원구"){editor.putInt("c12_163",1); editor.commit()}
if(gooSpinner.selectedItem=="성남시 분당구"){editor.putInt("c12_164",1); editor.commit()}
if(gooSpinner.selectedItem=="의정부시"){editor.putInt("c12_165",1); editor.commit()}
if(gooSpinner.selectedItem=="안양시"){editor.putInt("c12_166",1); editor.commit()}
if(gooSpinner.selectedItem=="안양시 만안구"){editor.putInt("c12_167",1); editor.commit()}
if(gooSpinner.selectedItem=="안양시 동안구"){editor.putInt("c12_168",1); editor.commit()}
if(gooSpinner.selectedItem=="부천시"){editor.putInt("c12_169",1); editor.commit()}
if(gooSpinner.selectedItem=="광명시"){editor.putInt("c12_170",1); editor.commit()}
if(gooSpinner.selectedItem=="평택시"){editor.putInt("c12_171",1); editor.commit()}
if(gooSpinner.selectedItem=="송탄출장소"){editor.putInt("c12_172",1); editor.commit()}
if(gooSpinner.selectedItem=="안중출장소"){editor.putInt("c12_173",1); editor.commit()}
if(gooSpinner.selectedItem=="동두천시"){editor.putInt("c12_174",1); editor.commit()}
if(gooSpinner.selectedItem=="안산시"){editor.putInt("c12_175",1); editor.commit()}
if(gooSpinner.selectedItem=="안산시 상록구"){editor.putInt("c12_176",1); editor.commit()}
if(gooSpinner.selectedItem=="안산시 단원구"){editor.putInt("c12_177",1); editor.commit()}
if(gooSpinner.selectedItem=="고양시"){editor.putInt("c12_178",1); editor.commit()}
if(gooSpinner.selectedItem=="고양시 덕양구"){editor.putInt("c12_179",1); editor.commit()}
if(gooSpinner.selectedItem=="고양시 일산동구"){editor.putInt("c12_180",1); editor.commit()}
if(gooSpinner.selectedItem=="고양시 일산서구"){editor.putInt("c12_181",1); editor.commit()}
if(gooSpinner.selectedItem=="과천시"){editor.putInt("c12_182",1); editor.commit()}
if(gooSpinner.selectedItem=="구리시"){editor.putInt("c12_183",1); editor.commit()}
if(gooSpinner.selectedItem=="남양주시"){editor.putInt("c12_184",1); editor.commit()}
if(gooSpinner.selectedItem=="풍양출장소"){editor.putInt("c12_185",1); editor.commit()}
if(gooSpinner.selectedItem=="오산시"){editor.putInt("c12_186",1); editor.commit()}
if(gooSpinner.selectedItem=="시흥시"){editor.putInt("c12_187",1); editor.commit()}
if(gooSpinner.selectedItem=="군포시"){editor.putInt("c12_188",1); editor.commit()}
if(gooSpinner.selectedItem=="의왕시"){editor.putInt("c12_189",1); editor.commit()}
if(gooSpinner.selectedItem=="하남시"){editor.putInt("c12_190",1); editor.commit()}
if(gooSpinner.selectedItem=="용인시"){editor.putInt("c12_191",1); editor.commit()}
if(gooSpinner.selectedItem=="용인시 처인구"){editor.putInt("c12_192",1); editor.commit()}
if(gooSpinner.selectedItem=="용인시 기흥구"){editor.putInt("c12_193",1); editor.commit()}
if(gooSpinner.selectedItem=="용인시 수지구"){editor.putInt("c12_194",1); editor.commit()}
if(gooSpinner.selectedItem=="파주시"){editor.putInt("c12_195",1); editor.commit()}
if(gooSpinner.selectedItem=="이천시"){editor.putInt("c12_196",1); editor.commit()}
if(gooSpinner.selectedItem=="안성시"){editor.putInt("c12_197",1); editor.commit()}
if(gooSpinner.selectedItem=="김포시"){editor.putInt("c12_198",1); editor.commit()}
if(gooSpinner.selectedItem=="화성시"){editor.putInt("c12_199",1); editor.commit()}
if(gooSpinner.selectedItem=="화성시동부출장소"){editor.putInt("c12_200",1); editor.commit()}
if(gooSpinner.selectedItem=="화성시동탄출장소"){editor.putInt("c12_201",1); editor.commit()}
if(gooSpinner.selectedItem=="광주시"){editor.putInt("c12_202",1); editor.commit()}
if(gooSpinner.selectedItem=="양주시"){editor.putInt("c12_203",1); editor.commit()}
if(gooSpinner.selectedItem=="포천시"){editor.putInt("c12_204",1); editor.commit()}
if(gooSpinner.selectedItem=="여주시"){editor.putInt("c12_205",1); editor.commit()}
if(gooSpinner.selectedItem=="연천군"){editor.putInt("c12_206",1); editor.commit()}
if(gooSpinner.selectedItem=="가평군"){editor.putInt("c12_207",1); editor.commit()}
if(gooSpinner.selectedItem=="양평군"){editor.putInt("c12_208",1); editor.commit()}
if(gooSpinner.selectedItem=="춘천시"){editor.putInt("c12_209",1); editor.commit()}
if(gooSpinner.selectedItem=="원주시"){editor.putInt("c12_210",1); editor.commit()}
if(gooSpinner.selectedItem=="강릉시"){editor.putInt("c12_211",1); editor.commit()}
if(gooSpinner.selectedItem=="동해시"){editor.putInt("c12_212",1); editor.commit()}
if(gooSpinner.selectedItem=="태백시"){editor.putInt("c12_213",1); editor.commit()}
if(gooSpinner.selectedItem=="속초시"){editor.putInt("c12_214",1); editor.commit()}
if(gooSpinner.selectedItem=="삼척시"){editor.putInt("c12_215",1); editor.commit()}
if(gooSpinner.selectedItem=="홍천군"){editor.putInt("c12_216",1); editor.commit()}
if(gooSpinner.selectedItem=="횡성군"){editor.putInt("c12_217",1); editor.commit()}
if(gooSpinner.selectedItem=="영월군"){editor.putInt("c12_218",1); editor.commit()}
if(gooSpinner.selectedItem=="평창군"){editor.putInt("c12_219",1); editor.commit()}
if(gooSpinner.selectedItem=="정선군"){editor.putInt("c12_220",1); editor.commit()}
if(gooSpinner.selectedItem=="철원군"){editor.putInt("c12_221",1); editor.commit()}
if(gooSpinner.selectedItem=="화천군"){editor.putInt("c12_222",1); editor.commit()}
if(gooSpinner.selectedItem=="양구군"){editor.putInt("c12_223",1); editor.commit()}
if(gooSpinner.selectedItem=="인제군"){editor.putInt("c12_224",1); editor.commit()}
if(gooSpinner.selectedItem=="고성군"){editor.putInt("c12_225",1); editor.commit()}
if(gooSpinner.selectedItem=="양양군"){editor.putInt("c12_226",1); editor.commit()}
if(gooSpinner.selectedItem=="청주시"){editor.putInt("c12_227",1); editor.commit()}
if(gooSpinner.selectedItem=="청주시 상당구"){editor.putInt("c12_228",1); editor.commit()}
if(gooSpinner.selectedItem=="청주시 서원구"){editor.putInt("c12_229",1); editor.commit()}
if(gooSpinner.selectedItem=="청주시 흥덕구"){editor.putInt("c12_230",1); editor.commit()}
if(gooSpinner.selectedItem=="청주시 청원구"){editor.putInt("c12_231",1); editor.commit()}
if(gooSpinner.selectedItem=="충주시"){editor.putInt("c12_232",1); editor.commit()}
if(gooSpinner.selectedItem=="제천시"){editor.putInt("c12_233",1); editor.commit()}
if(gooSpinner.selectedItem=="보은군"){editor.putInt("c12_234",1); editor.commit()}
if(gooSpinner.selectedItem=="옥천군"){editor.putInt("c12_235",1); editor.commit()}
if(gooSpinner.selectedItem=="영동군"){editor.putInt("c12_236",1); editor.commit()}
if(gooSpinner.selectedItem=="증평군"){editor.putInt("c12_237",1); editor.commit()}
if(gooSpinner.selectedItem=="진천군"){editor.putInt("c12_238",1); editor.commit()}
if(gooSpinner.selectedItem=="괴산군"){editor.putInt("c12_239",1); editor.commit()}
if(gooSpinner.selectedItem=="음성군"){editor.putInt("c12_240",1); editor.commit()}
if(gooSpinner.selectedItem=="단양군"){editor.putInt("c12_241",1); editor.commit()}
if(gooSpinner.selectedItem=="천안시"){editor.putInt("c12_242",1); editor.commit()}
if(gooSpinner.selectedItem=="천안시 동남구"){editor.putInt("c12_243",1); editor.commit()}
if(gooSpinner.selectedItem=="천안시 서북구"){editor.putInt("c12_244",1); editor.commit()}
if(gooSpinner.selectedItem=="공주시"){editor.putInt("c12_245",1); editor.commit()}
if(gooSpinner.selectedItem=="보령시"){editor.putInt("c12_246",1); editor.commit()}
if(gooSpinner.selectedItem=="아산시"){editor.putInt("c12_247",1); editor.commit()}
if(gooSpinner.selectedItem=="서산시"){editor.putInt("c12_248",1); editor.commit()}
if(gooSpinner.selectedItem=="논산시"){editor.putInt("c12_249",1); editor.commit()}
if(gooSpinner.selectedItem=="계룡시"){editor.putInt("c12_250",1); editor.commit()}
if(gooSpinner.selectedItem=="당진시"){editor.putInt("c12_251",1); editor.commit()}
if(gooSpinner.selectedItem=="금산군"){editor.putInt("c12_252",1); editor.commit()}
if(gooSpinner.selectedItem=="부여군"){editor.putInt("c12_253",1); editor.commit()}
if(gooSpinner.selectedItem=="서천군"){editor.putInt("c12_254",1); editor.commit()}
if(gooSpinner.selectedItem=="청양군"){editor.putInt("c12_255",1); editor.commit()}
if(gooSpinner.selectedItem=="홍성군"){editor.putInt("c12_256",1); editor.commit()}
if(gooSpinner.selectedItem=="예산군"){editor.putInt("c12_257",1); editor.commit()}
if(gooSpinner.selectedItem=="태안군"){editor.putInt("c12_258",1); editor.commit()}
if(gooSpinner.selectedItem=="전주시"){editor.putInt("c12_259",1); editor.commit()}
if(gooSpinner.selectedItem=="전주시 완산구"){editor.putInt("c12_260",1); editor.commit()}
if(gooSpinner.selectedItem=="전주시 덕진구"){editor.putInt("c12_261",1); editor.commit()}
if(gooSpinner.selectedItem=="전주시효자출"){editor.putInt("c12_262",1); editor.commit()}
if(gooSpinner.selectedItem=="군산시"){editor.putInt("c12_263",1); editor.commit()}
if(gooSpinner.selectedItem=="익산시"){editor.putInt("c12_264",1); editor.commit()}
if(gooSpinner.selectedItem=="익산시함열출"){editor.putInt("c12_265",1); editor.commit()}
if(gooSpinner.selectedItem=="정읍시"){editor.putInt("c12_266",1); editor.commit()}
if(gooSpinner.selectedItem=="남원시"){editor.putInt("c12_267",1); editor.commit()}
if(gooSpinner.selectedItem=="김제시"){editor.putInt("c12_268",1); editor.commit()}
if(gooSpinner.selectedItem=="완주군"){editor.putInt("c12_269",1); editor.commit()}
if(gooSpinner.selectedItem=="진안군"){editor.putInt("c12_270",1); editor.commit()}
if(gooSpinner.selectedItem=="무주군"){editor.putInt("c12_271",1); editor.commit()}
if(gooSpinner.selectedItem=="장수군"){editor.putInt("c12_272",1); editor.commit()}
if(gooSpinner.selectedItem=="임실군"){editor.putInt("c12_273",1); editor.commit()}
if(gooSpinner.selectedItem=="순창군"){editor.putInt("c12_274",1); editor.commit()}
if(gooSpinner.selectedItem=="고창군"){editor.putInt("c12_275",1); editor.commit()}
if(gooSpinner.selectedItem=="부안군"){editor.putInt("c12_276",1); editor.commit()}
if(gooSpinner.selectedItem=="목포시"){editor.putInt("c12_277",1); editor.commit()}
if(gooSpinner.selectedItem=="여수시"){editor.putInt("c12_278",1); editor.commit()}
if(gooSpinner.selectedItem=="순천시"){editor.putInt("c12_279",1); editor.commit()}
if(gooSpinner.selectedItem=="나주시"){editor.putInt("c12_280",1); editor.commit()}
if(gooSpinner.selectedItem=="광양시"){editor.putInt("c12_281",1); editor.commit()}
if(gooSpinner.selectedItem=="담양군"){editor.putInt("c12_282",1); editor.commit()}
if(gooSpinner.selectedItem=="곡성군"){editor.putInt("c12_283",1); editor.commit()}
if(gooSpinner.selectedItem=="구례군"){editor.putInt("c12_284",1); editor.commit()}
if(gooSpinner.selectedItem=="고흥군"){editor.putInt("c12_285",1); editor.commit()}
if(gooSpinner.selectedItem=="보성군"){editor.putInt("c12_286",1); editor.commit()}
if(gooSpinner.selectedItem=="화순군"){editor.putInt("c12_287",1); editor.commit()}
if(gooSpinner.selectedItem=="장흥군"){editor.putInt("c12_288",1); editor.commit()}
if(gooSpinner.selectedItem=="강진군"){editor.putInt("c12_289",1); editor.commit()}
if(gooSpinner.selectedItem=="해남군"){editor.putInt("c12_290",1); editor.commit()}
if(gooSpinner.selectedItem=="영암군"){editor.putInt("c12_291",1); editor.commit()}
if(gooSpinner.selectedItem=="무안군"){editor.putInt("c12_292",1); editor.commit()}
if(gooSpinner.selectedItem=="함평군"){editor.putInt("c12_293",1); editor.commit()}
if(gooSpinner.selectedItem=="영광군"){editor.putInt("c12_294",1); editor.commit()}
if(gooSpinner.selectedItem=="장성군"){editor.putInt("c12_295",1); editor.commit()}
if(gooSpinner.selectedItem=="완도군"){editor.putInt("c12_296",1); editor.commit()}
if(gooSpinner.selectedItem=="진도군"){editor.putInt("c12_297",1); editor.commit()}
if(gooSpinner.selectedItem=="신안군"){editor.putInt("c12_298",1); editor.commit()}
if(gooSpinner.selectedItem=="포항시"){editor.putInt("c12_299",1); editor.commit()}
if(gooSpinner.selectedItem=="포항시 남구"){editor.putInt("c12_300",1); editor.commit()}
if(gooSpinner.selectedItem=="포항시 북구"){editor.putInt("c12_301",1); editor.commit()}
if(gooSpinner.selectedItem=="경주시"){editor.putInt("c12_302",1); editor.commit()}
if(gooSpinner.selectedItem=="김천시"){editor.putInt("c12_303",1); editor.commit()}
if(gooSpinner.selectedItem=="안동시"){editor.putInt("c12_304",1); editor.commit()}
if(gooSpinner.selectedItem=="구미시"){editor.putInt("c12_305",1); editor.commit()}
if(gooSpinner.selectedItem=="영주시"){editor.putInt("c12_306",1); editor.commit()}
if(gooSpinner.selectedItem=="영천시"){editor.putInt("c12_307",1); editor.commit()}
if(gooSpinner.selectedItem=="상주시"){editor.putInt("c12_308",1); editor.commit()}
if(gooSpinner.selectedItem=="문경시"){editor.putInt("c12_309",1); editor.commit()}
if(gooSpinner.selectedItem=="경산시"){editor.putInt("c12_310",1); editor.commit()}
if(gooSpinner.selectedItem=="군위군"){editor.putInt("c12_311",1); editor.commit()}
if(gooSpinner.selectedItem=="의성군"){editor.putInt("c12_312",1); editor.commit()}
if(gooSpinner.selectedItem=="청송군"){editor.putInt("c12_313",1); editor.commit()}
if(gooSpinner.selectedItem=="영양군"){editor.putInt("c12_314",1); editor.commit()}
if(gooSpinner.selectedItem=="영덕군"){editor.putInt("c12_315",1); editor.commit()}
if(gooSpinner.selectedItem=="청도군"){editor.putInt("c12_316",1); editor.commit()}
if(gooSpinner.selectedItem=="고령군"){editor.putInt("c12_317",1); editor.commit()}
if(gooSpinner.selectedItem=="성주군"){editor.putInt("c12_318",1); editor.commit()}
if(gooSpinner.selectedItem=="칠곡군"){editor.putInt("c12_319",1); editor.commit()}
if(gooSpinner.selectedItem=="예천군"){editor.putInt("c12_320",1); editor.commit()}
if(gooSpinner.selectedItem=="봉화군"){editor.putInt("c12_321",1); editor.commit()}
if(gooSpinner.selectedItem=="울진군"){editor.putInt("c12_322",1); editor.commit()}
if(gooSpinner.selectedItem=="울릉군"){editor.putInt("c12_323",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시"){editor.putInt("c12_324",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시 의창구"){editor.putInt("c12_325",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시 성산구"){editor.putInt("c12_326",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시 마산합포구"){editor.putInt("c12_327",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시 마산회원구"){editor.putInt("c12_328",1); editor.commit()}
if(gooSpinner.selectedItem=="창원시 진해구"){editor.putInt("c12_329",1); editor.commit()}
if(gooSpinner.selectedItem=="진주시"){editor.putInt("c12_330",1); editor.commit()}
if(gooSpinner.selectedItem=="통영시"){editor.putInt("c12_331",1); editor.commit()}
if(gooSpinner.selectedItem=="사천시"){editor.putInt("c12_332",1); editor.commit()}
if(gooSpinner.selectedItem=="사천남양출장"){editor.putInt("c12_333",1); editor.commit()}
if(gooSpinner.selectedItem=="김해시"){editor.putInt("c12_334",1); editor.commit()}
if(gooSpinner.selectedItem=="장유출장소"){editor.putInt("c12_335",1); editor.commit()}
if(gooSpinner.selectedItem=="밀양시"){editor.putInt("c12_336",1); editor.commit()}
if(gooSpinner.selectedItem=="거제시"){editor.putInt("c12_337",1); editor.commit()}
if(gooSpinner.selectedItem=="양산시"){editor.putInt("c12_338",1); editor.commit()}
if(gooSpinner.selectedItem=="양산시웅상출장소"){editor.putInt("c12_339",1); editor.commit()}
if(gooSpinner.selectedItem=="의령군"){editor.putInt("c12_340",1); editor.commit()}
if(gooSpinner.selectedItem=="함안군"){editor.putInt("c12_341",1); editor.commit()}
if(gooSpinner.selectedItem=="창녕군"){editor.putInt("c12_342",1); editor.commit()}
if(gooSpinner.selectedItem=="남해군"){editor.putInt("c12_343",1); editor.commit()}
if(gooSpinner.selectedItem=="하동군"){editor.putInt("c12_344",1); editor.commit()}
if(gooSpinner.selectedItem=="산청군"){editor.putInt("c12_345",1); editor.commit()}
if(gooSpinner.selectedItem=="함양군"){editor.putInt("c12_346",1); editor.commit()}
if(gooSpinner.selectedItem=="거창군"){editor.putInt("c12_347",1); editor.commit()}
if(gooSpinner.selectedItem=="합천군"){editor.putInt("c12_348",1); editor.commit()}
if(gooSpinner.selectedItem=="제주시"){editor.putInt("c12_349",1); editor.commit()}
if(gooSpinner.selectedItem=="서귀포시"){editor.putInt("c12_350",1); editor.commit()}
var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
startActivity(intent)
}
}
}
\ No newline at end of file
......
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_input_profil_first_six.*
......@@ -16,7 +18,18 @@ class InputProfilFirstSixActivity : AppCompatActivity() {
startActivity(intent)
}
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
nextButton.setOnClickListener {
if(gagoojooButton.isChecked){
editor.putInt("c13_2",1); editor.commit()
}else if(gagoowonButton.isChecked){
editor.putInt("c13_3",1); editor.commit()
}else{
}
var intent = Intent(this, InputProfilSecondOneActivity::class.java)
startActivity(intent)
}
......
......@@ -45,12 +45,12 @@ class InputProfilFirstThreeActivity : AppCompatActivity() {
startActivity(intent)
if (manButton.isChecked){
editor.putInt("c2_1",1)
editor.putInt("c3_2",1)
editor.commit()
//마지막장에 상관없음 추가
}
else{
editor.putInt("c2_2",1)
editor.putInt("c3_3",1)
editor.commit()
}
}
......
......@@ -5,7 +5,10 @@ import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import android.widget.EditText
import android.widget.Toast
import com.google.firebase.messaging.FirebaseMessaging
import kotlinx.android.synthetic.main.activity_input_profil_first_two.*
import kotlinx.android.synthetic.main.activity_input_profil_first_two.nextButton
import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
......@@ -37,7 +40,15 @@ class InputProfilFirstTwoActivity : AppCompatActivity() {
if ((2019-birthdateint)<19){
editor.putInt("c1_2",1)
editor.commit()
Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show()
//마지막장에 상관없음 추가
FirebaseMessaging.getInstance().subscribeToTopic("c1_2")
.addOnCompleteListener { task ->
var msg = getString(R.string.msg_subscribed)
if (!task.isSuccessful) {
msg = getString(R.string.msg_subscribe_failed)
}
}
}
else if((2019-birthdateint)<34){
editor.putInt("c1_3",1)
......
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.EditText
import android.widget.RatingBar
import android.widget.TextView
......@@ -55,9 +58,39 @@ class InputProfilSecondOneActivity : AppCompatActivity() {
startActivity(intent)
}
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
nextButton.setOnClickListener {
if(baewoojaButton.isChecked){editor.putInt("c10_2",1); editor.commit()}
if(baewoojaboomoButton.isChecked){editor.putInt("c10_3",1); editor.commit()}
if(baewoojajoboomoButton.isChecked){editor.putInt("c10_4",1); editor.commit()}
if(brotherButton.isChecked){editor.putInt("c10_5",1); editor.commit()
editor.putString("with_brothersister","yes")}
if(baewoojabrotherButton.isChecked){editor.putInt("c10_6",1); editor.commit()}
if(donggeoButton.isChecked){editor.putInt("c10_7",1); editor.commit()}
if(fatherButton.isChecked){editor.putInt("c10_8",1); editor.commit()}
if(motherButton.isChecked){editor.putInt("c10_9",1); editor.commit()}
if(grandsonbaewoojaButton.isChecked){editor.putInt("c10_10",1); editor.commit()}
if(grandfatherButton.isChecked){editor.putInt("c10_11",1); editor.commit()}
if(grandmotherButton.isChecked){editor.putInt("c10_12",1); editor.commit()}
if(grandsonButton.isChecked){editor.putInt("c10_13",1); editor.commit()}
if(janyeoButton.isChecked){editor.putInt("c10_14",1); editor.commit()
editor.putString("with_child","yes")}
if(janyeobaewoojaButton.isChecked){editor.putInt("c10_15",1); editor.commit()}
if(nothingButton.isChecked){editor.putInt("c10_18",1); editor.commit()}
if(janyeoButton.isChecked
//prof.getString("with_child","none")=="yes"
){
var intent = Intent(this, InputProfilSecondTwoActivity::class.java)
startActivity(intent)
}else{
var intent = Intent(this, InputProfilThirdOneActivity::class.java)
startActivity(intent)
}
}
}
}
......
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.EditText
import kotlinx.android.synthetic.main.activity_input_profil_second_three.*
import kotlinx.android.synthetic.main.activity_input_profil_second_three.nextButton
import kotlinx.android.synthetic.main.activity_input_profil_second_three.previousButton
import kotlinx.android.synthetic.main.activity_input_profil_second_three.skipButton
import kotlinx.android.synthetic.main.activity_input_profil_second_three.toolbar
class InputProfilSecondThreeActivity : AppCompatActivity() {
......@@ -11,6 +18,10 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_input_profil_second_three)
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
setSupportActionBar(toolbar)
skipButton.setOnClickListener {
......@@ -24,8 +35,40 @@ class InputProfilSecondThreeActivity : AppCompatActivity() {
}
nextButton.setOnClickListener {
var numOfBS=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()
if(numOfBS>=2){
editor.putInt("c10_16",1); editor.commit()
}
if(numOfBS<2){
editor.putInt("c10_17",1); editor.commit()
}
var intent = Intent(this, InputProfilThirdOneActivity::class.java)
startActivity(intent)
}
val bsList = ArrayList<BSItem>()
bsNumberInputButton.setOnClickListener {
if(findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()>0){
var bsNum=findViewById<EditText>(R.id.bsNumberEditText).text.toString().toInt()
var cnt=1
while(bsNum>=cnt){
bsList.add(
BSItem(cnt)
)
cnt++
}
//Toast.makeText(this, cnt.toString(), Toast.LENGTH_SHORT).show()
}
else{
var bsNum=0
}
val adapter = BSAdapter(bsList)
bsRecyclerView.adapter = adapter
}
}
}
......
package com.example.vip
import android.content.Context
import android.content.Intent
import android.content.SharedPreferences
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View.GONE
import android.view.View.VISIBLE
import android.widget.EditText
import android.widget.Toast
import androidx.core.content.ContextCompat
import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
import kotlinx.android.synthetic.main.item_child.view.*
class InputProfilSecondTwoActivity : AppCompatActivity() {
......@@ -13,34 +19,73 @@ class InputProfilSecondTwoActivity : AppCompatActivity() {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_input_profil_second_two)
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
setSupportActionBar(toolbar)
skipButton.setOnClickListener {
var intent = Intent(this, InputProfilSecondOneActivity::class.java)
startActivity(intent)
}
previousButton.setOnClickListener {
var intent = Intent(this, InputProfilSecondOneActivity::class.java)
startActivity(intent)
}
nextButton.setOnClickListener {
var numOfChild=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
if(numOfChild>=3){
editor.putInt("c10_16",1); editor.commit()
}
if(numOfChild<3){
editor.putInt("c10_17",1); editor.commit()
}
/*
editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo birth", childRecyclerView.childBirthEditText.text.toString()); editor.commit()
if(childRecyclerView.womanButton.isChecked){
editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo gender","woman"); editor.commit()
}else{
editor.putString(childRecyclerView.circleformButton.text.toString()+"st janyeo gender","man"); editor.commit()
}
*/
if(prof.getString("with_brothersister","none")=="yes"){
var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
startActivity(intent)
}else{
var intent = Intent(this, InputProfilThirdOneActivity::class.java)
startActivity(intent)
}
}
//val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
//mainTv.text = dialogText.text.toString()
val childList = ArrayList<ChildItem>()
childNumberInputButton.setOnClickListener {
var childNum=findViewById<EditText>(R.id.childNumberEditText).text.toString()
if(childNum=="3"){
child1LinearLayout.visibility=VISIBLE
child2LinearLayout.visibility=VISIBLE
child3LinearLayout.visibility=VISIBLE
if(findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()>0){
var childNum=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
var cnt=1
while(childNum>=cnt){
childList.add(
ChildItem(cnt)
)
cnt++
}
//Toast.makeText(this, cnt.toString(), Toast.LENGTH_SHORT).show()
}
else{
var childNum=0
}
val adapter = ChildAdapter(childList)
childRecyclerView.adapter = adapter
}
}
}
......
......@@ -3,6 +3,7 @@ package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.TextView
import kotlinx.android.synthetic.main.activity_input_profil_third_one.*
......@@ -20,12 +21,71 @@ class InputProfilThirdOneActivity : AppCompatActivity() {
startActivity(intent)
}
elementaryButton.setOnClickListener {
middleButton.isChecked=false
highButton.isChecked=false
specialButton.isChecked=false
universityButton.isChecked=false
graduateButton.isChecked=false
nothingButton.isChecked=false
}
middleButton.setOnClickListener {
elementaryButton.isChecked=false
highButton.isChecked=false
specialButton.isChecked=false
universityButton.isChecked=false
graduateButton.isChecked=false
nothingButton.isChecked=false
}
highButton.setOnClickListener {
elementaryButton.isChecked=false
middleButton.isChecked=false
specialButton.isChecked=false
universityButton.isChecked=false
graduateButton.isChecked=false
nothingButton.isChecked=false
}
specialButton.setOnClickListener {
elementaryButton.isChecked=false
middleButton.isChecked=false
highButton.isChecked=false
universityButton.isChecked=false
graduateButton.isChecked=false
nothingButton.isChecked=false
}
universityButton.setOnClickListener {
elementaryButton.isChecked=false
middleButton.isChecked=false
highButton.isChecked=false
specialButton.isChecked=false
graduateButton.isChecked=false
nothingButton.isChecked=false
}
graduateButton.setOnClickListener {
elementaryButton.isChecked=false
middleButton.isChecked=false
highButton.isChecked=false
specialButton.isChecked=false
universityButton.isChecked=false
nothingButton.isChecked=false
}
nothingButton.setOnClickListener {
elementaryButton.isChecked=false
middleButton.isChecked=false
highButton.isChecked=false
specialButton.isChecked=false
universityButton.isChecked=false
graduateButton.isChecked=false
}
previousButton.setOnClickListener {
var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
startActivity(intent)
}
nextButton.setOnClickListener {
var intent = Intent(this, InputProfilThirdTwoActivity::class.java)
startActivity(intent)
}
......
......@@ -26,6 +26,9 @@ class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
//onboarding start
//onboarding end
......
......@@ -98,7 +98,6 @@ class RecommendActivity : AppCompatActivity() {
)
)
}
val adapter = PolicyAdapter(policyList)
policyRecyclerView.adapter = adapter
}
......
......@@ -14,6 +14,8 @@ class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() {
val Image = arrayOf(
R.drawable.hwajilgooji1,
R.drawable.hwajilgooji2,
R.drawable.hwajilgooji3,
R.drawable.hwajilgooji3,
R.drawable.hwajilgooji3
)
......
......@@ -2,11 +2,11 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
android:drawable="@color/splashfilling"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
android:src="@drawable/final_splash" />
</item>
</layer-list>
......
......@@ -2,11 +2,11 @@
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
android:drawable="@color/splashfilling"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
android:src="@drawable/final_splash"/>
</item>
</layer-list>
......
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:width="5dp"
android:color="#29ABE2" />
<corners
android:bottomRightRadius="25dp"
android:bottomLeftRadius="25dp"
android:topLeftRadius="25dp"
android:topRightRadius="25dp"/>
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
<solid
android:color="#29ABE2"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="false" android:drawable="@drawable/button_x" />
<item android:state_checked="true" android:drawable="@drawable/button_o" />
</selector>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke
android:width="5dp"
android:color="#F4F4F4" />
<corners
android:bottomRightRadius="25dp"
android:bottomLeftRadius="25dp"
android:topLeftRadius="25dp"
android:topRightRadius="25dp"/>
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
<solid
android:color="#F4F4F4"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<stroke
android:width="1dp"
android:color="#29ABE2" />
<!--
<corners
android:bottomRightRadius="25dp"
android:bottomLeftRadius="25dp"
android:topLeftRadius="25dp"
android:topRightRadius="25dp"/>
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
-->
<solid
android:color="#FFFFFF"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:top="32dp">
<shape android:shape="line">
<stroke
android:width="5dp"
android:color="#29ABE2"/>
</shape>
</item>
</layer-list>
\ No newline at end of file
......@@ -81,13 +81,10 @@
android:layout_height="wrap_content"
android:text="시/도" />
<EditText
android:id="@+id/doEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="ex1) 서울시 ex2)경기도"
android:inputType="textPersonName" />
<Spinner
android:id="@+id/doSpinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<TextView
android:id="@+id/cityTextView"
......@@ -95,27 +92,10 @@
android:layout_height="wrap_content"
android:text="시/군/구" />
<EditText
android:id="@+id/cityEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="ex) 동대문구"
android:inputType="textPersonName" />
<TextView
android:id="@+id/dongTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="읍/면/동" />
<EditText
android:id="@+id/dongEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:hint="ex) 회기동"
android:inputType="textPersonName" />
<Spinner
android:id="@+id/gooSpinner"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
</LinearLayout>
......
......@@ -76,7 +76,7 @@
android:orientation="vertical">
<ToggleButton
android:id="@+id/inmanButton"
android:id="@+id/gagoojooButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/profil_selector"
......@@ -85,7 +85,7 @@
android:textOn="가구주" />
<ToggleButton
android:id="@+id/outmanButton"
android:id="@+id/gagoowonButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/profil_selector"
......
......@@ -12,7 +12,6 @@
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="fill_parent"
......@@ -33,28 +32,32 @@
android:layout_width="10dp"
android:layout_height="match_parent"
android:layout_weight="1.5"
android:text="건너뛰기"/>
android:text="건너뛰기" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1"/>
android:layout_weight="1"
android:orientation="horizontal" />
<ImageView
android:layout_width="77dp"
android:layout_height="44dp"
android:layout_gravity="center"
android:layout_weight="1"
android:src="@drawable/toolbar_logo" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1"/>
android:layout_weight="1"
android:orientation="horizontal" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1.5"/>
android:layout_weight="1.5"
android:orientation="horizontal" />
</LinearLayout>
......@@ -118,22 +121,10 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:orientation="vertical"></LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:orientation="vertical">
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -142,23 +133,14 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"></LinearLayout>
android:orientation="vertical"
android:weightSum="1">
<TextView
android:id="@+id/mainTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="4-2. 가족구성원 '형제/자매' 선택 시 총 형제/자매 수를 입력해주세요." />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"></LinearLayout>
android:text="4-2. 총 형제자매 수를 입력해주세요." />
<LinearLayout
android:layout_width="match_parent"
......@@ -166,457 +148,37 @@
android:orientation="horizontal">
<EditText
android:id="@+id/brotherNumberEditText"
android:id="@+id/bsNumberEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:hint="ex) 3"
android:inputType="textPersonName" />
android:inputType="number|textPersonName" />
<Button
android:id="@+id/brotherNumberInputButton"
android:id="@+id/bsNumberInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입 력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/brother1LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brother1TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="형제자매 1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother1BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/brother1BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/brother1BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother1SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/brother1SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/brother1SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/brother2LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brother2TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="형제자매 2" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother2BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/brother2BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/brother2BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother2SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/brother2SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/brother2SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/brother3LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brother3TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="형제자매 3" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother3BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/brother3BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/brother3BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother3SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/brother3SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/brother3SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/brother4LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brother4TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="형제자매 4" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother4BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/bsRecyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/brother4BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/brother4BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_child" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother4SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/brother4SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/brother4SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/brother5LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/brother5TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="형제자매 5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother5BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/brother5BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/brother5BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/brother5SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/brother5SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/brother5SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="horizontal">
<Button
......@@ -635,8 +197,4 @@
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......
......@@ -12,7 +12,6 @@
android:orientation="vertical">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="fill_parent"
......@@ -33,28 +32,32 @@
android:layout_width="10dp"
android:layout_height="match_parent"
android:layout_weight="1.5"
android:text="건너뛰기"/>
android:text="건너뛰기" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1"/>
android:layout_weight="1"
android:orientation="horizontal" />
<ImageView
android:layout_width="77dp"
android:layout_height="44dp"
android:layout_gravity="center"
android:layout_weight="1"
android:src="@drawable/toolbar_logo" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1"/>
android:layout_weight="1"
android:orientation="horizontal" />
<LinearLayout
android:layout_width="10dp"
android:layout_height="match_parent"
android:orientation="horizontal"
android:layout_weight="1.5"/>
android:layout_weight="1.5"
android:orientation="horizontal" />
</LinearLayout>
......@@ -118,22 +121,10 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:orientation="vertical"></LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:orientation="vertical">
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -142,12 +133,8 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"></LinearLayout>
android:orientation="vertical"
android:weightSum="1">
<TextView
android:id="@+id/mainTextView"
......@@ -158,11 +145,6 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"></LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<EditText
......@@ -172,7 +154,7 @@
android:layout_weight="1"
android:ems="10"
android:hint="ex) 3"
android:inputType="textPersonName" />
android:inputType="number|textPersonName" />
<Button
android:id="@+id/childNumberInputButton"
......@@ -182,446 +164,21 @@
android:text="입 력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:id="@+id/child1LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/child1TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="자녀 1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child1BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/child1BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/child1BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child1SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/child1SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/child1SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/child2LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/child2TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="자녀 2" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child2BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/child2BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/child2BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child2SexTextView"
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/childRecyclerView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/child2SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/child2SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
tools:listitem="@layout/item_child" />
</LinearLayout>
<LinearLayout
android:id="@+id/child3LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/child3TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="자녀 3" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child3BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/child3BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/child3BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child3SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/child3SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/child3SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/child4LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/child4TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="자녀 4" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child4BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/child4BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/child4BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child4SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/child4SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/child4SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/child5LinearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone">
<TextView
android:id="@+id/child5TextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="자녀 5" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child5BirthTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="생년월일" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<EditText
android:id="@+id/child5BirthEditText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:inputType="textPersonName" />
<Button
android:id="@+id/child5BirthInputButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="입력" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"></LinearLayout>
<TextView
android:id="@+id/child5SexTextView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/child5SexManButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="남자"
android:textOn="남자" />
<ToggleButton
android:id="@+id/child5SexWomanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:background="@drawable/profil_selector"
android:text="ToggleButton"
android:textOff="여자"
android:textOn="여자" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:orientation="horizontal">
<Button
......@@ -640,8 +197,4 @@
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......
......@@ -6,6 +6,7 @@
android:layout_height="match_parent"
tools:context=".MainActivity">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
......@@ -15,72 +16,102 @@
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_weight="1"
android:orientation="vertical"></LinearLayout>
android:gravity="center"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/textView6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="복지야, 안녕!"
android:textSize="15dp" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:srcCompat="@tools:sample/avatars"
android:src="@drawable/final_logo"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:padding="10dp">
<TextView
android:id="@+id/textView4"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:text="이메일"
android:textColor="#29ABE2"
android:textSize="13dp" />
<EditText
android:id="@+id/edit_email"
android:layout_width="match_parent"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:ems="10"
android:hint="Email"
android:inputType="textEmailAddress" />
android:inputType="textEmailAddress"
android:theme="@style/EditTheme" />
<TextView
android:id="@+id/textView5"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:text="비밀번호"
android:textColor="#29ABE2"
android:textSize="13dp" />
<EditText
android:id="@+id/edit_password"
android:layout_width="match_parent"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:ems="10"
android:hint="Password"
android:inputType="textPassword" />
android:inputType="textPassword"
android:theme="@style/EditTheme" />
<Button
android:id="@+id/emailSigninBtn"
android:layout_width="match_parent"
android:layout_width="350dp"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:background="@color/colorPrimary"
android:background="@drawable/button_x"
android:text="로그인"
android:textColor="@color/common_google_signin_btn_text_dark_default" />
android:textColor="#DDDDDD" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_weight="1"
android:gravity="bottom"
android:orientation="vertical">
<Button
android:id="@+id/emailSignupBtn"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:layout_marginRight="16dp"
android:background="@color/colorPrimary"
android:background="#29ABE2"
android:text="회원가입"
android:textColor="@color/common_google_signin_btn_text_dark_default" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_weight="1"
android:orientation="vertical"></LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......
......@@ -27,7 +27,10 @@
android:layout_width="wrap_content"
android:layout_height="70dp"
android:layout_weight="1"
android:text="시작하기" />
android:background="#FF29ABE2"
android:text="회원가입/로그인하기"
android:textColor="@android:color/white"
android:textSize="16dp" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="25dp"
tools:context=".BSAdapter">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="2dp">
<Button
android:id="@+id/circleformButton"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:layout_margin="3dp"
android:background="@drawable/circle_shape"
android:textColor="#29ABE2"
android:textSize="10dp" />
<TextView
android:id="@+id/bsTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="내용"
android:textColor="#29ABE2"
android:textSize="20dp" />
</LinearLayout>
<TextView
android:id="@+id/textView8"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="생년월일"
android:textColor="#29ABE2"
android:textSize="13dp" />
<EditText
android:id="@+id/bsBirthEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:ems="10"
android:hint="ex)19951029"
android:inputType="number"
android:theme="@style/EditTheme" />
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="성별 *"
android:textColor="#29ABE2"
android:textSize="13dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/womanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@drawable/button_selector"
android:textOff="여성"
android:textOn="여성" />
<ToggleButton
android:id="@+id/manButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@drawable/button_selector"
android:textOff="남성"
android:textOn="남성" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="25dp"
tools:context=".ChildAdapter">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="2dp">
<Button
android:id="@+id/circleformButton"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="center"
android:layout_margin="3dp"
android:background="@drawable/circle_shape"
android:textColor="#29ABE2"
android:textSize="10dp" />
<TextView
android:id="@+id/childTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="내용"
android:textColor="#29ABE2"
android:textSize="20dp" />
</LinearLayout>
<TextView
android:id="@+id/textView8"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="생년월일"
android:textColor="#29ABE2"
android:textSize="13dp" />
<EditText
android:id="@+id/childBirthEditText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:ems="10"
android:hint="ex)19951029"
android:inputType="number"
android:theme="@style/EditTheme" />
<TextView
android:id="@+id/textView9"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:text="성별 *"
android:textColor="#29ABE2"
android:textSize="13dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ToggleButton
android:id="@+id/womanButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@drawable/button_selector"
android:textOff="여성"
android:textOn="여성" />
<ToggleButton
android:id="@+id/manButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:layout_weight="1"
android:background="@drawable/button_selector"
android:textOff="남성"
android:textOn="남성" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
......@@ -4,6 +4,11 @@
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
<color name="splashfilling">#FFFFFF</color>
<color name="cursorColor">#000000</color>
<color name="nomalColor">#29ABE2</color>
<drawable name="profil_selected">#1E90FF</drawable>
<drawable name="profil_unselected">#FFFFFF</drawable>
......
......@@ -11,8 +11,15 @@
</style>
<!-- Splash screen -->
<style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/background_splash</item>
</style>
<style name="EditTheme" >
<!--위에 에딧템 뒤에 parent="Theme.AppCompat.Light.NoActionBar"-->
<item name="colorAccent">#29ABE2</item>
<item name="android:colorControlNormal">#29ABE2</item>
</style>
</resources>
......