신기성

empty master

Showing 204 changed files with 0 additions and 12054 deletions
1 -# WELLO project
2 -## description
3 -
4 -복지 정책 앱 ver1
5 -
6 -## todo
...\ No newline at end of file ...\ No newline at end of file
This diff could not be displayed because it is too large.
1 -*.iml
2 -.gradle
3 -/local.properties
4 -/.idea/caches
5 -/.idea/libraries
6 -/.idea/modules.xml
7 -/.idea/workspace.xml
8 -/.idea/navEditor.xml
9 -/.idea/assetWizardSettings.xml
10 -.DS_Store
11 -/build
12 -/captures
13 -.externalNativeBuild
14 -.cxx
1 -<component name="ProjectCodeStyleConfiguration">
2 - <code_scheme name="Project" version="173">
3 - <AndroidXmlCodeStyleSettings>
4 - <option name="ARRANGEMENT_SETTINGS_MIGRATED_TO_191" value="true" />
5 - </AndroidXmlCodeStyleSettings>
6 - <JetCodeStyleSettings>
7 - <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
8 - </JetCodeStyleSettings>
9 - <codeStyleSettings language="XML">
10 - <indentOptions>
11 - <option name="CONTINUATION_INDENT_SIZE" value="4" />
12 - </indentOptions>
13 - <arrangement>
14 - <rules>
15 - <section>
16 - <rule>
17 - <match>
18 - <AND>
19 - <NAME>xmlns:android</NAME>
20 - <XML_ATTRIBUTE />
21 - <XML_NAMESPACE>^$</XML_NAMESPACE>
22 - </AND>
23 - </match>
24 - </rule>
25 - </section>
26 - <section>
27 - <rule>
28 - <match>
29 - <AND>
30 - <NAME>xmlns:.*</NAME>
31 - <XML_ATTRIBUTE />
32 - <XML_NAMESPACE>^$</XML_NAMESPACE>
33 - </AND>
34 - </match>
35 - <order>BY_NAME</order>
36 - </rule>
37 - </section>
38 - <section>
39 - <rule>
40 - <match>
41 - <AND>
42 - <NAME>.*:id</NAME>
43 - <XML_ATTRIBUTE />
44 - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
45 - </AND>
46 - </match>
47 - </rule>
48 - </section>
49 - <section>
50 - <rule>
51 - <match>
52 - <AND>
53 - <NAME>.*:name</NAME>
54 - <XML_ATTRIBUTE />
55 - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
56 - </AND>
57 - </match>
58 - </rule>
59 - </section>
60 - <section>
61 - <rule>
62 - <match>
63 - <AND>
64 - <NAME>name</NAME>
65 - <XML_ATTRIBUTE />
66 - <XML_NAMESPACE>^$</XML_NAMESPACE>
67 - </AND>
68 - </match>
69 - </rule>
70 - </section>
71 - <section>
72 - <rule>
73 - <match>
74 - <AND>
75 - <NAME>style</NAME>
76 - <XML_ATTRIBUTE />
77 - <XML_NAMESPACE>^$</XML_NAMESPACE>
78 - </AND>
79 - </match>
80 - </rule>
81 - </section>
82 - <section>
83 - <rule>
84 - <match>
85 - <AND>
86 - <NAME>.*</NAME>
87 - <XML_ATTRIBUTE />
88 - <XML_NAMESPACE>^$</XML_NAMESPACE>
89 - </AND>
90 - </match>
91 - <order>BY_NAME</order>
92 - </rule>
93 - </section>
94 - <section>
95 - <rule>
96 - <match>
97 - <AND>
98 - <NAME>.*</NAME>
99 - <XML_ATTRIBUTE />
100 - <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE>
101 - </AND>
102 - </match>
103 - <order>ANDROID_ATTRIBUTE_ORDER</order>
104 - </rule>
105 - </section>
106 - <section>
107 - <rule>
108 - <match>
109 - <AND>
110 - <NAME>.*</NAME>
111 - <XML_ATTRIBUTE />
112 - <XML_NAMESPACE>.*</XML_NAMESPACE>
113 - </AND>
114 - </match>
115 - <order>BY_NAME</order>
116 - </rule>
117 - </section>
118 - </rules>
119 - </arrangement>
120 - </codeStyleSettings>
121 - <codeStyleSettings language="kotlin">
122 - <option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
123 - </codeStyleSettings>
124 - </code_scheme>
125 -</component>
...\ No newline at end of file ...\ No newline at end of file
1 -<component name="ProjectCodeStyleConfiguration">
2 - <state>
3 - <option name="USE_PER_PROJECT_SETTINGS" value="true" />
4 - </state>
5 -</component>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<project version="4">
3 - <component name="GradleSettings">
4 - <option name="linkedExternalProjectsSettings">
5 - <GradleProjectSettings>
6 - <option name="distributionType" value="DEFAULT_WRAPPED" />
7 - <option name="externalProjectPath" value="$PROJECT_DIR$" />
8 - <option name="modules">
9 - <set>
10 - <option value="$PROJECT_DIR$" />
11 - <option value="$PROJECT_DIR$/app" />
12 - </set>
13 - </option>
14 - <option name="resolveModulePerSourceSet" value="false" />
15 - <option name="testRunner" value="PLATFORM" />
16 - </GradleProjectSettings>
17 - </option>
18 - </component>
19 -</project>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<project version="4">
3 - <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
4 - <output url="file://$PROJECT_DIR$/build/classes" />
5 - </component>
6 - <component name="ProjectType">
7 - <option name="id" value="Android" />
8 - </component>
9 -</project>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<project version="4">
3 - <component name="RunConfigurationProducerService">
4 - <option name="ignoredProducers">
5 - <set>
6 - <option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
7 - <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
8 - <option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
9 - </set>
10 - </option>
11 - </component>
12 -</project>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="UTF-8"?>
2 -<project version="4">
3 - <component name="VcsDirectoryMappings">
4 - <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5 - </component>
6 -</project>
...\ No newline at end of file ...\ No newline at end of file
1 -apply plugin: 'com.android.application'
2 -
3 -apply plugin: 'kotlin-android'
4 -
5 -apply plugin: 'kotlin-android-extensions'
6 -
7 -android {
8 - compileSdkVersion 29
9 - buildToolsVersion "29.0.2"
10 - defaultConfig {
11 - applicationId "com.example.vip"
12 - minSdkVersion 23
13 - targetSdkVersion 29
14 - versionCode 1
15 - versionName "1.0"
16 - testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
17 - }
18 - buildTypes {
19 - release {
20 - minifyEnabled false
21 - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
22 - }
23 - }
24 -}
25 -
26 -dependencies {
27 - implementation fileTree(dir: 'libs', include: ['*.jar'])
28 - implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
29 - implementation 'androidx.appcompat:appcompat:1.1.0'
30 - implementation 'androidx.core:core-ktx:1.0.2'
31 - implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
32 - implementation 'com.google.firebase:firebase-analytics:17.2.0'
33 - implementation 'com.google.firebase:firebase-auth:19.0.0'
34 - implementation 'com.google.android.gms:play-services-auth:17.0.0'
35 - implementation 'androidx.recyclerview:recyclerview:1.1.0-beta05'
36 - implementation 'com.android.support:appcompat-v7:27.1.1'
37 - implementation 'com.android.support:design:28.0.0'
38 -
39 - implementation 'com.google.firebase:firebase-analytics:17.2.0'
40 - implementation 'com.google.firebase:firebase-messaging:20.0.0'
41 -
42 - implementation 'com.google.firebase:firebase-database:17.0.0'
43 - testImplementation 'junit:junit:4.12'
44 - androidTestImplementation 'androidx.test:runner:1.2.0'
45 - androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
46 -
47 -
48 -}
49 -
50 -apply plugin: 'com.google.gms.google-services'
1 -{
2 - "project_info": {
3 - "project_number": "1004426035643",
4 - "firebase_url": "https://capstone-vip.firebaseio.com",
5 - "project_id": "capstone-vip",
6 - "storage_bucket": "capstone-vip.appspot.com"
7 - },
8 - "client": [
9 - {
10 - "client_info": {
11 - "mobilesdk_app_id": "1:1004426035643:android:fe0fc57d688873dd4f849e",
12 - "android_client_info": {
13 - "package_name": "com.example.vip"
14 - }
15 - },
16 - "oauth_client": [
17 - {
18 - "client_id": "1004426035643-ju8i4dbd1psjka5qqjsntos2kodrt2ca.apps.googleusercontent.com",
19 - "client_type": 1,
20 - "android_info": {
21 - "package_name": "com.example.vip",
22 - "certificate_hash": "8ac95d8222d265210a8ef81c0f1fa04561152680"
23 - }
24 - },
25 - {
26 - "client_id": "1004426035643-0id5kb6rfoi38qi0ji2tvm7o8vvinvbe.apps.googleusercontent.com",
27 - "client_type": 1,
28 - "android_info": {
29 - "package_name": "com.example.vip",
30 - "certificate_hash": "0620fb977bfe2437393ecbf8fc4e3a84a4bd2574"
31 - }
32 - },
33 - {
34 - "client_id": "1004426035643-n8hi0ab3i0km4j1srujtl0q70s97r93g.apps.googleusercontent.com",
35 - "client_type": 3
36 - }
37 - ],
38 - "api_key": [
39 - {
40 - "current_key": "AIzaSyC_eN3CjxzZwyH2oquqQYGAB3lMVolxVBE"
41 - }
42 - ],
43 - "services": {
44 - "appinvite_service": {
45 - "other_platform_oauth_client": [
46 - {
47 - "client_id": "1004426035643-n8hi0ab3i0km4j1srujtl0q70s97r93g.apps.googleusercontent.com",
48 - "client_type": 3
49 - }
50 - ]
51 - }
52 - }
53 - }
54 - ],
55 - "configuration_version": "1"
56 -}
...\ No newline at end of file ...\ No newline at end of file
1 -# Add project specific ProGuard rules here.
2 -# You can control the set of applied configuration files using the
3 -# proguardFiles setting in build.gradle.
4 -#
5 -# For more details, see
6 -# http://developer.android.com/guide/developing/tools/proguard.html
7 -
8 -# If your project uses WebView with JS, uncomment the following
9 -# and specify the fully qualified class name to the JavaScript interface
10 -# class:
11 -#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 -# public *;
13 -#}
14 -
15 -# Uncomment this to preserve the line number information for
16 -# debugging stack traces.
17 -#-keepattributes SourceFile,LineNumberTable
18 -
19 -# If you keep the line number information, uncomment this to
20 -# hide the original source file name.
21 -#-renamesourcefileattribute SourceFile
1 -package com.example.vip
2 -
3 -import androidx.test.platform.app.InstrumentationRegistry
4 -import androidx.test.ext.junit.runners.AndroidJUnit4
5 -
6 -import org.junit.Test
7 -import org.junit.runner.RunWith
8 -
9 -import org.junit.Assert.*
10 -
11 -/**
12 - * Instrumented test, which will execute on an Android device.
13 - *
14 - * See [testing documentation](http://d.android.com/tools/testing).
15 - */
16 -@RunWith(AndroidJUnit4::class)
17 -class ExampleInstrumentedTest {
18 - @Test
19 - fun useAppContext() {
20 - // Context of the app under test.
21 - val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 - assertEquals("com.example.vip", appContext.packageName)
23 - }
24 -}
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 - package="com.example.vip">
4 -
5 - <application
6 - android:allowBackup="true"
7 - android:icon="@mipmap/ic_launcher"
8 - android:label="@string/app_name"
9 - android:roundIcon="@mipmap/ic_launcher_round"
10 - android:supportsRtl="true"
11 - android:theme="@style/NoActionBar">
12 - <activity android:name=".ChildAdapter"></activity>
13 - <activity android:name=".InputProfilFifthFourActivity" />
14 - <activity android:name=".InputProfilFifthThreeActivity" />
15 - <activity android:name=".InputProfilFifthTwoActivity" />
16 - <activity android:name=".InputProfilFifthOneActivity" />
17 - <activity android:name=".InputProfilFourthFiveActivity" />
18 - <activity android:name=".InputProfilFourthFourActivity" />
19 - <activity android:name=".InputProfilFourthThreeActivity" />
20 - <activity android:name=".InputProfilFourthTwoActivity" />
21 - <activity android:name=".InputProfilFourthOneActivity" />
22 - <activity android:name=".InputProfilThirdFourActivity" />
23 - <activity android:name=".InputProfilThirdThreeActivity" />
24 - <activity android:name=".InputProfilThirdTwoActivity" />
25 - <activity android:name=".InputProfilThirdOneActivity" />
26 - <activity android:name=".InputProfilSecondThreeActivity" />
27 - <activity android:name=".InputProfilSecondTwoActivity" />
28 - <activity android:name=".InputProfilSecondOneActivity" />
29 - <activity android:name=".InputProfilFirstSixActivity" />
30 - <activity android:name=".InputProfilFirstFiveActivity" />
31 - <activity android:name=".InputProfilFirstFourActivity" />
32 - <activity android:name=".InputProfilFirstThreeActivity" />
33 - <activity android:name=".InputProfilFirstTwoActivity" />
34 - <activity android:name=".FragmentActivity" />
35 - <activity android:name=".FragmentLayout" />
36 - <activity android:name=".InputProfilFirstOneActivity" />
37 - <activity android:name=".WelcomeActivity" />
38 - <activity android:name=".SettingActivity" />
39 - <activity android:name=".DetailActivity" />
40 - <activity android:name=".InfoActivity" />
41 - <activity android:name=".FavoritesActivity" />
42 - <activity android:name=".RecommendActivity" />
43 - <activity android:name=".SignInActivity" />
44 - <activity android:name=".SignUpActivity" />
45 - <activity android:name=".MainActivity" />
46 - <activity
47 - android:name=".SearchActivity"
48 - android:windowSoftInputMode="adjustNothing" />
49 - <activity
50 - android:name=".SplashActivity"
51 - android:theme="@style/SplashTheme">
52 - <intent-filter>
53 - <action android:name="android.intent.action.MAIN" />
54 -
55 - <category android:name="android.intent.category.LAUNCHER" />
56 - </intent-filter>
57 - </activity>
58 - </application>
59 -
60 -</manifest>
...\ 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_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
2 -
3 -import android.app.Activity
4 -import android.content.Intent
5 -import android.os.Bundle
6 -import android.util.Half.toFloat
7 -import android.view.Menu
8 -import android.view.MenuItem
9 -import android.view.View
10 -import android.webkit.WebView
11 -import android.widget.ImageView
12 -import android.widget.RatingBar
13 -import android.widget.TextView
14 -import android.widget.Toast
15 -import androidx.appcompat.app.ActionBar
16 -import androidx.appcompat.app.AppCompatActivity
17 -import androidx.core.content.ContextCompat
18 -import androidx.viewpager.widget.ViewPager
19 -import com.google.android.material.bottomnavigation.BottomNavigationView
20 -import com.google.android.material.snackbar.Snackbar
21 -import com.google.firebase.database.DataSnapshot
22 -import com.google.firebase.database.DatabaseError
23 -import com.google.firebase.database.FirebaseDatabase
24 -import com.google.firebase.database.ValueEventListener
25 -import kotlinx.android.synthetic.main.activity_detail.*
26 -import kotlinx.android.synthetic.main.activity_recommend.*
27 -import kotlinx.android.synthetic.main.activity_signin.*
28 -import kotlinx.android.synthetic.main.activity_signin.toolbar
29 -import kotlinx.android.synthetic.main.search.*
30 -import androidx.core.app.ComponentActivity.ExtraData
31 -import androidx.core.content.ContextCompat.getSystemService
32 -import android.icu.lang.UCharacter.GraphemeClusterBreak.T
33 -import android.net.Uri
34 -import android.view.MotionEvent
35 -
36 -
37 -data class MemoItemDetail(
38 - val Target : String = "",
39 - val Policy : String = "",
40 - val Content : String = "",
41 - val Link : String = "",
42 - val Date : String = "상시"
43 -)
44 -
45 -class DetailActivity : AppCompatActivity() {
46 -
47 - ////bottom navigation view operation start 1
48 - lateinit var bottomBar: ActionBar
49 - ////bottom navigation view operation end 1
50 - override fun onCreate(savedInstanceState: Bundle?) {
51 - super.onCreate(savedInstanceState)
52 - setContentView(R.layout.activity_detail)
53 -
54 - var detaildatabase = FirebaseDatabase.getInstance().reference
55 -
56 - if (intent.hasExtra("key")) {
57 - //textView.text = intent.getStringExtra("key") 텍뷰추가하면 인텐트로 값넘기는거 보임
58 -
59 - detaildatabase.orderByChild("Policy").startAt(intent.getStringExtra("key")).endAt(intent.getStringExtra("key")+"\uf8ff").addListenerForSingleValueEvent(object :
60 - ValueEventListener {
61 - override fun onCancelled(p0: DatabaseError) {
62 - Toast.makeText(this@DetailActivity, "실패부분", Toast.LENGTH_SHORT).show()
63 - }
64 - override fun onDataChange(dataSnapshot: DataSnapshot) {
65 - for (memoSnapshot in dataSnapshot.children){
66 - val memo = memoSnapshot.getValue(MemoItemDetail::class.java)
67 -
68 - var detailImage: ImageView =findViewById(R.id.policyImageDetail)
69 - var detailDday: TextView =findViewById(R.id.policyDdayDetail)
70 - var detailTitle: TextView =findViewById(R.id.policyTitleDetail)
71 - var detailScore: RatingBar =findViewById(R.id.policyScoreDetail)
72 - var detailFavor: TextView =findViewById(R.id.policyFavorDetail)
73 -
74 - detailImage.setImageResource(R.drawable.image01)
75 - detailDday.text=memo!!.Date
76 - detailTitle.text=memo!!.Policy
77 - detailScore.rating=4.toFloat()
78 - detailFavor.text="0"
79 -
80 - val web : WebView = findViewById(R.id.policy_context)
81 - val summary : String = memo!!.Content
82 - web.loadData(summary, "text/html", "UTF-8")
83 -
84 -
85 -
86 -
87 - val mOnNavigationItemSelectedListener=BottomNavigationView.OnNavigationItemSelectedListener{item->
88 - when (item.itemId){
89 -
90 - R.id.shareBtn ->{
91 - //val intent = Intent(this, SignInActivity::class.java)
92 - //startActivity(intent)
93 - //return@OnNavigationItemSelectedListener true
94 - }
95 - R.id.favorBtn ->{
96 -
97 - }
98 - R.id.linkBtn ->{
99 - val intent = Intent(Intent.ACTION_VIEW, Uri.parse(memo.Link))
100 - startActivity(intent)
101 - }
102 - }
103 - false
104 - }
105 - ////bottom navigation view operation start 2
106 - bottomBar=supportActionBar!!
107 - val bottomNavigation: BottomNavigationView =findViewById(R.id.bottomNavigation)
108 - bottomNavigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener)
109 - ////bottom navigation view operation end 2
110 -
111 -
112 - }
113 - }
114 - })
115 -
116 -
117 - } else {
118 - Toast.makeText(this, "putExtra value not found", Toast.LENGTH_SHORT).show()
119 - }
120 -
121 -
122 - // 1. 툴바 사용 설정
123 - setSupportActionBar(toolbar)
124 -
125 - // 2. 툴바 왼쪽 버튼 설정
126 - supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
127 - supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
128 - supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
129 -
130 -
131 - }
132 - // 3.툴바 메뉴 버튼을 설정
133 - override fun onCreateOptionsMenu(menu: Menu?): Boolean {
134 - menuInflater.inflate(R.menu.main_menu, menu) // main_menu 메뉴를 toolbar 메뉴 버튼으로 설정
135 - return true
136 - }
137 -
138 - // 4.툴바 메뉴 버튼이 클릭 됐을 때 콜백
139 - override fun onOptionsItemSelected(item: MenuItem?): Boolean {
140 - // 클릭된 메뉴 아이템의 아이디 마다 when 구절로 클릭시 동작을 설정한다.
141 - when(item!!.itemId){
142 - android.R.id.home->{ // 메뉴 버튼
143 - Snackbar.make(toolbar,"Menu pressed",Snackbar.LENGTH_SHORT).show()
144 - }
145 - R.id.menu_search->{ // 검색 버튼
146 - val search_Intent = Intent(this, SearchActivity::class.java)
147 - startActivity(search_Intent)
148 - //Snackbar.make(toolbar,"Search menu pressed",Snackbar.LENGTH_SHORT).show()
149 - }
150 - }
151 - return super.onOptionsItemSelected(item)
152 - }
153 -
154 - //bottom navigation view operation start 3
155 -
156 -//bottom navigation view operation end 3
157 -
158 -}
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.Menu
9 -import android.view.MenuItem
10 -import android.widget.Toast
11 -import androidx.appcompat.app.ActionBar
12 -import androidx.core.content.ContextCompat
13 -import androidx.core.content.ContextCompat.startActivity
14 -import com.google.android.material.bottomnavigation.BottomNavigationView
15 -import com.google.android.material.snackbar.Snackbar
16 -import com.google.firebase.database.DataSnapshot
17 -import com.google.firebase.database.DatabaseError
18 -import com.google.firebase.database.FirebaseDatabase
19 -import com.google.firebase.database.ValueEventListener
20 -import kotlinx.android.synthetic.main.activity_recommend.*
21 -import kotlinx.android.synthetic.main.activity_recommend.toolbar
22 -import kotlinx.android.synthetic.main.activity_signin.*
23 -
24 -data class MemoItemFavor(
25 - val Target : String = "",
26 - val Policy : String = "",
27 - val Content : String = "",
28 - val Link : String = ""
29 -)
30 -
31 -class FavoritesActivity : AppCompatActivity() {
32 -
33 - ////bottom navigation view operation start 1
34 - lateinit var bottomBar: ActionBar
35 - ////bottom navigation view operation end 1
36 - override fun onCreate(savedInstanceState: Bundle?) {
37 - super.onCreate(savedInstanceState)
38 - setContentView(R.layout.activity_favorites)
39 -
40 - val policyList = ArrayList<PolicyItem>()
41 - var favordatabase = FirebaseDatabase.getInstance().reference
42 -
43 -
44 - val prof: SharedPreferences = getSharedPreferences("profdata", Context.MODE_PRIVATE)
45 - val editor: SharedPreferences.Editor=prof.edit()
46 -
47 - var tempstring=prof.getString("favorstringlist","")
48 - var sepstr=tempstring!!.split("@")
49 - var sepstrset=sepstr.toMutableSet()
50 -
51 - for (favor in sepstrset){
52 -
53 - favordatabase.orderByChild("Policy").startAt(favor).endAt(favor).addListenerForSingleValueEvent(object :
54 - ValueEventListener {
55 - override fun onCancelled(p0: DatabaseError) {
56 - Toast.makeText(this@FavoritesActivity, "실패부분", Toast.LENGTH_SHORT).show()
57 - }
58 - override fun onDataChange(dataSnapshot: DataSnapshot) {
59 - for (memoSnapshot in dataSnapshot.children){
60 - val memo = memoSnapshot.getValue(MemoItemFavor::class.java)
61 -
62 - policyList.add(
63 - PolicyItem(
64 - ContextCompat.getDrawable(this@FavoritesActivity, R.drawable.image01)!!,
65 - memo!!.Policy,
66 - memo!!.Policy,
67 - memo!!.Policy,
68 - 4.toFloat(),
69 - " "
70 -
71 - )
72 - )
73 - }
74 -
75 - val adapter = PolicyAdapter(policyList)
76 - policyRecyclerView.adapter = adapter
77 -
78 - }
79 -
80 - })
81 -
82 - }
83 -
84 - if (intent.hasExtra("key")) {
85 - //textView.text = intent.getStringExtra("key") 텍뷰추가하면 인텐트로 값넘기는거 보임
86 -
87 - } else {
88 - Toast.makeText(this, "putExtra value not found", Toast.LENGTH_SHORT).show()
89 - }
90 -
91 -
92 -
93 - // 1. 툴바 사용 설정
94 - setSupportActionBar(toolbar)
95 -
96 - // 2. 툴바 왼쪽 버튼 설정
97 - supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
98 - supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
99 - supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
100 -
101 - ////bottom navigation view operation start 2
102 - bottomBar=supportActionBar!!
103 - val bottomNavigation: BottomNavigationView =findViewById(R.id.bottomNavigation)
104 - bottomNavigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener)
105 - ////bottom navigation view operation end 2
106 -
107 - }
108 - // 3.툴바 메뉴 버튼을 설정
109 - override fun onCreateOptionsMenu(menu: Menu?): Boolean {
110 - menuInflater.inflate(R.menu.main_menu, menu) // main_menu 메뉴를 toolbar 메뉴 버튼으로 설정
111 - return true
112 - }
113 -
114 - // 4.툴바 메뉴 버튼이 클릭 됐을 때 콜백
115 - override fun onOptionsItemSelected(item: MenuItem?): Boolean {
116 - // 클릭된 메뉴 아이템의 아이디 마다 when 구절로 클릭시 동작을 설정한다.
117 - when(item!!.itemId){
118 - android.R.id.home->{ // 메뉴 버튼
119 - Snackbar.make(toolbar,"Menu pressed", Snackbar.LENGTH_SHORT).show()
120 - }
121 - R.id.menu_search->{ // 검색 버튼
122 - val search_Intent = Intent(this, SearchActivity::class.java)
123 - startActivity(search_Intent)
124 - //Snackbar.make(toolbar,"Search menu pressed",Snackbar.LENGTH_SHORT).show()
125 - }
126 - }
127 - return super.onOptionsItemSelected(item)
128 - }
129 -
130 - //bottom navigation view operation start 3
131 - private val mOnNavigationItemSelectedListener=
132 - BottomNavigationView.OnNavigationItemSelectedListener{ item->
133 - when (item.itemId){
134 -
135 - R.id.bottomHome ->{
136 - val intent = Intent(this, SignInActivity::class.java)
137 - startActivity(intent)
138 - return@OnNavigationItemSelectedListener true
139 - }
140 - R.id.bottomRecommend ->{
141 - val intent = Intent(this, RecommendActivity::class.java)
142 - startActivity(intent)
143 - return@OnNavigationItemSelectedListener true
144 - }
145 - R.id.bottomFavorites ->{
146 - val intent = Intent(this, FavoritesActivity::class.java)
147 - startActivity(intent)
148 - return@OnNavigationItemSelectedListener true
149 - }
150 - R.id.bottomInfo ->{
151 - val intent = Intent(this, InfoActivity::class.java)
152 - startActivity(intent)
153 - return@OnNavigationItemSelectedListener true
154 - }
155 -
156 -
157 - }
158 - false
159 - }
160 -//bottom navigation view operation end 3
161 -
162 -}
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.widget.ImageView
9 -import android.widget.Toast
10 -import kotlinx.android.synthetic.main.activity_info.*
11 -
12 -class InfoActivity : AppCompatActivity() {
13 -
14 - override fun onCreate(savedInstanceState: Bundle?) {
15 - super.onCreate(savedInstanceState)
16 - setContentView(R.layout.activity_info)
17 -
18 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
19 - val editor: SharedPreferences.Editor=prof.edit()
20 -
21 - Toast.makeText(applicationContext,prof.getString("manorwoman","nothing"),
22 - Toast.LENGTH_SHORT).show()
23 -
24 - //temp
25 - var accountImage: ImageView =findViewById(R.id.infoAccountImage)
26 - var profilImage: ImageView =findViewById(R.id.InfoProfilImage)
27 -
28 - accountImage.setImageResource(R.drawable.image01)
29 - profilImage.setImageResource(R.drawable.image01)
30 -
31 - //temp
32 -
33 - InfoButtonLaw.setOnClickListener {
34 - var intent = Intent(this, SettingActivity::class.java)
35 - startActivity(intent)
36 - }
37 -
38 - //pushing test start
39 - InfoButtonSettings.setOnClickListener {
40 - //var intent = Intent(this, SettingActivity::class.java)
41 - //test start
42 - var intent = Intent(this, InputProfilFirstOneActivity::class.java)
43 - //test end
44 - startActivity(intent)
45 - }
46 - //pushing test end
47 - }
48 -}
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 kotlinx.android.synthetic.main.activity_input_profil_fifth_four.*
9 -
10 -class InputProfilFifthFourActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_fifth_four)
15 -
16 - previousButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFifthThreeActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
24 - nextButton.setOnClickListener {
25 -
26 - editor.putInt("c1_1",1); editor.commit()
27 - editor.putInt("c2_1",1); editor.commit()
28 - editor.putInt("c3_1",1); editor.commit()
29 - editor.putInt("c4_1",1); editor.commit()
30 - editor.putInt("c5_1",1); editor.commit()
31 - editor.putInt("c6_1",1); editor.commit()
32 - editor.putInt("c7_1",1); editor.commit()
33 - editor.putInt("c8_1",1); editor.commit()
34 - editor.putInt("c9_1",1); editor.commit()
35 - editor.putInt("c10_1",1); editor.commit()
36 - editor.putInt("c11_1",1); editor.commit()
37 - editor.putInt("c12_1",1); editor.commit()
38 - editor.putInt("c13_1",1); editor.commit()
39 - editor.putInt("c14_1",1); editor.commit()
40 - editor.putInt("c15_1",1); editor.commit()
41 - editor.putInt("c16_1",1); editor.commit()
42 -
43 - var intent = Intent(this, SignInActivity::class.java)
44 - startActivity(intent)
45 - }
46 -
47 -
48 -
49 - }
50 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import androidx.appcompat.app.AppCompatActivity
5 -import android.os.Bundle
6 -import kotlinx.android.synthetic.main.activity_input_profil_fifth_one.*
7 -
8 -class InputProfilFifthOneActivity : AppCompatActivity() {
9 -
10 - override fun onCreate(savedInstanceState: Bundle?) {
11 - super.onCreate(savedInstanceState)
12 - setContentView(R.layout.activity_input_profil_fifth_one)
13 -
14 - previousButton.setOnClickListener {
15 - var intent = Intent(this, InputProfilFourthFiveActivity::class.java)
16 - startActivity(intent)
17 - }
18 -
19 - nextButton.setOnClickListener {
20 - var intent = Intent(this, InputProfilFifthTwoActivity::class.java)
21 - startActivity(intent)
22 - }
23 - }
24 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import androidx.appcompat.app.AppCompatActivity
5 -import android.os.Bundle
6 -import kotlinx.android.synthetic.main.activity_input_profil_fifth_three.*
7 -
8 -class InputProfilFifthThreeActivity : AppCompatActivity() {
9 -
10 - override fun onCreate(savedInstanceState: Bundle?) {
11 - super.onCreate(savedInstanceState)
12 - setContentView(R.layout.activity_input_profil_fifth_three)
13 -
14 -
15 - previousButton.setOnClickListener {
16 - var intent = Intent(this, InputProfilFifthTwoActivity::class.java)
17 - startActivity(intent)
18 - }
19 -
20 - nextButton.setOnClickListener {
21 - var intent = Intent(this, InputProfilFifthFourActivity::class.java)
22 - startActivity(intent)
23 - }
24 - }
25 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import androidx.appcompat.app.AppCompatActivity
5 -import android.os.Bundle
6 -import kotlinx.android.synthetic.main.activity_input_profil_fifth_two.*
7 -
8 -class InputProfilFifthTwoActivity : AppCompatActivity() {
9 -
10 - override fun onCreate(savedInstanceState: Bundle?) {
11 - super.onCreate(savedInstanceState)
12 - setContentView(R.layout.activity_input_profil_fifth_two)
13 -
14 -
15 - previousButton.setOnClickListener {
16 - var intent = Intent(this, InputProfilFifthOneActivity::class.java)
17 - startActivity(intent)
18 - }
19 -
20 - nextButton.setOnClickListener {
21 - var intent = Intent(this, InputProfilFifthThreeActivity::class.java)
22 - startActivity(intent)
23 - }
24 - }
25 -}
1 -package com.example.vip
2 -
3 -import android.content.Context
4 -import android.content.Intent
5 -import android.content.SharedPreferences
6 -import android.graphics.Color
7 -import androidx.appcompat.app.AppCompatActivity
8 -import android.os.Bundle
9 -import kotlinx.android.synthetic.main.activity_input_profil_first_five.*
10 -
11 -class InputProfilFirstFiveActivity : AppCompatActivity() {
12 -
13 - override fun onCreate(savedInstanceState: Bundle?) {
14 - super.onCreate(savedInstanceState)
15 - setContentView(R.layout.activity_input_profil_first_five)
16 -
17 - inmanButton.setOnClickListener {
18 - if(outmanButton.isChecked){
19 - outmanButton.isChecked=false
20 - }
21 - }
22 - outmanButton.setOnClickListener {
23 - if(inmanButton.isChecked){
24 - inmanButton.isChecked=false
25 - }
26 - }
27 -
28 - previousButton.setOnClickListener {
29 - var intent = Intent(this, InputProfilFirstFourActivity::class.java)
30 - startActivity(intent)
31 - }
32 -
33 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
34 - val editor: SharedPreferences.Editor=prof.edit()
35 -
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 - }
44 - var intent = Intent(this, InputProfilFirstSixActivity::class.java)
45 - startActivity(intent)
46 - }
47 -
48 - }
49 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.content.Context
5 -import android.content.SharedPreferences
6 -import android.icu.lang.UCharacter.GraphemeClusterBreak.T
7 -import androidx.appcompat.app.AppCompatActivity
8 -import android.os.Bundle
9 -import android.view.View
10 -import android.widget.AdapterView
11 -import android.widget.ArrayAdapter
12 -import android.widget.EditText
13 -import kotlinx.android.synthetic.main.activity_input_profil_first_four.*
14 -import kotlinx.android.synthetic.main.activity_input_profil_first_four.nextButton
15 -import kotlinx.android.synthetic.main.activity_input_profil_first_four.previousButton
16 -import kotlinx.android.synthetic.main.activity_input_profil_first_three.*
17 -
18 -class InputProfilFirstFourActivity : AppCompatActivity() {
19 -
20 - override fun onCreate(savedInstanceState: Bundle?) {
21 - super.onCreate(savedInstanceState)
22 - setContentView(R.layout.activity_input_profil_first_four)
23 -
24 - previousButton.setOnClickListener {
25 - var intent = Intent(this, InputProfilFirstThreeActivity::class.java)
26 - startActivity(intent)
27 - }
28 -
29 - val doadapter = ArrayAdapter(this, android.R.layout.simple_spinner_item, listOf("서울특별시", "부산광역시", "대구광역시", "인천광역시","광주광역시","대전광역시","울산광역시","세종특별자치시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도"))
30 - doadapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item)
31 - doSpinner.adapter = doadapter
32 -
33 - doSpinner.onItemSelectedListener = object: AdapterView.OnItemSelectedListener {
34 - override fun onNothingSelected(parent: AdapterView<*>?) {
35 - }
36 - override fun onItemSelected(parent: AdapterView<*>, view: View?, position: Int, id: Long) {
37 - // either one will work as well
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
108 - }
109 - }
110 - }
111 -
112 - val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
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()}
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 - }
388 - }
389 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import androidx.appcompat.app.AppCompatActivity
5 -import android.os.Bundle
6 -import kotlinx.android.synthetic.main.activity_input_profil_first_one.*
7 -
8 -class InputProfilFirstOneActivity : AppCompatActivity() {
9 -
10 - override fun onCreate(savedInstanceState: Bundle?) {
11 - super.onCreate(savedInstanceState)
12 - setContentView(R.layout.activity_input_profil_first_one)
13 -
14 -
15 -
16 - inputStartButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFirstTwoActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - }
22 -
23 -
24 -}
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 kotlinx.android.synthetic.main.activity_input_profil_first_six.*
9 -
10 -class InputProfilFirstSixActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_first_six)
15 -
16 - previousButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
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 -
33 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
34 - startActivity(intent)
35 - }
36 -
37 - }
38 -}
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.util.Log
9 -import android.util.MonthDisplayHelper
10 -import android.view.View
11 -import android.widget.EditText
12 -import android.widget.RadioButton
13 -import android.widget.RadioGroup
14 -import android.widget.Toast
15 -import kotlinx.android.synthetic.main.activity_input_profil_first_one.*
16 -import kotlinx.android.synthetic.main.activity_input_profil_first_three.*
17 -import kotlinx.android.synthetic.main.activity_input_profil_first_three.nextButton
18 -import kotlinx.android.synthetic.main.activity_input_profil_first_two.*
19 -
20 -class InputProfilFirstThreeActivity : AppCompatActivity() {
21 -
22 - override fun onCreate(savedInstanceState: Bundle?) {
23 - super.onCreate(savedInstanceState)
24 - setContentView(R.layout.activity_input_profil_first_three)
25 -
26 - /* not use this code start
27 - radio_group.setOnCheckedChangeListener(
28 - RadioGroup.OnCheckedChangeListener { group, checkedId ->
29 - val radio: RadioButton = findViewById(checkedId)
30 - Toast.makeText(applicationContext," On checked change : ${radio.text}",
31 - Toast.LENGTH_SHORT).show()
32 - })
33 - not use this code end */
34 -
35 - previousButton.setOnClickListener {
36 - var intent = Intent(this, InputProfilFirstTwoActivity::class.java)
37 - startActivity(intent)
38 - }
39 -
40 - val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
41 - val editor: SharedPreferences.Editor=prof.edit()
42 -
43 - nextButton.setOnClickListener {
44 - var intent = Intent(this, InputProfilFirstFourActivity::class.java)
45 - startActivity(intent)
46 -
47 - if (manButton.isChecked){
48 - editor.putInt("c3_2",1)
49 - editor.commit()
50 - //마지막장에 상관없음 추가
51 - }
52 - else{
53 - editor.putInt("c3_3",1)
54 - editor.commit()
55 - }
56 - }
57 - }
58 -
59 -/* i will not use this code start
60 - fun radio_button_click(view: View){
61 - // Get the clicked radio button instance
62 - val radio: RadioButton = findViewById(radio_group.checkedRadioButtonId)
63 - Toast.makeText(applicationContext,"On click : ${radio.text}",
64 - Toast.LENGTH_SHORT).show()
65 - }
66 -i will not use this code start end*/
67 -
68 -
69 -}
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.util.Log
9 -import android.widget.EditText
10 -import android.widget.Toast
11 -import com.google.firebase.messaging.FirebaseMessaging
12 -import kotlinx.android.synthetic.main.activity_input_profil_first_two.*
13 -import kotlinx.android.synthetic.main.activity_input_profil_first_two.nextButton
14 -import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
15 -
16 -class InputProfilFirstTwoActivity : AppCompatActivity() {
17 -
18 - override fun onCreate(savedInstanceState: Bundle?) {
19 - super.onCreate(savedInstanceState)
20 - setContentView(R.layout.activity_input_profil_first_two)
21 -
22 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
23 - val editor: SharedPreferences.Editor=prof.edit()
24 -
25 - //editor.putString("birthdate","none")
26 -
27 -
28 - nextButton.setOnClickListener {
29 -
30 -
31 - var birthdateinput=findViewById<EditText>(R.id.editText).text.toString()
32 - var birthdateint = 0
33 - if (birthdateinput == "") {
34 - birthdateint = 0
35 - }
36 - else {
37 - birthdateint = birthdateinput.toInt()
38 - }
39 -
40 - if ((2019-birthdateint)<19){
41 - editor.putInt("c1_2",1)
42 - editor.commit()
43 - Toast.makeText(baseContext, prof.getInt("c1_2",0).toString(), Toast.LENGTH_SHORT).show()
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 - }
52 - }
53 - else if((2019-birthdateint)<34){
54 - editor.putInt("c1_3",1)
55 - editor.commit()
56 - }
57 - else if((2019-birthdateint)<40){
58 - editor.putInt("c1_4",1)
59 - editor.commit()
60 - }
61 - else if((2019-birthdateint)<49){
62 - editor.putInt("c1_5",1)
63 - editor.commit()
64 - }
65 - else if((2019-birthdateint)<59){
66 - editor.putInt("c1_6",1)
67 - editor.commit()
68 - }
69 - else{
70 - editor.putInt("c1_7",1)
71 - editor.commit()
72 - }
73 - var intent = Intent(this, InputProfilFirstThreeActivity::class.java)
74 - startActivity(intent)
75 -
76 - }
77 -
78 - }
79 -}
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 kotlinx.android.synthetic.main.activity_input_profil_fourth_five.*
9 -
10 -class InputProfilFourthFiveActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_fourth_five)
15 -
16 - previousButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFourthFourActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
24 - nextButton.setOnClickListener {
25 - if(nothingButton.isChecked){editor.putInt("c8_1",1); editor.commit()}
26 - if(iljaeButton.isChecked){editor.putInt("c8_12",1); editor.commit()}
27 - if(specialpihaeButton.isChecked){editor.putInt("c8_13",1); editor.commit()}
28 - if(sanuppihaeButton.isChecked){editor.putInt("c8_14",1); editor.commit()}
29 - if(guitarButton.isChecked){editor.putInt("c8_17",1); editor.commit()}
30 - //기타가 똑같은거 지정
31 -
32 - editor.putInt("c1_1",1); editor.commit()
33 - editor.putInt("c2_1",1); editor.commit()
34 - editor.putInt("c3_1",1); editor.commit()
35 - editor.putInt("c4_1",1); editor.commit()
36 - editor.putInt("c5_1",1); editor.commit()
37 - editor.putInt("c6_1",1); editor.commit()
38 - editor.putInt("c7_1",1); editor.commit()
39 - editor.putInt("c8_1",1); editor.commit()
40 - editor.putInt("c9_1",1); editor.commit()
41 - editor.putInt("c10_1",1); editor.commit()
42 - editor.putInt("c11_1",1); editor.commit()
43 - editor.putInt("c12_1",1); editor.commit()
44 - editor.putInt("c13_1",1); editor.commit()
45 - editor.putInt("c14_1",1); editor.commit()
46 - editor.putInt("c15_1",1); editor.commit()
47 - editor.putInt("c16_1",1); editor.commit()
48 -
49 -
50 -
51 - var intent = Intent(this, InputProfilFifthOneActivity::class.java)
52 - startActivity(intent)
53 - }
54 -
55 -
56 - }
57 -}
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 kotlinx.android.synthetic.main.activity_input_profil_fourth_four.*
9 -
10 -class InputProfilFourthFourActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_fourth_four)
15 -
16 - previousButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFourthThreeActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
24 - nextButton.setOnClickListener {
25 -
26 - if(nothingButton.isChecked){editor.putInt("c8_1",1); editor.commit()}
27 - if(pokryukButton.isChecked){editor.putInt("c8_9",1); editor.commit()}
28 - if(pihaeButton.isChecked){editor.putInt("c8_9",1); editor.commit()}
29 - if(kachoolButton.isChecked){editor.putInt("c8_9",1); editor.commit()}
30 - if(sagoButton.isChecked){editor.putInt("c8_9",1); editor.commit()}
31 - if(ihonButton.isChecked){editor.putInt("c8_15",1); editor.commit()}
32 - if(jaehaeButton.isChecked){editor.putInt("c8_9",1); editor.commit()}
33 - if(hakkyobaakButton.isChecked){editor.putInt("c8_16",1); editor.commit()}
34 - if(siljikButton.isChecked){editor.putInt("c5_9",1); editor.commit()}
35 - if(guitarButton.isChecked){editor.putInt("c8_17",1); editor.commit()}
36 -
37 - var intent = Intent(this, InputProfilFourthFiveActivity::class.java)
38 - startActivity(intent)
39 - }
40 -
41 -
42 -
43 -
44 -
45 -
46 - }
47 -}
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.View.GONE
9 -import android.view.View.VISIBLE
10 -import android.widget.TextView
11 -import androidx.appcompat.app.AlertDialog
12 -import kotlinx.android.synthetic.main.activity_input_profil_fourth_one.*
13 -
14 -class InputProfilFourthOneActivity : AppCompatActivity() {
15 -
16 - override fun onCreate(savedInstanceState: Bundle?) {
17 - super.onCreate(savedInstanceState)
18 - setContentView(R.layout.activity_input_profil_fourth_one)
19 - //보유
20 - //미보유 - 전세 월세 공공주택 무상임대 보장기관 기타
21 -
22 - //소유
23 - //주택세대주 주택세대구성원 무주택자 무주택세대주 무주택세대구성원
24 -
25 - //그냥 소유 미소유-모두무주택자 2개로 함
26 -
27 -// 1. 툴바 사용 설정
28 - setSupportActionBar(toolbar)
29 -
30 - skipButton.setOnClickListener {
31 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
32 - startActivity(intent)
33 - }
34 -
35 - questionButton.setOnClickListener {
36 - val builder = AlertDialog.Builder(this)
37 - val dialogView = layoutInflater.inflate(R.layout.family_member_dialog, null)
38 - //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
39 - //val dialogRatingBar = dialogView.findViewById<RatingBar>(R.id.dialogRb)
40 - dialogView.findViewById<TextView>(R.id.dialogTitle).text="가족구성원이란?"
41 - dialogView.findViewById<TextView>(R.id.dialogContent).text="주민등록상 같은 거주지에 사는 사람"
42 -
43 - builder.setView(dialogView)
44 - .setPositiveButton("확인") { dialogInterface, i ->
45 - //mainTv.text = dialogText.text.toString()
46 - //mainRb.rating = dialogRatingBar.rating
47 - /* 확인일 때 main의 View의 값에 dialog View에 있는 값을 적용 */
48 -
49 - }
50 - /*
51 - .setNegativeButton("취소") { dialogInterface, i ->
52 - /* 취소일 때 아무 액션이 없으므로 빈칸 */
53 - }
54 - */
55 -
56 - .show()
57 -
58 - }
59 -
60 - val prof: SharedPreferences=getSharedPreferences("profdata", Context.MODE_PRIVATE)
61 - val editor: SharedPreferences.Editor=prof.edit()
62 -
63 - previousButton.setOnClickListener {
64 - var intent = Intent(this, InputProfilThirdFourActivity::class.java)
65 - startActivity(intent)
66 - }
67 -
68 - yesButton.setOnClickListener {
69 - subLinearLayout.visibility=GONE
70 - noButton.isChecked=false
71 - }
72 -
73 - noButton.setOnClickListener {
74 - subLinearLayout.visibility=VISIBLE
75 - yesButton.isChecked=false
76 - }
77 -
78 - nextButton.setOnClickListener {
79 -
80 - if(yesButton.isChecked){
81 - editor.putInt("c14_2",1)
82 - editor.commit()
83 - }
84 - if(noButton.isChecked){
85 - editor.putInt("c14_3",1)
86 - editor.commit()
87 - }
88 - if(jeonsaeButton.isChecked){
89 - editor.putInt("c16_2",1)
90 - editor.commit()
91 - }
92 - if(wolseButton.isChecked){
93 - editor.putInt("c16_3",1)
94 - editor.commit()
95 - }
96 - if(kongkongButton.isChecked){
97 - editor.putInt("c16_4",1)
98 - editor.commit()
99 - }
100 - if(moosangButton.isChecked){
101 - editor.putInt("c16_5",1)
102 - editor.commit()
103 - }
104 - if(bojangButton.isChecked){
105 - editor.putInt("c16_6",1)
106 - editor.commit()
107 - }
108 - if(guitarButton.isChecked){
109 - editor.putInt("c16_7",1)
110 - editor.commit()
111 - }
112 -
113 - var intent = Intent(this, InputProfilFourthTwoActivity::class.java)
114 - startActivity(intent)
115 - }
116 - }
117 -
118 -
119 -
120 -
121 -}
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 kotlinx.android.synthetic.main.activity_input_profil_fourth_three.*
9 -
10 -class InputProfilFourthThreeActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_fourth_three)
15 -
16 - previousButton.setOnClickListener {
17 - var intent = Intent(this, InputProfilFourthTwoActivity::class.java)
18 - startActivity(intent)
19 - }
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
24 -
25 - nextButton.setOnClickListener {
26 - if(nothingButton.isChecked){editor.putInt("c8_1",1); editor.commit()}
27 - if(jeosodeukButton.isChecked){editor.putInt("c8_3",1); editor.commit()}
28 - if(hanboomoButton.isChecked){editor.putInt("c8_7",1); editor.commit()}
29 - if(oegookinButton.isChecked){editor.putInt("c8_5",1); editor.commit()}
30 - if(damoonhwaButton.isChecked){editor.putInt("c8_4",1); editor.commit()}
31 - if(jaangaeButton.isChecked){editor.putInt("c8_2",1); editor.commit()}
32 - if(imshinchoolsanButton.isChecked){editor.putInt("c7_1",1); editor.commit()}
33 - if(ipyaangButton.isChecked){editor.putInt("c8_10",1); editor.commit()}
34 - if(gaajungButton.isChecked){editor.putInt("c8_11",1); editor.commit()}
35 - if(bookhanButton.isChecked){editor.putInt("c8_6",1); editor.commit()}
36 - if(gookgayoogongButton.isChecked){editor.putInt("c8_8",1); editor.commit()}
37 - if(guitarButton.isChecked){editor.putInt("c8_17",1); editor.commit()}
38 -
39 - var intent = Intent(this, InputProfilFourthFourActivity::class.java)
40 - startActivity(intent)
41 - }
42 -
43 - }
44 -}
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.View.GONE
9 -import android.view.View.VISIBLE
10 -import kotlinx.android.synthetic.main.activity_input_profil_fourth_two.*
11 -
12 -class InputProfilFourthTwoActivity : AppCompatActivity() {
13 -
14 - override fun onCreate(savedInstanceState: Bundle?) {
15 - super.onCreate(savedInstanceState)
16 - setContentView(R.layout.activity_input_profil_fourth_two)
17 -
18 - previousButton.setOnClickListener {
19 - var intent = Intent(this, InputProfilFourthOneActivity::class.java)
20 - startActivity(intent)
21 - }
22 -
23 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
24 - val editor: SharedPreferences.Editor=prof.edit()
25 -
26 - nextButton.setOnClickListener {
27 - if(yesButton.isChecked){editor.putInt("c15_2",1); editor.commit()}
28 - if(noButton.isChecked){editor.putInt("c15_3",1); editor.commit()}
29 - if(jeonsaeButton.isChecked){editor.putInt("c16_2",1); editor.commit()}
30 - if(wolseButton.isChecked){editor.putInt("c16_3",1); editor.commit()}
31 - if(kongkongButton.isChecked){editor.putInt("c16_4",1); editor.commit()}
32 - if(moosangButton.isChecked){editor.putInt("c16_5",1); editor.commit()}
33 - if(bojangButton.isChecked){editor.putInt("c16_6",1); editor.commit()}
34 - if(guitarButton.isChecked){editor.putInt("c16_7",1); editor.commit()}
35 -
36 - var intent = Intent(this, InputProfilFourthThreeActivity::class.java)
37 - startActivity(intent)
38 - }
39 -
40 - yesButton.setOnClickListener {
41 - subLayout.visibility=GONE
42 - noButton.isChecked=false
43 - }
44 - noButton.setOnClickListener {
45 - subLayout.visibility=VISIBLE
46 - yesButton.isChecked=false
47 - }
48 -
49 - }
50 -}
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.widget.Button
9 -import android.widget.EditText
10 -import android.widget.RatingBar
11 -import android.widget.TextView
12 -import androidx.appcompat.app.AlertDialog
13 -import kotlinx.android.synthetic.main.activity_input_profil_second_one.*
14 -import kotlinx.android.synthetic.main.family_member_dialog.*
15 -import kotlinx.android.synthetic.main.family_member_dialog.view.*
16 -
17 -class InputProfilSecondOneActivity : AppCompatActivity() {
18 -
19 - override fun onCreate(savedInstanceState: Bundle?) {
20 - super.onCreate(savedInstanceState)
21 - setContentView(R.layout.activity_input_profil_second_one)
22 -
23 - // 1. 툴바 사용 설정
24 - setSupportActionBar(toolbar)
25 -
26 - skipButton.setOnClickListener {
27 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
28 - startActivity(intent)
29 - }
30 -
31 - questionButton.setOnClickListener {
32 - val builder = AlertDialog.Builder(this)
33 - val dialogView = layoutInflater.inflate(R.layout.family_member_dialog, null)
34 - //val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
35 - //val dialogRatingBar = dialogView.findViewById<RatingBar>(R.id.dialogRb)
36 - dialogView.findViewById<TextView>(R.id.dialogTitle).text="가족구성원이란?"
37 - dialogView.findViewById<TextView>(R.id.dialogContent).text="주민등록상 같은 거주지에 사는 사람"
38 -
39 - builder.setView(dialogView)
40 - .setPositiveButton("확인") { dialogInterface, i ->
41 - //mainTv.text = dialogText.text.toString()
42 - //mainRb.rating = dialogRatingBar.rating
43 - /* 확인일 때 main의 View의 값에 dialog View에 있는 값을 적용 */
44 -
45 - }
46 - /*
47 - .setNegativeButton("취소") { dialogInterface, i ->
48 - /* 취소일 때 아무 액션이 없으므로 빈칸 */
49 - }
50 - */
51 -
52 - .show()
53 -
54 - }
55 -
56 - previousButton.setOnClickListener {
57 - var intent = Intent(this, InputProfilFirstFiveActivity::class.java)
58 - startActivity(intent)
59 - }
60 -
61 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
62 - val editor: SharedPreferences.Editor=prof.edit()
63 -
64 -
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 - ){
88 - var intent = Intent(this, InputProfilSecondTwoActivity::class.java)
89 - startActivity(intent)
90 - }else{
91 - var intent = Intent(this, InputProfilThirdOneActivity::class.java)
92 - startActivity(intent)
93 - }
94 - }
95 - }
96 -}
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.widget.EditText
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
14 -
15 -class InputProfilSecondThreeActivity : AppCompatActivity() {
16 -
17 - override fun onCreate(savedInstanceState: Bundle?) {
18 - super.onCreate(savedInstanceState)
19 - setContentView(R.layout.activity_input_profil_second_three)
20 -
21 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
22 - val editor: SharedPreferences.Editor=prof.edit()
23 -
24 -
25 - setSupportActionBar(toolbar)
26 -
27 - skipButton.setOnClickListener {
28 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
29 - startActivity(intent)
30 - }
31 -
32 - previousButton.setOnClickListener {
33 - var intent = Intent(this, InputProfilSecondTwoActivity::class.java)
34 - startActivity(intent)
35 - }
36 -
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 - }
45 - var intent = Intent(this, InputProfilThirdOneActivity::class.java)
46 - startActivity(intent)
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 - }
73 - }
74 -}
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.View.GONE
9 -import android.view.View.VISIBLE
10 -import android.widget.EditText
11 -import android.widget.Toast
12 -import androidx.core.content.ContextCompat
13 -import kotlinx.android.synthetic.main.activity_input_profil_second_two.*
14 -import kotlinx.android.synthetic.main.item_child.view.*
15 -
16 -class InputProfilSecondTwoActivity : AppCompatActivity() {
17 -
18 - override fun onCreate(savedInstanceState: Bundle?) {
19 - super.onCreate(savedInstanceState)
20 - setContentView(R.layout.activity_input_profil_second_two)
21 -
22 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
23 - val editor: SharedPreferences.Editor=prof.edit()
24 -
25 - setSupportActionBar(toolbar)
26 - skipButton.setOnClickListener {
27 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
28 - startActivity(intent)
29 - }
30 - previousButton.setOnClickListener {
31 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
32 - startActivity(intent)
33 - }
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"){
55 - var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
56 - startActivity(intent)
57 - }else{
58 - var intent = Intent(this, InputProfilThirdOneActivity::class.java)
59 - startActivity(intent)
60 - }
61 - }
62 -//val dialogText = dialogView.findViewById<EditText>(R.id.dialogEt)
63 - //mainTv.text = dialogText.text.toString()
64 - val childList = ArrayList<ChildItem>()
65 - childNumberInputButton.setOnClickListener {
66 -
67 - if(findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()>0){
68 - var childNum=findViewById<EditText>(R.id.childNumberEditText).text.toString().toInt()
69 - var cnt=1
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
80 - }
81 -
82 - val adapter = ChildAdapter(childList)
83 - childRecyclerView.adapter = adapter
84 -
85 -
86 -
87 - }
88 -
89 -
90 - }
91 -}
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.View.GONE
9 -import android.view.View.VISIBLE
10 -import kotlinx.android.synthetic.main.activity_input_profil_third_four.*
11 -
12 -class InputProfilThirdFourActivity : AppCompatActivity() {
13 -
14 - override fun onCreate(savedInstanceState: Bundle?) {
15 - super.onCreate(savedInstanceState)
16 - setContentView(R.layout.activity_input_profil_third_four)
17 -
18 -
19 - previousButton.setOnClickListener {
20 - var intent = Intent(this, InputProfilThirdThreeActivity::class.java)
21 - startActivity(intent)
22 - }
23 -
24 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
25 - val editor: SharedPreferences.Editor=prof.edit()
26 -
27 - nextButton.setOnClickListener {
28 -
29 - if(yesButton.isChecked){
30 - editor.putInt("c8_2",1); editor.commit()
31 - }
32 - if(jichaeButton.isChecked){editor.putInt("c9_2",1); editor.commit()}
33 - if(noebyungbyunButton.isChecked){editor.putInt("c9_3",1); editor.commit()}
34 - if(sigaakButton.isChecked){editor.putInt("c9_4",1); editor.commit()}
35 - if(chungkaakButton.isChecked){editor.putInt("c9_5",1); editor.commit()}
36 - if(unuhButton.isChecked){editor.putInt("c9_6",1); editor.commit()}
37 - if(ahnmyunButton.isChecked){editor.putInt("c9_7",1); editor.commit()}
38 - if(sinjaangButton.isChecked){editor.putInt("c9_8",1); editor.commit()}
39 - if(simjaangButton.isChecked){editor.putInt("c9_9",1); editor.commit()}
40 - if(gaanjaangButton.isChecked){editor.putInt("c9_10",1); editor.commit()}
41 - if(jaangrooButton.isChecked){editor.putInt("c9_11",1); editor.commit()}
42 - if(noejungjeungButton.isChecked){editor.putInt("c9_12",1); editor.commit()}
43 - if(hoheupkiButton.isChecked){editor.putInt("c9_13",1); editor.commit()}
44 - if(jijukButton.isChecked){editor.putInt("c9_14",1); editor.commit()}
45 - if(japyeahButton.isChecked){editor.putInt("c9_15",1); editor.commit()}
46 - if(jeongshinButton.isChecked){editor.putInt("c9_16",1); editor.commit()}
47 -
48 - if(nothingButton.isChecked){editor.putInt("c8_1",1); editor.commit()}//DB,pref 뻑 주의
49 - if(imshinButton.isChecked){editor.putInt("c7_2",1); editor.commit()}
50 - if(nanchiButton.isChecked){editor.putInt("c9_17",1); editor.commit()}
51 - if(oeButton.isChecked){editor.putInt("c9_18",1); editor.commit()}
52 - if(yoyaangButton.isChecked){editor.putInt("c9_19",1); editor.commit()}
53 - if(guitarButton.isChecked){editor.putInt("c8_17",1); editor.commit()}
54 -
55 - var intent = Intent(this, InputProfilFourthOneActivity::class.java)
56 - startActivity(intent)
57 - }
58 -
59 - yesButton.setOnClickListener {
60 - eightoneLayout.visibility=VISIBLE
61 - eighttwoLayout.visibility= GONE
62 -
63 - }
64 - noButton.setOnClickListener {
65 - eightoneLayout.visibility= GONE
66 - eighttwoLayout.visibility= VISIBLE
67 - }
68 -
69 -
70 - }
71 -}
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.widget.Button
9 -import android.widget.TextView
10 -import kotlinx.android.synthetic.main.activity_input_profil_third_one.*
11 -
12 -class InputProfilThirdOneActivity : AppCompatActivity() {
13 -
14 - override fun onCreate(savedInstanceState: Bundle?) {
15 - super.onCreate(savedInstanceState)
16 - setContentView(R.layout.activity_input_profil_third_one)
17 -
18 - // 1. 툴바 사용 설정
19 - setSupportActionBar(toolbar)
20 -
21 - skipButton.setOnClickListener {
22 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
23 - startActivity(intent)
24 - }
25 -
26 - elementaryButton.setOnClickListener {
27 - middleButton.isChecked=false
28 - highButton.isChecked=false
29 - specialButton.isChecked=false
30 - universityButton.isChecked=false
31 - graduateButton.isChecked=false
32 - nothingButton.isChecked=false
33 - }
34 - middleButton.setOnClickListener {
35 - elementaryButton.isChecked=false
36 - highButton.isChecked=false
37 - specialButton.isChecked=false
38 - universityButton.isChecked=false
39 - graduateButton.isChecked=false
40 - nothingButton.isChecked=false
41 - }
42 - highButton.setOnClickListener {
43 - elementaryButton.isChecked=false
44 - middleButton.isChecked=false
45 - specialButton.isChecked=false
46 - universityButton.isChecked=false
47 - graduateButton.isChecked=false
48 - nothingButton.isChecked=false
49 - }
50 - specialButton.setOnClickListener {
51 - elementaryButton.isChecked=false
52 - middleButton.isChecked=false
53 - highButton.isChecked=false
54 - universityButton.isChecked=false
55 - graduateButton.isChecked=false
56 - nothingButton.isChecked=false
57 - }
58 - universityButton.setOnClickListener {
59 - elementaryButton.isChecked=false
60 - middleButton.isChecked=false
61 - highButton.isChecked=false
62 - specialButton.isChecked=false
63 - graduateButton.isChecked=false
64 - nothingButton.isChecked=false
65 - }
66 - graduateButton.setOnClickListener {
67 - elementaryButton.isChecked=false
68 - middleButton.isChecked=false
69 - highButton.isChecked=false
70 - specialButton.isChecked=false
71 - universityButton.isChecked=false
72 - nothingButton.isChecked=false
73 - }
74 - nothingButton.setOnClickListener {
75 - elementaryButton.isChecked=false
76 - middleButton.isChecked=false
77 - highButton.isChecked=false
78 - specialButton.isChecked=false
79 - universityButton.isChecked=false
80 - graduateButton.isChecked=false
81 - }
82 -
83 - previousButton.setOnClickListener {
84 - var intent = Intent(this, InputProfilSecondThreeActivity::class.java)
85 - startActivity(intent)
86 - }
87 -
88 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
89 - val editor: SharedPreferences.Editor=prof.edit()
90 -
91 - nextButton.setOnClickListener {
92 - if(elementaryButton.isChecked){
93 - editor.putInt("c6_2",1); editor.commit()
94 - }else if(middleButton.isChecked){
95 - editor.putInt("c6_3",1); editor.commit()
96 - }else if(highButton.isChecked){
97 - editor.putInt("c6_4",1); editor.commit()
98 - }else if(universityButton.isChecked){
99 - editor.putInt("c6_5",1); editor.commit()
100 - }else if(graduateButton.isChecked){
101 - editor.putInt("c6_6",1); editor.commit()
102 - }else if(nothingButton.isChecked){
103 - editor.putInt("c6_7",1); editor.commit()
104 - }else{
105 -
106 - }
107 -
108 -
109 - var intent = Intent(this, InputProfilThirdTwoActivity::class.java)
110 - startActivity(intent)
111 - }
112 - }
113 -}
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 kotlinx.android.synthetic.main.activity_input_profil_third_three.*
9 -
10 -class InputProfilThirdThreeActivity : AppCompatActivity() {
11 -
12 - override fun onCreate(savedInstanceState: Bundle?) {
13 - super.onCreate(savedInstanceState)
14 - setContentView(R.layout.activity_input_profil_third_three)
15 -
16 - // 1. 툴바 사용 설정
17 - setSupportActionBar(toolbar)
18 -
19 - skipButton.setOnClickListener {
20 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
21 - startActivity(intent)
22 - }
23 -
24 - previousButton.setOnClickListener {
25 - var intent = Intent(this, InputProfilThirdTwoActivity::class.java)
26 - startActivity(intent)
27 - }
28 -
29 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
30 - val editor: SharedPreferences.Editor=prof.edit()
31 -
32 - nextButton.setOnClickListener {
33 - if(nothingButton.isChecked){ editor.putInt("c4_11",1); editor.commit()}
34 - if(mipilButton.isChecked){ editor.putInt("c4_2",1); editor.commit()}
35 - if(myunjaeButton.isChecked){ editor.putInt("c4_3",1); editor.commit()}
36 - if(jobsoldierButton.isChecked){ editor.putInt("c4_4",1); editor.commit()}
37 - if(bokmoojoongButton.isChecked){ editor.putInt("c4_5",1); editor.commit()}
38 - if(mangijedaeButton.isChecked){ editor.putInt("c4_6",1); editor.commit()}
39 - if(specialmanryoButton.isChecked){ editor.putInt("c4_7",1); editor.commit()}
40 - if(specialbokmoosanupButton.isChecked){ editor.putInt("c4_8",1); editor.commit()}
41 - if(specialbokmoojeonmoonButton.isChecked){ editor.putInt("c4_9",1); editor.commit()}
42 - if(jedaeguitarButton.isChecked){ editor.putInt("c4_10",1); editor.commit()}
43 -
44 - var intent = Intent(this, InputProfilThirdFourActivity::class.java)
45 - startActivity(intent)
46 - }
47 -
48 - nothingButton.setOnClickListener {
49 - mipilButton.isChecked=false
50 - myunjaeButton.isChecked=false
51 - jobsoldierButton.isChecked=false
52 - bokmoojoongButton.isChecked=false
53 - mangijedaeButton.isChecked=false
54 - specialmanryoButton.isChecked=false
55 - specialbokmoosanupButton.isChecked=false
56 - specialbokmoojeonmoonButton.isChecked=false
57 - jedaeguitarButton.isChecked=false
58 - }
59 - mipilButton.setOnClickListener {
60 - nothingButton.isChecked=false
61 - myunjaeButton.isChecked=false
62 - jobsoldierButton.isChecked=false
63 - bokmoojoongButton.isChecked=false
64 - mangijedaeButton.isChecked=false
65 - specialmanryoButton.isChecked=false
66 - specialbokmoosanupButton.isChecked=false
67 - specialbokmoojeonmoonButton.isChecked=false
68 - jedaeguitarButton.isChecked=false
69 - }
70 - myunjaeButton.setOnClickListener {
71 - nothingButton.isChecked=false
72 - mipilButton.isChecked=false
73 - jobsoldierButton.isChecked=false
74 - bokmoojoongButton.isChecked=false
75 - mangijedaeButton.isChecked=false
76 - specialmanryoButton.isChecked=false
77 - specialbokmoosanupButton.isChecked=false
78 - specialbokmoojeonmoonButton.isChecked=false
79 - jedaeguitarButton.isChecked=false
80 - }
81 - jobsoldierButton.setOnClickListener {
82 - nothingButton.isChecked=false
83 - mipilButton.isChecked=false
84 - myunjaeButton.isChecked=false
85 - bokmoojoongButton.isChecked=false
86 - mangijedaeButton.isChecked=false
87 - specialmanryoButton.isChecked=false
88 - specialbokmoosanupButton.isChecked=false
89 - specialbokmoojeonmoonButton.isChecked=false
90 - jedaeguitarButton.isChecked=false
91 - }
92 - bokmoojoongButton.setOnClickListener {
93 - nothingButton.isChecked=false
94 - mipilButton.isChecked=false
95 - myunjaeButton.isChecked=false
96 - jobsoldierButton.isChecked=false
97 - mangijedaeButton.isChecked=false
98 - specialmanryoButton.isChecked=false
99 - specialbokmoosanupButton.isChecked=false
100 - specialbokmoojeonmoonButton.isChecked=false
101 - jedaeguitarButton.isChecked=false
102 - }
103 - mangijedaeButton.setOnClickListener {
104 - nothingButton.isChecked=false
105 - mipilButton.isChecked=false
106 - myunjaeButton.isChecked=false
107 - jobsoldierButton.isChecked=false
108 - bokmoojoongButton.isChecked=false
109 - specialmanryoButton.isChecked=false
110 - specialbokmoosanupButton.isChecked=false
111 - specialbokmoojeonmoonButton.isChecked=false
112 - jedaeguitarButton.isChecked=false
113 - }
114 - specialmanryoButton.setOnClickListener {
115 - nothingButton.isChecked=false
116 - mipilButton.isChecked=false
117 - myunjaeButton.isChecked=false
118 - jobsoldierButton.isChecked=false
119 - bokmoojoongButton.isChecked=false
120 - mangijedaeButton.isChecked=false
121 - specialbokmoosanupButton.isChecked=false
122 - specialbokmoojeonmoonButton.isChecked=false
123 - jedaeguitarButton.isChecked=false
124 - }
125 - specialbokmoosanupButton.setOnClickListener {
126 - nothingButton.isChecked=false
127 - mipilButton.isChecked=false
128 - myunjaeButton.isChecked=false
129 - jobsoldierButton.isChecked=false
130 - bokmoojoongButton.isChecked=false
131 - mangijedaeButton.isChecked=false
132 - specialmanryoButton.isChecked=false
133 - specialbokmoojeonmoonButton.isChecked=false
134 - jedaeguitarButton.isChecked=false
135 - }
136 - specialbokmoojeonmoonButton.setOnClickListener {
137 - nothingButton.isChecked=false
138 - mipilButton.isChecked=false
139 - myunjaeButton.isChecked=false
140 - jobsoldierButton.isChecked=false
141 - bokmoojoongButton.isChecked=false
142 - mangijedaeButton.isChecked=false
143 - specialmanryoButton.isChecked=false
144 - specialbokmoosanupButton.isChecked=false
145 - jedaeguitarButton.isChecked=false
146 - }
147 - jedaeguitarButton.setOnClickListener {
148 - nothingButton.isChecked=false
149 - mipilButton.isChecked=false
150 - myunjaeButton.isChecked=false
151 - jobsoldierButton.isChecked=false
152 - bokmoojoongButton.isChecked=false
153 - mangijedaeButton.isChecked=false
154 - specialmanryoButton.isChecked=false
155 - specialbokmoosanupButton.isChecked=false
156 - specialbokmoojeonmoonButton.isChecked=false
157 - }
158 -
159 - }
160 -}
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.View.GONE
9 -import android.view.View.VISIBLE
10 -import kotlinx.android.synthetic.main.activity_input_profil_third_two.*
11 -
12 -class InputProfilThirdTwoActivity : AppCompatActivity() {
13 -
14 - override fun onCreate(savedInstanceState: Bundle?) {
15 - super.onCreate(savedInstanceState)
16 - setContentView(R.layout.activity_input_profil_third_two)
17 -
18 - // 1. 툴바 사용 설정
19 - setSupportActionBar(toolbar)
20 -
21 - skipButton.setOnClickListener {
22 - var intent = Intent(this, InputProfilSecondOneActivity::class.java)
23 - startActivity(intent)
24 - }
25 -
26 - previousButton.setOnClickListener {
27 - var intent = Intent(this, InputProfilThirdOneActivity::class.java)
28 - startActivity(intent)
29 - }
30 -
31 - val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
32 - val editor: SharedPreferences.Editor=prof.edit()
33 -
34 - nextButton.setOnClickListener {
35 - if(companyButton.isChecked){ editor.putInt("c5_6",1); editor.commit()}
36 - if(workerButton.isChecked){ editor.putInt("c5_7",1); editor.commit()}
37 - if(entireButton.isChecked){ editor.putInt("c5_9",1); editor.commit()}
38 - if(startupButton.isChecked){ editor.putInt("c5_5",1); editor.commit()}
39 - if(seekButton.isChecked){ editor.putInt("c5_5",1); editor.commit()}
40 - //창업예정자랑 취준생이랑 같은 카테고리 맞음????
41 -
42 - var intent = Intent(this, InputProfilThirdThreeActivity::class.java)
43 - startActivity(intent)
44 - }
45 -
46 - jobButton.setOnClickListener {
47 - nojobButton.isChecked=false
48 - sixoneLayout.visibility=VISIBLE
49 - sixtwoLayout.visibility= GONE
50 - }
51 - nojobButton.setOnClickListener {
52 - jobButton.isChecked=false
53 - sixoneLayout.visibility=GONE
54 - sixtwoLayout.visibility= VISIBLE
55 - }
56 - companyButton.setOnClickListener {
57 - workerButton.isChecked=false
58 - }
59 - workerButton.setOnClickListener {
60 - companyButton.isChecked=false
61 - }
62 - entireButton.setOnClickListener {
63 - startupButton.isChecked=false
64 - seekButton.isChecked=false
65 - }
66 - startupButton.setOnClickListener {
67 - entireButton.isChecked=false
68 - seekButton.isChecked=false
69 - }
70 - seekButton.setOnClickListener {
71 - entireButton.isChecked=false
72 - startupButton.isChecked=false
73 - }
74 - }
75 -}
1 -package com.example.vip
2 -
3 -import android.animation.Animator
4 -import android.animation.AnimatorInflater
5 -import android.content.Context
6 -import android.content.Intent
7 -import android.content.SharedPreferences
8 -import androidx.appcompat.app.AppCompatActivity
9 -import android.os.Bundle
10 -import android.preference.PreferenceManager
11 -import android.util.Log
12 -import android.view.LayoutInflater
13 -import android.view.View
14 -import android.view.ViewGroup
15 -import android.widget.ImageView
16 -import android.widget.Toast
17 -import com.google.firebase.auth.FirebaseAuth
18 -import kotlinx.android.synthetic.main.activity_main.*
19 -import org.w3c.dom.Node
20 -import java.lang.Boolean.getBoolean
21 -
22 -
23 -class MainActivity : AppCompatActivity() {
24 -
25 - private val firebaseAuth = FirebaseAuth.getInstance()
26 -
27 - override fun onCreate(savedInstanceState: Bundle?) {
28 - super.onCreate(savedInstanceState)
29 -
30 -
31 -
32 - //onboarding start
33 -
34 - //onboarding end
35 - setContentView(R.layout.activity_main)
36 -
37 -
38 - emailSigninBtn.setOnClickListener{
39 - loginEmail()
40 -
41 - }
42 -
43 - emailSignupBtn.setOnClickListener {
44 - var intent = Intent(this, SignUpActivity::class.java)
45 - startActivity(intent)
46 - }
47 -
48 - }
49 -
50 - private fun loginEmail(){
51 - firebaseAuth!!.signInWithEmailAndPassword(edit_email.text.toString(), edit_password.text.toString())
52 - .addOnCompleteListener(this) {
53 - if (it.isSuccessful) {
54 - // Sign in success, update UI with the signed-in user's information
55 - Toast.makeText(this, "signInWithEmail success.",Toast.LENGTH_SHORT).show()
56 - val user = firebaseAuth?.currentUser
57 -
58 - if (user!=null){
59 - var intent = Intent(this, SignInActivity::class.java)
60 - startActivity(intent)
61 -
62 - }
63 -
64 -
65 - } else {
66 - // If sign in fails, display a message to the user.
67 - Toast.makeText(this, "signInWithEmail failed.",Toast.LENGTH_SHORT).show()
68 -
69 - }
70 - }
71 - }
72 -
73 -
74 -
75 -
76 -
77 -
78 -}
1 -package com.example.vip
2 -
3 -import android.content.Context
4 -import android.content.Intent
5 -import android.content.SharedPreferences
6 -import android.view.LayoutInflater
7 -import android.view.View
8 -import android.view.ViewGroup
9 -import android.widget.Toast
10 -import androidx.recyclerview.widget.RecyclerView
11 -import kotlinx.android.synthetic.main.item_policy.view.*
12 -import kotlinx.android.synthetic.main.item_policyfield.view.*
13 -
14 -class PolicyAdapter(private val items: ArrayList<PolicyItem>) :
15 - RecyclerView.Adapter<PolicyAdapter.ViewHolder>() {
16 -
17 - override fun getItemCount() = items.size
18 -
19 - override fun onBindViewHolder(holder: PolicyAdapter.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 - PolicyAdapter.ViewHolder {
30 - val inflatedView = LayoutInflater.from(parent.context)
31 - .inflate(R.layout.item_policy, parent, false)
32 - return PolicyAdapter.ViewHolder(inflatedView)
33 - }
34 -
35 - class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
36 -
37 - private var view: View = v
38 -
39 - val prof: SharedPreferences = view.context.getSharedPreferences("profdata", Context.MODE_PRIVATE)
40 - val editor: SharedPreferences.Editor=prof.edit()
41 -
42 - var tempstring=prof.getString("favorstringlist","")
43 - var sepstr=tempstring!!.split("@")
44 - var sepstrset=sepstr.toMutableSet()
45 -
46 - fun bind(item: PolicyItem) {
47 - view.policyImage.setImageDrawable(item.policyItemImage)
48 - view.policyDday.text = item.policyItemDday
49 - view.policyHost.text = item.policyItemHost
50 - view.policyTitle.text = item.policyItemTitle
51 - view.policyScore.rating= item.policyItemScore
52 - view.policyFavor.text=item.policyItemFavor
53 -
54 -
55 - if(item.policyItemTitle in sepstrset){
56 - view.policyFavor.isChecked=true
57 - }
58 - else{
59 -
60 - }
61 - view.setOnClickListener{
62 -
63 - val intent=Intent(view.context, DetailActivity::class.java)
64 - //putExtraStart
65 - intent.putExtra("key",item.policyItemTitle)
66 - //putExtraEnd
67 - view.context.startActivity(intent)
68 - }
69 -
70 - view.policyFavor.setOnClickListener {
71 - if (view.policyFavor.isChecked) {
72 - tempstring = tempstring + view.policyTitle.text.toString() + "@"
73 - editor.putString("favorstringlist", tempstring)
74 - editor.commit()
75 - Toast.makeText(
76 - view.context,
77 - "찜목록 추가 완료! : " + view.policyTitle.text.toString(),
78 - Toast.LENGTH_SHORT
79 - ).show()
80 - } else {
81 - sepstrset.remove(view.policyTitle.text.toString())
82 - editor.putString("favorstringlist", sepstrset.joinToString("@"))
83 - editor.commit()
84 - Toast.makeText(
85 - view.context,
86 - "찜목록 제거 완료! : " + view.policyTitle.text.toString(),
87 - Toast.LENGTH_SHORT
88 - ).show()
89 - }
90 - }
91 - }
92 - }
93 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.view.LayoutInflater
5 -import android.view.View
6 -import android.view.ViewGroup
7 -import android.widget.Toast
8 -import androidx.recyclerview.widget.RecyclerView
9 -import kotlinx.android.synthetic.main.item_policyfield.view.*
10 -
11 -class PolicyFieldAdapter(private val items: ArrayList<PolicyFieldItem>) :
12 - RecyclerView.Adapter<PolicyFieldAdapter.ViewHolder>() {
13 -
14 - override fun getItemCount() = items.size
15 -
16 - override fun onBindViewHolder(holder: PolicyFieldAdapter.ViewHolder, position: Int) {
17 - val item = items[position]
18 -
19 - holder.apply {
20 - bind(item)
21 - itemView.tag = item
22 - }
23 - }
24 -
25 - override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
26 - PolicyFieldAdapter.ViewHolder {
27 - val inflatedView = LayoutInflater.from(parent.context)
28 - .inflate(R.layout.item_policyfield, parent, false)
29 - return PolicyFieldAdapter.ViewHolder(inflatedView)
30 - }
31 -
32 - class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
33 -
34 - private var view: View = v
35 -
36 - fun bind(item: PolicyFieldItem) {
37 - view.fieldIcon.setImageDrawable(item.policyFieldItemImage)
38 - view.fieldIconText.text = item.policyFieldItemText
39 - view.setOnClickListener{
40 -
41 - val intent=Intent(view.context, RecommendActivity::class.java)
42 - //putExtraStart
43 - intent.putExtra("key",item.policyFieldItemText)
44 - //putExtraEnd
45 - view.context.startActivity(intent)
46 - }
47 - }
48 - }
49 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.graphics.drawable.Drawable
4 -
5 -class PolicyFieldItem(val policyFieldItemImage: Drawable, val policyFieldItemText: String) {
6 -
7 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.graphics.drawable.Drawable
4 -
5 -class PolicyItem(val policyItemImage: Drawable,
6 - val policyItemDday: String,
7 - val policyItemHost: String,
8 - val policyItemTitle: String,
9 - val policyItemScore: Float,
10 - val policyItemFavor: String) {
11 -
12 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.app.Activity
4 -import android.content.Context
5 -import android.content.Intent
6 -import android.content.SharedPreferences
7 -import android.os.Bundle
8 -import android.util.Half.toFloat
9 -import android.view.Menu
10 -import android.view.MenuItem
11 -import android.widget.Toast
12 -import androidx.appcompat.app.ActionBar
13 -import androidx.appcompat.app.AppCompatActivity
14 -import androidx.core.content.ContextCompat
15 -import androidx.core.content.ContextCompat.startActivity
16 -import androidx.viewpager.widget.ViewPager
17 -import com.google.android.material.bottomnavigation.BottomNavigationView
18 -import com.google.android.material.snackbar.Snackbar
19 -import com.google.firebase.database.DataSnapshot
20 -import com.google.firebase.database.DatabaseError
21 -import com.google.firebase.database.FirebaseDatabase
22 -import com.google.firebase.database.ValueEventListener
23 -import kotlinx.android.synthetic.main.activity_recommend.*
24 -import kotlinx.android.synthetic.main.activity_signin.*
25 -import kotlinx.android.synthetic.main.activity_signin.toolbar
26 -import kotlinx.android.synthetic.main.item_policy.*
27 -import kotlinx.android.synthetic.main.item_policy.view.*
28 -import kotlinx.android.synthetic.main.search.*
29 -
30 -data class MemoItemRecom(
31 - val Target : String = "",
32 - val Policy : String = "",
33 - val Content : String = "",
34 - val Link : String = ""
35 -)
36 -
37 -class RecommendActivity : AppCompatActivity() {
38 -
39 - ////bottom navigation view operation start 1
40 - lateinit var bottomBar: ActionBar
41 - ////bottom navigation view operation end 1
42 - override fun onCreate(savedInstanceState: Bundle?) {
43 - super.onCreate(savedInstanceState)
44 - setContentView(R.layout.activity_recommend)
45 -
46 - val policyList = ArrayList<PolicyItem>()
47 - var recomdatabase = FirebaseDatabase.getInstance().reference
48 -
49 - if (intent.hasExtra("key")) {
50 - //textView.text = intent.getStringExtra("key") 텍뷰추가하면 인텐트로 값넘기는거 보임
51 -
52 - recomdatabase.orderByChild("Policy").startAt(intent.getStringExtra("key")).endAt(intent.getStringExtra("key")+"\uf8ff").addListenerForSingleValueEvent(object :
53 - ValueEventListener {
54 - override fun onCancelled(p0: DatabaseError) {
55 - Toast.makeText(this@RecommendActivity, "실패부분", Toast.LENGTH_SHORT).show()
56 - }
57 - override fun onDataChange(dataSnapshot: DataSnapshot) {
58 - for (memoSnapshot in dataSnapshot.children){
59 - val memo = memoSnapshot.getValue(MemoItemRecom::class.java)
60 -
61 - policyList.add(
62 - PolicyItem(
63 - ContextCompat.getDrawable(this@RecommendActivity, R.drawable.image01)!!,
64 - memo!!.Policy,
65 - memo!!.Policy,
66 - memo!!.Policy,
67 - 4.toFloat(),
68 - ""
69 - )
70 - )
71 - }
72 - val adapter = PolicyAdapter(policyList)
73 - policyRecyclerView.adapter = adapter
74 - }
75 - })
76 -
77 - } else {
78 - Toast.makeText(this, "putExtra value not found", Toast.LENGTH_SHORT).show()
79 -
80 - recomdatabase.orderByChild("Policy").startAt(intent.getStringExtra("\uf8ff")).addListenerForSingleValueEvent(object :
81 - ValueEventListener {
82 - override fun onCancelled(p0: DatabaseError) {
83 - Toast.makeText(this@RecommendActivity, "실패부분", Toast.LENGTH_SHORT).show()
84 - }
85 - override fun onDataChange(dataSnapshot: DataSnapshot) {
86 - for (memoSnapshot in dataSnapshot.children){
87 - val memo = memoSnapshot.getValue(MemoItemRecom::class.java)
88 -
89 - policyList.add(
90 - PolicyItem(
91 - ContextCompat.getDrawable(this@RecommendActivity, R.drawable.image01)!!,
92 - memo!!.Policy,
93 - memo!!.Policy,
94 - memo!!.Policy,
95 - 4.toFloat(),
96 - ""
97 -
98 - )
99 - )
100 - }
101 - val adapter = PolicyAdapter(policyList)
102 - policyRecyclerView.adapter = adapter
103 - }
104 - })
105 - }
106 - // 1. 툴바 사용 설정
107 - setSupportActionBar(toolbar)
108 - // 2. 툴바 왼쪽 버튼 설정
109 - supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
110 - supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
111 - supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
112 - ////bottom navigation view operation start 2
113 - bottomBar=supportActionBar!!
114 - val bottomNavigation: BottomNavigationView =findViewById(R.id.bottomNavigation)
115 - bottomNavigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener)
116 - ////bottom navigation view operation end 2
117 - }
118 - // 3.툴바 메뉴 버튼을 설정
119 - override fun onCreateOptionsMenu(menu: Menu?): Boolean {
120 - menuInflater.inflate(R.menu.main_menu, menu) // main_menu 메뉴를 toolbar 메뉴 버튼으로 설정
121 - return true
122 - }
123 - // 4.툴바 메뉴 버튼이 클릭 됐을 때 콜백
124 - override fun onOptionsItemSelected(item: MenuItem?): Boolean {
125 - // 클릭된 메뉴 아이템의 아이디 마다 when 구절로 클릭시 동작을 설정한다.
126 - when(item!!.itemId){
127 - android.R.id.home->{ // 메뉴 버튼
128 - Snackbar.make(toolbar,"Menu pressed",Snackbar.LENGTH_SHORT).show()
129 - }
130 - R.id.menu_search->{ // 검색 버튼
131 - val search_Intent = Intent(this, SearchActivity::class.java)
132 - startActivity(search_Intent)
133 - //Snackbar.make(toolbar,"Search menu pressed",Snackbar.LENGTH_SHORT).show()
134 - }
135 - }
136 - return super.onOptionsItemSelected(item)
137 - }
138 -
139 - //bottom navigation view operation start 3
140 - private val mOnNavigationItemSelectedListener=BottomNavigationView.OnNavigationItemSelectedListener{item->
141 - when (item.itemId){
142 -
143 - R.id.bottomHome ->{
144 - val intent = Intent(this, SignInActivity::class.java)
145 - startActivity(intent)
146 - return@OnNavigationItemSelectedListener true
147 - }
148 - R.id.bottomRecommend ->{
149 - val intent = Intent(this, RecommendActivity::class.java)
150 - startActivity(intent)
151 - return@OnNavigationItemSelectedListener true
152 - }
153 - R.id.bottomFavorites ->{
154 - val intent = Intent(this, FavoritesActivity::class.java)
155 - startActivity(intent)
156 - return@OnNavigationItemSelectedListener true
157 - }
158 - R.id.bottomInfo ->{
159 - val intent = Intent(this, InfoActivity::class.java)
160 - startActivity(intent)
161 - return@OnNavigationItemSelectedListener true
162 - }
163 -
164 -
165 - }
166 - false
167 - }
168 -//bottom navigation view operation end 3
169 -
170 -}
1 -package com.example.vip
2 -
3 -import android.content.Context
4 -import android.os.Bundle
5 -import androidx.appcompat.app.AppCompatActivity
6 -//import androidx.appcompat.widget.SearchView
7 -import androidx.core.app.ComponentActivity.ExtraData
8 -import androidx.core.content.ContextCompat.getSystemService
9 -import android.icu.lang.UCharacter.GraphemeClusterBreak.T
10 -import android.view.View
11 -import android.content.Intent
12 -import android.util.Log
13 -import android.view.inputmethod.InputMethodManager
14 -import android.widget.*
15 -import androidx.core.content.ContextCompat
16 -import com.google.firebase.database.*
17 -import com.google.firebase.database.DatabaseReference
18 -import com.google.firebase.database.FirebaseDatabase
19 -import kotlinx.android.synthetic.main.search.*
20 -
21 -
22 -
23 -data class MemoItem(
24 - val Target : String = "",
25 - val Policy : String = "",
26 - val Content : String = "",
27 - val Link : String = ""
28 -)
29 -
30 -var database = FirebaseDatabase.getInstance().reference
31 -
32 -class SearchActivity : AppCompatActivity() {
33 - override fun onCreate(savedInstanceState: Bundle?) {
34 - super.onCreate(savedInstanceState)
35 - setContentView(R.layout.search)
36 -
37 - val searchList = ArrayList<SearchItem>()
38 - val no_search : ImageView = findViewById(R.id.no_matching) // 노서치이미지
39 -
40 - val searchView: SearchView
41 - searchView = findViewById(R.id.searchForm)
42 - //searchView.onActionViewExpanded(); //new Added line
43 - searchView.setIconifiedByDefault(false)
44 -
45 - fun CloseKeyboard()
46 - {
47 - var view = this.currentFocus
48 -
49 - if(view != null)
50 - {
51 - val inputMethodManager = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
52 - inputMethodManager.hideSoftInputFromWindow(view.windowToken, 0)
53 - }
54 - }
55 -
56 - searchView.setOnQueryTextListener(object : SearchView.OnQueryTextListener {
57 - override fun onQueryTextSubmit(query: String): Boolean {
58 - // 검색 버튼이 눌러졌을 때 이벤트 처리
59 - val layout : LinearLayout = findViewById(R.id.hashtag_linear)
60 - layout.setVisibility(View.GONE)
61 -
62 - CloseKeyboard()
63 - database.orderByChild("Policy").startAt("$query").endAt("$query"+"\uf8ff").addListenerForSingleValueEvent(object : ValueEventListener {
64 - override fun onCancelled(p0: DatabaseError) {
65 - Toast.makeText(this@SearchActivity, "실패부분 : $query", Toast.LENGTH_SHORT).show()
66 - }
67 - override fun onDataChange(dataSnapshot: DataSnapshot) {
68 - if (dataSnapshot.exists() == false){ // 값 없을 때
69 - no_search.setVisibility(View.VISIBLE)
70 - }
71 - else {
72 - no_search.setVisibility(View.GONE)
73 - }
74 -
75 - for (memoSnapshot in dataSnapshot.children){
76 - val memo = memoSnapshot.getValue(MemoItem::class.java)
77 -
78 - searchList.add(
79 - SearchItem(
80 - ContextCompat.getDrawable(this@SearchActivity, R.drawable.image01)!!, memo!!.Policy
81 - )
82 - )
83 - }
84 - val adapter=SearchAdapter(searchList)
85 - searchRecyclerView.adapter=adapter
86 - }
87 - })
88 - searchList.clear()
89 -
90 - return true
91 - }
92 -
93 -
94 -
95 - override fun onQueryTextChange(newText: String): Boolean {
96 - // 검색어가 변경되었을 때 이벤트 처리
97 - return false
98 - }
99 - })
100 - }
101 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.view.LayoutInflater
5 -import android.view.View
6 -import android.view.ViewGroup
7 -import androidx.recyclerview.widget.RecyclerView
8 -import kotlinx.android.synthetic.main.item_search.view.*
9 -
10 -class SearchAdapter(private val items: ArrayList<SearchItem>) :
11 - RecyclerView.Adapter<SearchAdapter.ViewHolder>() {
12 -
13 - override fun getItemCount() = items.size
14 -
15 - override fun onBindViewHolder(holder: SearchAdapter.ViewHolder, position: Int) {
16 - val item = items[position]
17 -
18 - holder.apply {
19 - bind(item)
20 - itemView.tag = item
21 - }
22 - }
23 -
24 - override fun onCreateViewHolder(parent: ViewGroup, viewType: Int):
25 - SearchAdapter.ViewHolder {
26 - val inflatedView = LayoutInflater.from(parent.context)
27 - .inflate(R.layout.item_search, parent, false)
28 - return SearchAdapter.ViewHolder(inflatedView)
29 - }
30 -
31 - class ViewHolder(v: View) : RecyclerView.ViewHolder(v) {
32 -
33 - private var view: View = v
34 -
35 - fun bind(item: SearchItem) {
36 - view.searchIcon.setImageDrawable(item.searchItemImage)
37 - view.searchIconText.text = item.searchItemText
38 - view.setOnClickListener{
39 -
40 - val intent=Intent(view.context, DetailActivity::class.java)
41 - intent.putExtra("key",item.searchItemText)
42 - view.context.startActivity(intent)
43 - }
44 - }
45 - }
46 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.graphics.drawable.Drawable
4 -
5 -class SearchItem(val searchItemImage: Drawable, val searchItemText: String) {
6 -
7 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import androidx.appcompat.app.AppCompatActivity
4 -import android.os.Bundle
5 -import android.util.Log
6 -import android.widget.EditText
7 -import android.widget.Toast
8 -import com.google.firebase.messaging.FirebaseMessaging
9 -import kotlinx.android.synthetic.main.activity_setting.*
10 -
11 -class SettingActivity : AppCompatActivity() {
12 -
13 - override fun onCreate(savedInstanceState: Bundle?) {
14 - super.onCreate(savedInstanceState)
15 - setContentView(R.layout.activity_setting)
16 -
17 - subscribeButton.setOnClickListener {
18 - var editTextHello = findViewById(R.id.editText2) as EditText
19 - Log.d(TAG, "Subscribing to weather topic")
20 - // [START subscribe_topics]
21 - Toast.makeText(this, editTextHello.text.toString(), Toast.LENGTH_SHORT).show()
22 - FirebaseMessaging.getInstance().subscribeToTopic(editTextHello.text.toString())
23 - .addOnCompleteListener { task ->
24 - var msg = getString(R.string.msg_subscribed)
25 - if (!task.isSuccessful) {
26 - msg = getString(R.string.msg_subscribe_failed)
27 - }
28 - Log.d(TAG, msg)
29 - Toast.makeText(baseContext, msg, Toast.LENGTH_SHORT).show()
30 - }
31 - // [END subscribe_topics]
32 - }
33 -
34 - }
35 - companion object {
36 -
37 - private const val TAG = "SettingActivity"
38 - }
39 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.os.Bundle
5 -import android.view.Menu
6 -import android.view.MenuItem
7 -import android.widget.Toast
8 -import androidx.appcompat.app.ActionBar
9 -import androidx.appcompat.app.AppCompatActivity
10 -import androidx.core.content.ContextCompat
11 -import androidx.viewpager.widget.ViewPager
12 -import com.google.android.material.bottomnavigation.BottomNavigationView
13 -import com.google.android.material.snackbar.Snackbar
14 -import kotlinx.android.synthetic.main.activity_signin.*
15 -
16 -class SignInActivity : AppCompatActivity() {
17 -
18 - internal lateinit var viewpager : ViewPager
19 - ////bottom navigation view operation start 1
20 - lateinit var bottomBar: ActionBar
21 - ////bottom navigation view operation end 1
22 - override fun onCreate(savedInstanceState: Bundle?) {
23 - super.onCreate(savedInstanceState)
24 - setContentView(R.layout.activity_signin)
25 -
26 - val policyFieldList = ArrayList<PolicyFieldItem>()
27 -
28 - policyFieldList.add(
29 - PolicyFieldItem(
30 - ContextCompat.getDrawable(this, R.drawable.kyoyook_icon)!!,
31 - getString(R.string.title01)
32 - )
33 - )
34 - policyFieldList.add(
35 - PolicyFieldItem(
36 - ContextCompat.getDrawable(this, R.drawable.koyong_icon)!!,
37 - getString(R.string.title02)
38 - )
39 - )
40 - policyFieldList.add(
41 - PolicyFieldItem(
42 - ContextCompat.getDrawable(this, R.drawable.joogeo_icon)!!,
43 - getString(R.string.title03)
44 - )
45 - )
46 - policyFieldList.add(
47 - PolicyFieldItem(
48 - ContextCompat.getDrawable(this, R.drawable.health_icon)!!,
49 - getString(R.string.title04)
50 - )
51 - )
52 - policyFieldList.add(
53 - PolicyFieldItem(
54 - ContextCompat.getDrawable(this, R.drawable.seomin_icon)!!,
55 - getString(R.string.title05)
56 - )
57 - )
58 - policyFieldList.add(
59 - PolicyFieldItem(
60 - ContextCompat.getDrawable(this, R.drawable.moonhwa_icon)!!,
61 - getString(R.string.title06)
62 - )
63 - )
64 -
65 -
66 - val adapter = PolicyFieldAdapter(policyFieldList)
67 - policyFieldRecyclerView.adapter = adapter
68 -
69 - viewpager = findViewById(R.id.welcomeViewPager) as ViewPager
70 - val viewpageradapter = ViewPagerAdapter(this)
71 - viewpager.adapter = viewpageradapter
72 -
73 - // 1. 툴바 사용 설정
74 - setSupportActionBar(toolbar)
75 -
76 - // 2. 툴바 왼쪽 버튼 설정
77 - supportActionBar!!.setDisplayHomeAsUpEnabled(true) // 왼쪽 버튼 사용 여부 true
78 - supportActionBar!!.setHomeAsUpIndicator(R.drawable.return_page) // 왼쪽 버튼 아이콘 설정
79 - supportActionBar!!.setDisplayShowTitleEnabled(false) // 타이틀 안보이게 하기
80 -
81 - ////bottom navigation view operation start 2
82 - bottomBar=supportActionBar!!
83 - val bottomNavigation: BottomNavigationView =findViewById(R.id.bottomNavigation)
84 - bottomNavigation.setOnNavigationItemSelectedListener(mOnNavigationItemSelectedListener)
85 - ////bottom navigation view operation end 2
86 -
87 - }
88 - // 3.툴바 메뉴 버튼을 설정
89 - override fun onCreateOptionsMenu(menu: Menu?): Boolean {
90 - menuInflater.inflate(R.menu.main_menu, menu) // main_menu 메뉴를 toolbar 메뉴 버튼으로 설정
91 - return true
92 - }
93 -
94 - var back_pressed: Long = 0 // 뒤로가기 종료
95 -
96 - override fun onBackPressed() {
97 - if (back_pressed + 2000 > System.currentTimeMillis()) {
98 - finishAffinity()
99 - System.runFinalization()
100 - System.exit(0)
101 - }
102 - //super.onBackPressed()
103 - else
104 - Toast.makeText(getBaseContext(), "\'뒤로\' 버튼을 한번 더 누르시면 종료됩니다.", Toast.LENGTH_SHORT).show()
105 - back_pressed = System.currentTimeMillis()
106 - }
107 -
108 - // 4.툴바 메뉴 버튼이 클릭 됐을 때 콜백
109 - override fun onOptionsItemSelected(item: MenuItem?): Boolean {
110 - // 클릭된 메뉴 아이템의 아이디 마다 when 구절로 클릭시 동작을 설정한다.
111 - when(item!!.itemId){
112 - android.R.id.home->{ // 메뉴 버튼
113 - Snackbar.make(toolbar,"Menu pressed",Snackbar.LENGTH_SHORT).show()
114 - }
115 - R.id.menu_search->{ // 검색 버튼
116 - val search_Intent = Intent(this, SearchActivity::class.java)
117 - startActivity(search_Intent)
118 - //Snackbar.make(toolbar,"Search menu pressed",Snackbar.LENGTH_SHORT).show()
119 - }
120 - }
121 - return super.onOptionsItemSelected(item)
122 - }
123 -
124 - //bottom navigation view operation start 3
125 - private val mOnNavigationItemSelectedListener=BottomNavigationView.OnNavigationItemSelectedListener{item->
126 - when (item.itemId){
127 -
128 - R.id.bottomHome ->{
129 - val intent = Intent(this, SignInActivity::class.java)
130 - startActivity(intent)
131 - return@OnNavigationItemSelectedListener true
132 - }
133 - R.id.bottomRecommend ->{
134 - val intent = Intent(this, RecommendActivity::class.java)
135 - startActivity(intent)
136 - return@OnNavigationItemSelectedListener true
137 - }
138 - R.id.bottomFavorites ->{
139 - val intent = Intent(this, FavoritesActivity::class.java)
140 - startActivity(intent)
141 - return@OnNavigationItemSelectedListener true
142 - }
143 - R.id.bottomInfo ->{
144 - val intent = Intent(this, InfoActivity::class.java)
145 - startActivity(intent)
146 - return@OnNavigationItemSelectedListener true
147 - }
148 -
149 -
150 - }
151 - false
152 - }
153 -//bottom navigation view operation end 3
154 -
155 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.os.Bundle
5 -import android.widget.Toast
6 -import androidx.appcompat.app.AppCompatActivity
7 -import com.google.firebase.auth.FirebaseAuth
8 -import com.google.firebase.database.FirebaseDatabase
9 -import kotlinx.android.synthetic.main.activity_signup.*
10 -import android.util.Log
11 -import com.google.android.gms.tasks.OnCompleteListener
12 -import com.google.firebase.iid.FirebaseInstanceId
13 -
14 -
15 -data class User(
16 - val u_token : String = "",
17 - val Policy : String = ""
18 -)
19 -
20 -var cnt = 0
21 -var tkn=""
22 -class SignUpActivity : AppCompatActivity() {
23 -
24 - private val firebaseAuth = FirebaseAuth.getInstance()
25 - val user_db = FirebaseDatabase.getInstance("https://capstone-vip-user.firebaseio.com/").reference
26 -
27 - override fun onCreate(savedInstanceState: Bundle?) {
28 - super.onCreate(savedInstanceState)
29 - setContentView(R.layout.activity_signup)
30 -
31 - signupBtn.setOnClickListener{
32 - sendToken()
33 - createEmail()
34 - }
35 -
36 - //pushing code start
37 - intent.extras?.let {
38 - for (key in it.keySet()) {
39 - val value = intent.extras?.get(key)
40 - Log.d(TAG, "Key: $key Value: $value")
41 - }
42 - }
43 - //pushing code end
44 -
45 -
46 - }
47 -
48 - //pushing code start 2
49 - private fun sendToken(){
50 - FirebaseInstanceId.getInstance().instanceId
51 - .addOnCompleteListener(OnCompleteListener { task ->
52 - if (!task.isSuccessful) {
53 - Log.w(TAG, "getInstanceId failed", task.exception)
54 - return@OnCompleteListener
55 - }
56 -
57 - // Get new Instance ID token
58 - tkn = task.result!!.token
59 -
60 - // Log and toast
61 - val msg = getString(R.string.msg_token_fmt, tkn)
62 - Log.d(TAG, msg)
63 - Toast.makeText(baseContext, msg, Toast.LENGTH_SHORT).show()
64 - })
65 - }
66 - //pushing code end 2
67 -
68 - private fun writeNewUser(u_id: String, u_token: String, Policy: String?) {
69 - val user = User(u_token, Policy!!)
70 - user_db.child(u_id).setValue(user)/// .setValue(user)
71 - }
72 -
73 - private fun createEmail(){
74 - firebaseAuth!!.createUserWithEmailAndPassword(edit_email_sign_up.text.toString(), edit_password_sign_up.text.toString())
75 - .addOnCompleteListener(this) {
76 - if (it.isSuccessful) {
77 - // Sign in success, update UI with the signed-in user's information
78 - val user = firebaseAuth?.currentUser
79 - Toast.makeText(this, "회원가입 완료!", Toast.LENGTH_SHORT).show()
80 - writeNewUser(user!!.uid, "$tkn", "NULL$cnt")
81 - cnt ++
82 -
83 - if(user!=null){
84 - var intent = Intent(this, InputProfilFirstOneActivity::class.java)
85 - startActivity(intent)
86 - }
87 - } else {
88 - // If sign in fails, display a message to the user.
89 - Toast.makeText(this, "회원가입 실패", Toast.LENGTH_SHORT).show()
90 - }
91 - }
92 - }
93 -
94 - //pushing code start 3
95 - companion object {
96 -
97 - private const val TAG = "SignUpActivity"
98 - }
99 - //pushing code end 3
100 -}
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import android.content.SharedPreferences
5 -import android.os.Bundle
6 -import androidx.appcompat.app.AppCompatActivity
7 -
8 -class SplashActivity : AppCompatActivity() {
9 - override fun onCreate(savedInstanceState: Bundle?) {
10 - super.onCreate(savedInstanceState)
11 -
12 - val settings: SharedPreferences = getSharedPreferences("dico", MODE_PRIVATE)
13 -
14 - if(!settings.getBoolean("isFirst", false))
15 - {
16 - val editor: SharedPreferences.Editor = settings.edit()
17 - editor.putBoolean("isFirst", true)
18 - editor.commit()
19 - val intent = Intent(this, WelcomeActivity::class.java)
20 - startActivity(intent)
21 - finish()
22 - }
23 - else
24 - {
25 - val intent = Intent(this, MainActivity::class.java)
26 - startActivity(intent)
27 - finish()
28 - }
29 -
30 -
31 -
32 - }
33 -}
...\ 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.view.LayoutInflater
5 -import android.view.View
6 -import android.view.ViewGroup
7 -import android.widget.ImageView
8 -import androidx.viewpager.widget.PagerAdapter
9 -import androidx.viewpager.widget.ViewPager
10 -
11 -class ViewPagerAdapter(private val context : Context) : PagerAdapter() {
12 -
13 - private var layoutInflater : LayoutInflater? = null
14 - val Image = arrayOf(
15 - R.drawable.temp_view_pager_image,
16 - R.drawable.temp_view_pager_image,
17 - R.drawable.temp_view_pager_image
18 - )
19 -
20 -
21 - override fun isViewFromObject(view: View, `object`: Any): Boolean {
22 - return view === `object`
23 - }
24 -
25 - override fun getCount(): Int {
26 - return Image.size
27 - }
28 -
29 -
30 - override fun instantiateItem(container: ViewGroup, position: Int): Any {
31 - layoutInflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
32 - val v = layoutInflater!!.inflate(R.layout.viewpager_activity, null)
33 - val image = v.findViewById<View>(R.id.imageview) as ImageView
34 -
35 - image.setImageResource(Image[position])
36 - val vp = container as ViewPager
37 - vp.addView(v , 0)
38 -
39 -
40 - return v
41 -
42 - }
43 -
44 -
45 - override fun destroyItem(container: ViewGroup, position: Int, `object`: Any) {
46 - val vp = container as ViewPager
47 - val v = `object` as View
48 - vp.removeView(v)
49 - }
50 -}
...\ No newline at end of file ...\ No newline at end of file
1 -package com.example.vip
2 -
3 -import android.content.Intent
4 -import androidx.appcompat.app.AppCompatActivity
5 -import android.os.Bundle
6 -import androidx.viewpager.widget.ViewPager
7 -import kotlinx.android.synthetic.main.activity_signin.*
8 -import kotlinx.android.synthetic.main.activity_welcome.*
9 -
10 -class WelcomeActivity : AppCompatActivity() {
11 -
12 - internal lateinit var welcomeViewPager: ViewPager
13 - override fun onCreate(savedInstanceState: Bundle?) {
14 - super.onCreate(savedInstanceState)
15 - setContentView(R.layout.activity_welcome)
16 -
17 - welcomeViewPager = findViewById(R.id.welcomeViewPager) as ViewPager
18 - val viewpageradapter = WelcomeViewPagerAdapter(this)
19 - welcomeViewPager.adapter = viewpageradapter
20 -
21 - buttonGotIt.setOnClickListener{
22 - var intent = Intent(this, MainActivity::class.java)
23 - startActivity(intent)
24 - finish()
25 - }
26 - }
27 -}
1 -package com.example.vip
2 -
3 -import android.content.Context
4 -import android.view.LayoutInflater
5 -import android.view.View
6 -import android.view.ViewGroup
7 -import android.widget.ImageView
8 -import androidx.viewpager.widget.PagerAdapter
9 -import androidx.viewpager.widget.ViewPager
10 -
11 -class WelcomeViewPagerAdapter(private val context : Context) : PagerAdapter() {
12 -
13 - private var layoutInflater : LayoutInflater? = null
14 - val Image = arrayOf(
15 - R.drawable.hwajilgooji1,
16 - R.drawable.hwajilgooji2,
17 - R.drawable.hwajilgooji3,
18 - R.drawable.hwajilgooji3,
19 - R.drawable.hwajilgooji3
20 - )
21 -
22 -
23 - override fun isViewFromObject(view: View, `object`: Any): Boolean {
24 - return view === `object`
25 - }
26 -
27 - override fun getCount(): Int {
28 - return Image.size
29 - }
30 -
31 -
32 - override fun instantiateItem(container: ViewGroup, position: Int): Any {
33 - layoutInflater = context.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
34 - val v = layoutInflater!!.inflate(R.layout.welcomeviewpager_activity, null)
35 - val image = v.findViewById<View>(R.id.imageview) as ImageView
36 -
37 - image.setImageResource(Image[position])
38 - val vp = container as ViewPager
39 - vp.addView(v , 0)
40 -
41 -
42 - return v
43 -
44 - }
45 -
46 -
47 - override fun destroyItem(container: ViewGroup, position: Int, `object`: Any) {
48 - val vp = container as ViewPager
49 - val v = `object` as View
50 - vp.removeView(v)
51 - }
52 -}
...\ 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 - <!-- 배경 -->
4 - <item
5 - android:drawable="@color/splashfilling"/>
6 - <!-- 로고 -->
7 - <item>
8 - <bitmap
9 - android:gravity="center"
10 - android:src="@drawable/final_splash" />
11 - </item>
12 -</layer-list>
1 -<vector xmlns:android="http://schemas.android.com/apk/res/android"
2 - xmlns:aapt="http://schemas.android.com/aapt"
3 - android:width="108dp"
4 - android:height="108dp"
5 - android:viewportWidth="108"
6 - android:viewportHeight="108">
7 - <path
8 - android:fillType="evenOdd"
9 - android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
10 - android:strokeWidth="1"
11 - android:strokeColor="#00000000">
12 - <aapt:attr name="android:fillColor">
13 - <gradient
14 - android:endX="78.5885"
15 - android:endY="90.9159"
16 - android:startX="48.7653"
17 - android:startY="61.0927"
18 - android:type="linear">
19 - <item
20 - android:color="#44000000"
21 - android:offset="0.0" />
22 - <item
23 - android:color="#00000000"
24 - android:offset="1.0" />
25 - </gradient>
26 - </aapt:attr>
27 - </path>
28 - <path
29 - android:fillColor="#FFFFFF"
30 - android:fillType="nonZero"
31 - android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
32 - android:strokeWidth="1"
33 - android:strokeColor="#00000000" />
34 -</vector>
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3 - <!-- 배경 -->
4 - <item
5 - android:drawable="@color/splashfilling"/>
6 - <!-- 로고 -->
7 - <item>
8 - <bitmap
9 - android:gravity="center"
10 - android:src="@drawable/final_splash"/>
11 - </item>
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 -
4 - <item
5 - android:bottom="1dp"
6 - android:left="1dp"
7 - android:right="1dp"
8 - android:top="1dp">
9 - <shape android:shape="rectangle" >
10 - <stroke
11 - android:width="1dp"
12 - android:color="#dcdcdc" />
13 -
14 - <solid android:color="#FFF" />
15 - </shape>
16 - </item>
17 -
18 -</layer-list>
...\ 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
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<vector xmlns:android="http://schemas.android.com/apk/res/android"
3 - android:width="108dp"
4 - android:height="108dp"
5 - android:viewportWidth="108"
6 - android:viewportHeight="108">
7 - <path
8 - android:fillColor="#008577"
9 - android:pathData="M0,0h108v108h-108z" />
10 - <path
11 - android:fillColor="#00000000"
12 - android:pathData="M9,0L9,108"
13 - android:strokeWidth="0.8"
14 - android:strokeColor="#33FFFFFF" />
15 - <path
16 - android:fillColor="#00000000"
17 - android:pathData="M19,0L19,108"
18 - android:strokeWidth="0.8"
19 - android:strokeColor="#33FFFFFF" />
20 - <path
21 - android:fillColor="#00000000"
22 - android:pathData="M29,0L29,108"
23 - android:strokeWidth="0.8"
24 - android:strokeColor="#33FFFFFF" />
25 - <path
26 - android:fillColor="#00000000"
27 - android:pathData="M39,0L39,108"
28 - android:strokeWidth="0.8"
29 - android:strokeColor="#33FFFFFF" />
30 - <path
31 - android:fillColor="#00000000"
32 - android:pathData="M49,0L49,108"
33 - android:strokeWidth="0.8"
34 - android:strokeColor="#33FFFFFF" />
35 - <path
36 - android:fillColor="#00000000"
37 - android:pathData="M59,0L59,108"
38 - android:strokeWidth="0.8"
39 - android:strokeColor="#33FFFFFF" />
40 - <path
41 - android:fillColor="#00000000"
42 - android:pathData="M69,0L69,108"
43 - android:strokeWidth="0.8"
44 - android:strokeColor="#33FFFFFF" />
45 - <path
46 - android:fillColor="#00000000"
47 - android:pathData="M79,0L79,108"
48 - android:strokeWidth="0.8"
49 - android:strokeColor="#33FFFFFF" />
50 - <path
51 - android:fillColor="#00000000"
52 - android:pathData="M89,0L89,108"
53 - android:strokeWidth="0.8"
54 - android:strokeColor="#33FFFFFF" />
55 - <path
56 - android:fillColor="#00000000"
57 - android:pathData="M99,0L99,108"
58 - android:strokeWidth="0.8"
59 - android:strokeColor="#33FFFFFF" />
60 - <path
61 - android:fillColor="#00000000"
62 - android:pathData="M0,9L108,9"
63 - android:strokeWidth="0.8"
64 - android:strokeColor="#33FFFFFF" />
65 - <path
66 - android:fillColor="#00000000"
67 - android:pathData="M0,19L108,19"
68 - android:strokeWidth="0.8"
69 - android:strokeColor="#33FFFFFF" />
70 - <path
71 - android:fillColor="#00000000"
72 - android:pathData="M0,29L108,29"
73 - android:strokeWidth="0.8"
74 - android:strokeColor="#33FFFFFF" />
75 - <path
76 - android:fillColor="#00000000"
77 - android:pathData="M0,39L108,39"
78 - android:strokeWidth="0.8"
79 - android:strokeColor="#33FFFFFF" />
80 - <path
81 - android:fillColor="#00000000"
82 - android:pathData="M0,49L108,49"
83 - android:strokeWidth="0.8"
84 - android:strokeColor="#33FFFFFF" />
85 - <path
86 - android:fillColor="#00000000"
87 - android:pathData="M0,59L108,59"
88 - android:strokeWidth="0.8"
89 - android:strokeColor="#33FFFFFF" />
90 - <path
91 - android:fillColor="#00000000"
92 - android:pathData="M0,69L108,69"
93 - android:strokeWidth="0.8"
94 - android:strokeColor="#33FFFFFF" />
95 - <path
96 - android:fillColor="#00000000"
97 - android:pathData="M0,79L108,79"
98 - android:strokeWidth="0.8"
99 - android:strokeColor="#33FFFFFF" />
100 - <path
101 - android:fillColor="#00000000"
102 - android:pathData="M0,89L108,89"
103 - android:strokeWidth="0.8"
104 - android:strokeColor="#33FFFFFF" />
105 - <path
106 - android:fillColor="#00000000"
107 - android:pathData="M0,99L108,99"
108 - android:strokeWidth="0.8"
109 - android:strokeColor="#33FFFFFF" />
110 - <path
111 - android:fillColor="#00000000"
112 - android:pathData="M19,29L89,29"
113 - android:strokeWidth="0.8"
114 - android:strokeColor="#33FFFFFF" />
115 - <path
116 - android:fillColor="#00000000"
117 - android:pathData="M19,39L89,39"
118 - android:strokeWidth="0.8"
119 - android:strokeColor="#33FFFFFF" />
120 - <path
121 - android:fillColor="#00000000"
122 - android:pathData="M19,49L89,49"
123 - android:strokeWidth="0.8"
124 - android:strokeColor="#33FFFFFF" />
125 - <path
126 - android:fillColor="#00000000"
127 - android:pathData="M19,59L89,59"
128 - android:strokeWidth="0.8"
129 - android:strokeColor="#33FFFFFF" />
130 - <path
131 - android:fillColor="#00000000"
132 - android:pathData="M19,69L89,69"
133 - android:strokeWidth="0.8"
134 - android:strokeColor="#33FFFFFF" />
135 - <path
136 - android:fillColor="#00000000"
137 - android:pathData="M19,79L89,79"
138 - android:strokeWidth="0.8"
139 - android:strokeColor="#33FFFFFF" />
140 - <path
141 - android:fillColor="#00000000"
142 - android:pathData="M29,19L29,89"
143 - android:strokeWidth="0.8"
144 - android:strokeColor="#33FFFFFF" />
145 - <path
146 - android:fillColor="#00000000"
147 - android:pathData="M39,19L39,89"
148 - android:strokeWidth="0.8"
149 - android:strokeColor="#33FFFFFF" />
150 - <path
151 - android:fillColor="#00000000"
152 - android:pathData="M49,19L49,89"
153 - android:strokeWidth="0.8"
154 - android:strokeColor="#33FFFFFF" />
155 - <path
156 - android:fillColor="#00000000"
157 - android:pathData="M59,19L59,89"
158 - android:strokeWidth="0.8"
159 - android:strokeColor="#33FFFFFF" />
160 - <path
161 - android:fillColor="#00000000"
162 - android:pathData="M69,19L69,89"
163 - android:strokeWidth="0.8"
164 - android:strokeColor="#33FFFFFF" />
165 - <path
166 - android:fillColor="#00000000"
167 - android:pathData="M79,19L79,89"
168 - android:strokeWidth="0.8"
169 - android:strokeColor="#33FFFFFF" />
170 -</vector>
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"
5 - android:drawable="@drawable/profil_unselected"/>
6 - <item android:state_checked="true"
7 - android:drawable="@drawable/profil_selected"/>
8 -</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 - <solid android:color="@android:color/transparent" />
5 - <stroke
6 - android:width="3dp"
7 - android:color="#C029ABE2" />
8 - <corners android:radius="30dp"/>
9 - <!--<padding
10 - android:top="8dp"/>-->
11 -
12 -</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"
5 - android:drawable="@drawable/heart_stroke" />
6 -<item android:state_checked="true"
7 - android:drawable="@drawable/heart_fill" />
8 -</selector>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".RecommendActivity">
8 -
9 -
10 - <LinearLayout
11 - android:id="@+id/linearLayout"
12 - android:layout_width="match_parent"
13 - android:layout_height="match_parent"
14 - android:orientation="vertical"
15 - app:layout_constraintBottom_toBottomOf="parent"
16 - app:layout_constraintEnd_toEndOf="parent"
17 - app:layout_constraintStart_toStartOf="parent"
18 - app:layout_constraintTop_toTopOf="parent">
19 -
20 - <androidx.appcompat.widget.Toolbar
21 - android:id="@+id/toolbar"
22 - android:layout_width="fill_parent"
23 - android:layout_height="wrap_content"
24 - android:layout_marginBottom="11dp"
25 - android:background="#FFF"
26 - android:elevation="5dp"
27 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
28 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
29 -
30 - <ImageView
31 - android:layout_width="77dp"
32 - android:layout_height="44dp"
33 - android:layout_gravity="center"
34 - android:src="@drawable/toolbar_logo" />
35 - </androidx.appcompat.widget.Toolbar>
36 -
37 - <ScrollView
38 - android:layout_width="match_parent"
39 - android:layout_height="match_parent"
40 - android:fillViewport="true"
41 - android:layout_weight="1">
42 -
43 - <LinearLayout
44 - android:layout_width="match_parent"
45 - android:layout_height="wrap_content"
46 - android:orientation="vertical">
47 -
48 - <ImageView
49 - android:id="@+id/policyImageDetail"
50 - android:layout_width="match_parent"
51 - android:layout_height="200dp"
52 - android:scaleType="fitXY"
53 - tools:srcCompat="@tools:sample/avatars" />
54 -
55 - <LinearLayout
56 - android:layout_width="match_parent"
57 - android:layout_height="match_parent"
58 - android:orientation="vertical">
59 -
60 - <TextView
61 - android:id="@+id/policyDdayDetail"
62 - android:layout_width="77dp"
63 - android:layout_height="44dp"
64 - android:background="#9949ADF9"
65 - android:gravity="center"
66 - android:text="TextView"
67 - android:textColor="#FFF"
68 - android:textSize="18sp" />
69 -
70 - <TextView
71 - android:id="@+id/policyTitleDetail"
72 - android:layout_width="match_parent"
73 - android:layout_height="wrap_content"
74 - android:layout_marginLeft="11dp"
75 - android:layout_marginBottom="5dp"
76 - android:text="Textw"
77 - android:textSize="30sp" />
78 -
79 - <RatingBar
80 - android:id="@+id/policyScoreDetail"
81 - android:layout_width="wrap_content"
82 - android:layout_height="wrap_content" />
83 -
84 - <TextView
85 - android:id="@+id/policyFavorDetail"
86 - android:layout_width="wrap_content"
87 - android:layout_height="wrap_content"
88 - android:text="TextView" />
89 -
90 - <WebView
91 - android:id="@+id/policy_context"
92 - android:layout_width="match_parent"
93 - android:layout_height="wrap_content" />
94 - </LinearLayout>
95 - </LinearLayout>
96 - </ScrollView>
97 - <FrameLayout
98 - android:layout_width="match_parent"
99 - android:layout_height="wrap_content"
100 - android:id="@+id/fragmentContainer"
101 - app:layout_constraintBottom_toBottomOf="parent"
102 - >
103 -
104 - <com.google.android.material.bottomnavigation.BottomNavigationView
105 - android:id="@+id/bottomNavigation"
106 - android:layout_width="match_parent"
107 - android:layout_height="wrap_content"
108 - android:layout_gravity="bottom"
109 - android:background="#FFF"
110 - app:itemIconTint="#29ABE2"
111 - app:itemTextColor="#29ABE2"
112 - app:labelVisibilityMode="labeled"
113 - app:menu="@menu/detailpage_navigation" />
114 - </FrameLayout>
115 -
116 - </LinearLayout>
117 -
118 -</androidx.constraintlayout.widget.ConstraintLayout>
119 -
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".FavoritesActivity">
8 -
9 - <LinearLayout
10 - android:id="@+id/linearLayout"
11 - android:layout_width="match_parent"
12 - android:layout_height="match_parent"
13 - android:orientation="vertical"
14 - app:layout_constraintBottom_toBottomOf="parent"
15 - app:layout_constraintEnd_toEndOf="parent"
16 - app:layout_constraintStart_toStartOf="parent"
17 - app:layout_constraintTop_toTopOf="parent">
18 -
19 - <androidx.appcompat.widget.Toolbar
20 - android:id="@+id/toolbar"
21 - android:layout_width="fill_parent"
22 - android:layout_height="wrap_content"
23 - android:layout_marginBottom="11dp"
24 - android:background="#FFF"
25 - android:elevation="5dp"
26 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
27 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
28 -
29 - <ImageView
30 - android:layout_width="77dp"
31 - android:layout_height="44dp"
32 - android:layout_gravity="center"
33 - android:src="@drawable/toolbar_logo" />
34 - </androidx.appcompat.widget.Toolbar>
35 -
36 -
37 - <androidx.recyclerview.widget.RecyclerView
38 - android:id="@+id/policyRecyclerView"
39 - android:layout_width="match_parent"
40 - android:layout_height="500dp"
41 - android:layout_weight="1"
42 - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
43 - tools:listitem="@layout/item_policy" />
44 -
45 - <FrameLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:id="@+id/fragmentContainer"
49 - app:layout_constraintBottom_toBottomOf="parent"
50 - >
51 -
52 - <com.google.android.material.bottomnavigation.BottomNavigationView
53 - android:id="@+id/bottomNavigation"
54 - android:layout_width="match_parent"
55 - android:layout_height="wrap_content"
56 - android:layout_gravity="bottom"
57 - android:background="#FFF"
58 - app:itemIconTint="#29ABE2"
59 - app:itemTextColor="#29ABE2"
60 - app:labelVisibilityMode="labeled"
61 - app:menu="@menu/bottom_nav_menu" />
62 - </FrameLayout>
63 -
64 - </LinearLayout>
65 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InfoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <ImageView
25 - android:layout_width="77dp"
26 - android:layout_height="44dp"
27 - android:layout_gravity="center"
28 - android:src="@drawable/toolbar_logo" />
29 - </androidx.appcompat.widget.Toolbar>
30 -
31 - <LinearLayout
32 - android:layout_width="match_parent"
33 - android:layout_height="wrap_content"
34 - android:layout_weight="1"
35 - android:orientation="vertical">
36 -
37 - <LinearLayout
38 - android:layout_width="match_parent"
39 - android:layout_height="wrap_content"
40 - android:layout_gravity="center"
41 - android:layout_weight="1"
42 - android:orientation="horizontal">
43 -
44 - <ImageView
45 - android:id="@+id/infoAccountImage"
46 - android:layout_width="50dp"
47 - android:layout_height="50dp"
48 - android:layout_gravity="center"
49 - android:layout_weight="1"
50 - tools:srcCompat="@tools:sample/avatars" />
51 -
52 - <LinearLayout
53 - android:layout_width="wrap_content"
54 - android:layout_height="match_parent"
55 - android:layout_weight="1"
56 - android:orientation="vertical">
57 -
58 - <TextView
59 - android:id="@+id/InfoNickname"
60 - android:layout_width="wrap_content"
61 - android:layout_height="wrap_content"
62 - android:layout_gravity="center"
63 - android:layout_weight="1"
64 - android:gravity="center"
65 - android:text="GRACE" />
66 -
67 - <TextView
68 - android:id="@+id/InfoEmail"
69 - android:layout_width="wrap_content"
70 - android:layout_height="wrap_content"
71 - android:layout_gravity="center"
72 - android:layout_weight="1"
73 - android:gravity="center"
74 - android:text="grace@naver.com" />
75 -
76 - <TextView
77 - android:id="@+id/InfoProfilProgress"
78 - android:layout_width="wrap_content"
79 - android:layout_height="wrap_content"
80 - android:layout_gravity="center"
81 - android:layout_weight="1"
82 - android:gravity="center"
83 - android:text="프로필정보입력15/20" />
84 -
85 - </LinearLayout>
86 -
87 - <ImageView
88 - android:id="@+id/InfoProfilImage"
89 - android:layout_width="50dp"
90 - android:layout_height="50dp"
91 - android:layout_gravity="center"
92 - android:layout_weight="1"
93 - tools:srcCompat="@tools:sample/avatars" />
94 - </LinearLayout>
95 -
96 - <LinearLayout
97 - android:layout_width="match_parent"
98 - android:layout_height="wrap_content"
99 - android:layout_gravity="center"
100 - android:layout_weight="1"
101 - android:gravity="center"
102 - android:orientation="vertical">
103 -
104 - <TextView
105 - android:id="@+id/InfoProfilModify"
106 - android:layout_width="match_parent"
107 - android:layout_height="wrap_content"
108 - android:layout_gravity="center"
109 - android:gravity="center"
110 - android:text="프로필 정보 수정" />
111 -
112 - <ProgressBar
113 - android:id="@+id/InfoProgress"
114 - style="?android:attr/progressBarStyleHorizontal"
115 - android:layout_width="match_parent"
116 - android:layout_height="wrap_content"
117 - android:layout_gravity="center" />
118 -
119 - <TextView
120 - android:id="@+id/InfoExplain"
121 - android:layout_width="match_parent"
122 - android:layout_height="wrap_content"
123 - android:layout_gravity="center"
124 - android:gravity="center"
125 - android:text="많이입력해야정확해요" />
126 -
127 - <TextView
128 - android:id="@+id/InfoStep"
129 - android:layout_width="match_parent"
130 - android:layout_height="wrap_content"
131 - android:layout_gravity="center"
132 - android:gravity="center"
133 - android:text="STEP 15/20" />
134 - </LinearLayout>
135 -
136 - <LinearLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="wrap_content"
139 - android:layout_weight="1"
140 - android:gravity="center"
141 - android:orientation="horizontal">
142 -
143 - <Button
144 - android:id="@+id/InfoButtonApp"
145 - android:layout_width="match_parent"
146 - android:layout_height="wrap_content"
147 - android:text="APP 정보" />
148 - </LinearLayout>
149 -
150 - <LinearLayout
151 - android:layout_width="match_parent"
152 - android:layout_height="wrap_content"
153 - android:layout_weight="1"
154 - android:gravity="center"
155 - android:orientation="horizontal">
156 -
157 - <Button
158 - android:id="@+id/InfoButtonLaw"
159 - android:layout_width="match_parent"
160 - android:layout_height="wrap_content"
161 - android:text="개인정보처리방침" />
162 - </LinearLayout>
163 -
164 - <LinearLayout
165 - android:layout_width="match_parent"
166 - android:layout_height="wrap_content"
167 - android:layout_weight="1"
168 - android:gravity="center"
169 - android:orientation="horizontal">
170 -
171 - <Button
172 - android:id="@+id/InfoButtonSettings"
173 - android:layout_width="match_parent"
174 - android:layout_height="wrap_content"
175 - android:text="환경설정" />
176 - </LinearLayout>
177 -
178 - <LinearLayout
179 - android:layout_width="match_parent"
180 - android:layout_height="wrap_content"
181 - android:layout_weight="1"
182 - android:gravity="center"
183 - android:orientation="horizontal">
184 -
185 - <Button
186 - android:id="@+id/InfoButtonFAQ"
187 - android:layout_width="match_parent"
188 - android:layout_height="wrap_content"
189 - android:text="자주 묻는 질문" />
190 - </LinearLayout>
191 -
192 - <LinearLayout
193 - android:layout_width="match_parent"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:gravity="center"
197 - android:orientation="horizontal">
198 -
199 - <Button
200 - android:id="@+id/InfoButtonNotice"
201 - android:layout_width="match_parent"
202 - android:layout_height="wrap_content"
203 - android:text="공지사항" />
204 - </LinearLayout>
205 -
206 - </LinearLayout>
207 -
208 - <FrameLayout
209 - android:layout_width="match_parent"
210 - android:layout_height="wrap_content"
211 - android:id="@+id/fragmentContainer"
212 - app:layout_constraintBottom_toBottomOf="parent"
213 - >
214 -
215 - <com.google.android.material.bottomnavigation.BottomNavigationView
216 - android:id="@+id/bottomNavigation"
217 - android:layout_width="match_parent"
218 - android:layout_height="wrap_content"
219 - android:layout_gravity="bottom"
220 - android:background="#FFF"
221 - app:itemIconTint="#29ABE2"
222 - app:itemTextColor="#29ABE2"
223 - app:labelVisibilityMode="labeled"
224 - app:menu="@menu/bottom_nav_menu" />
225 - </FrameLayout>
226 - </LinearLayout>
227 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFifthFourActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:background="#1E90FF"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="10dp"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 - <LinearLayout
127 - android:layout_width="match_parent"
128 - android:layout_height="wrap_content"
129 - android:layout_weight="1"
130 - android:orientation="vertical">
131 -
132 - <LinearLayout
133 - android:layout_width="match_parent"
134 - android:layout_height="wrap_content"
135 - android:orientation="vertical">
136 -
137 - <RelativeLayout
138 - android:layout_width="match_parent"
139 - android:layout_height="match_parent">
140 -
141 - <TextView
142 - android:id="@+id/explainTextView"
143 - android:layout_width="wrap_content"
144 - android:layout_height="wrap_content"
145 - android:layout_centerInParent="true"
146 - android:layout_gravity="center"
147 - android:gravity="center"
148 - android:text="18. 금융기관 대출금, 공증된 사채 등으로 차용한 금액 중 미상환액, 부채금액을 적어주세요." />
149 -
150 - <Button
151 - android:id="@+id/questionButton"
152 - android:layout_width="30dp"
153 - android:layout_height="30dp"
154 - android:layout_gravity="center"
155 - android:layout_toRightOf="@id/explainTextView"
156 - android:backgroundTint="#1E90FF"
157 - android:gravity="center"
158 - android:text=" ? "
159 - android:textSize="8sp" />
160 - </RelativeLayout>
161 - </LinearLayout>
162 -
163 - <LinearLayout
164 - android:layout_width="match_parent"
165 - android:layout_height="50dp"
166 - android:layout_weight="1"
167 - android:orientation="vertical">
168 -
169 - </LinearLayout>
170 -
171 - <ScrollView
172 - android:layout_width="match_parent"
173 - android:layout_height="wrap_content">
174 -
175 - <LinearLayout
176 - android:layout_width="300dp"
177 - android:layout_height="wrap_content"
178 - android:layout_gravity="center"
179 - android:orientation="vertical">
180 -
181 - <TextView
182 - android:id="@+id/textView1"
183 - android:layout_width="match_parent"
184 - android:layout_height="wrap_content"
185 - android:text="부채 금액" />
186 -
187 - <EditText
188 - android:id="@+id/editText1"
189 - android:layout_width="match_parent"
190 - android:layout_height="wrap_content"
191 - android:ems="10"
192 - android:hint="ex)1000000" />
193 -
194 - </LinearLayout>
195 - </ScrollView>
196 -
197 - <LinearLayout
198 - android:layout_width="match_parent"
199 - android:layout_height="100dp"
200 - android:layout_weight="1"
201 - android:orientation="vertical"></LinearLayout>
202 -
203 - <LinearLayout
204 - android:layout_width="match_parent"
205 - android:layout_height="wrap_content"
206 - android:orientation="horizontal">
207 -
208 - <Button
209 - android:id="@+id/previousButton"
210 - android:layout_width="10dp"
211 - android:layout_height="wrap_content"
212 - android:layout_weight="1"
213 - android:text="이전 단계로" />
214 -
215 - <Button
216 - android:id="@+id/nextButton"
217 - android:layout_width="10dp"
218 - android:layout_height="wrap_content"
219 - android:layout_weight="1"
220 - android:text="다음 단계로" />
221 - </LinearLayout>
222 - </LinearLayout>
223 - </LinearLayout>
224 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFifthOneActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:background="#1E90FF"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="10dp"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 - <LinearLayout
127 - android:layout_width="match_parent"
128 - android:layout_height="wrap_content"
129 - android:layout_weight="1"
130 - android:orientation="vertical">
131 -
132 - <LinearLayout
133 - android:layout_width="match_parent"
134 - android:layout_height="wrap_content"
135 - android:orientation="vertical">
136 -
137 - <RelativeLayout
138 - android:layout_width="match_parent"
139 - android:layout_height="match_parent">
140 -
141 - <TextView
142 - android:id="@+id/explainTextView"
143 - android:layout_width="wrap_content"
144 - android:layout_height="wrap_content"
145 - android:layout_centerInParent="true"
146 - android:layout_gravity="center"
147 - android:gravity="center"
148 - android:text="15. 월평균소득을 적어주세요. (기준 : 매월소득)" />
149 -
150 - <Button
151 - android:id="@+id/questionButton"
152 - android:layout_width="30dp"
153 - android:layout_height="30dp"
154 - android:layout_gravity="center"
155 - android:layout_toRightOf="@id/explainTextView"
156 - android:backgroundTint="#1E90FF"
157 - android:gravity="center"
158 - android:text=" ? "
159 - android:textSize="8sp" />
160 - </RelativeLayout>
161 - </LinearLayout>
162 -
163 - <LinearLayout
164 - android:layout_width="match_parent"
165 - android:layout_height="50dp"
166 - android:layout_weight="1"
167 - android:orientation="vertical">
168 -
169 - </LinearLayout>
170 -
171 - <ScrollView
172 - android:layout_width="match_parent"
173 - android:layout_height="wrap_content">
174 -
175 - <LinearLayout
176 - android:layout_width="300dp"
177 - android:layout_height="wrap_content"
178 - android:layout_gravity="center"
179 - android:orientation="vertical">
180 -
181 - <TextView
182 - android:id="@+id/textView1"
183 - android:layout_width="match_parent"
184 - android:layout_height="wrap_content"
185 - android:text="근로/사업소득" />
186 -
187 - <EditText
188 - android:id="@+id/editText1"
189 - android:layout_width="match_parent"
190 - android:layout_height="wrap_content"
191 - android:ems="10"
192 - android:hint="ex)1000000"
193 - android:inputType="textPersonName" />
194 -
195 - <TextView
196 - android:id="@+id/textView2"
197 - android:layout_width="match_parent"
198 - android:layout_height="wrap_content"
199 - android:text="그 외 소득(재산소득, 공직이전소득 등)" />
200 -
201 - <EditText
202 - android:id="@+id/editText2"
203 - android:layout_width="match_parent"
204 - android:layout_height="wrap_content"
205 - android:ems="10"
206 - android:hint="ex)1000000"
207 - android:inputType="textPersonName" />
208 - </LinearLayout>
209 - </ScrollView>
210 -
211 - <LinearLayout
212 - android:layout_width="match_parent"
213 - android:layout_height="100dp"
214 - android:layout_weight="1"
215 - android:orientation="vertical"></LinearLayout>
216 -
217 - <LinearLayout
218 - android:layout_width="match_parent"
219 - android:layout_height="wrap_content"
220 - android:orientation="horizontal">
221 -
222 - <Button
223 - android:id="@+id/previousButton"
224 - android:layout_width="10dp"
225 - android:layout_height="wrap_content"
226 - android:layout_weight="1"
227 - android:text="이전 단계로" />
228 -
229 - <Button
230 - android:id="@+id/nextButton"
231 - android:layout_width="10dp"
232 - android:layout_height="wrap_content"
233 - android:layout_weight="1"
234 - android:text="다음 단계로" />
235 - </LinearLayout>
236 - </LinearLayout>
237 - </LinearLayout>
238 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFifthThreeActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:background="#1E90FF"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="10dp"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 - <LinearLayout
127 - android:layout_width="match_parent"
128 - android:layout_height="wrap_content"
129 - android:layout_weight="1"
130 - android:orientation="vertical">
131 -
132 - <LinearLayout
133 - android:layout_width="match_parent"
134 - android:layout_height="wrap_content"
135 - android:orientation="vertical">
136 -
137 - <RelativeLayout
138 - android:layout_width="match_parent"
139 - android:layout_height="match_parent">
140 -
141 - <TextView
142 - android:id="@+id/explainTextView"
143 - android:layout_width="wrap_content"
144 - android:layout_height="wrap_content"
145 - android:layout_centerInParent="true"
146 - android:layout_gravity="center"
147 - android:gravity="center"
148 - android:text="17. 재산을 적어주세요." />
149 -
150 - <Button
151 - android:id="@+id/questionButton"
152 - android:layout_width="30dp"
153 - android:layout_height="30dp"
154 - android:layout_gravity="center"
155 - android:layout_toRightOf="@id/explainTextView"
156 - android:backgroundTint="#1E90FF"
157 - android:gravity="center"
158 - android:text=" ? "
159 - android:textSize="8sp" />
160 - </RelativeLayout>
161 - </LinearLayout>
162 -
163 - <LinearLayout
164 - android:layout_width="match_parent"
165 - android:layout_height="50dp"
166 - android:layout_weight="1"
167 - android:orientation="vertical">
168 -
169 - </LinearLayout>
170 -
171 - <ScrollView
172 - android:layout_width="match_parent"
173 - android:layout_height="wrap_content">
174 -
175 - <LinearLayout
176 - android:layout_width="300dp"
177 - android:layout_height="wrap_content"
178 - android:layout_gravity="center"
179 - android:orientation="vertical">
180 -
181 - <TextView
182 - android:id="@+id/textView1"
183 - android:layout_width="match_parent"
184 - android:layout_height="wrap_content"
185 - android:text="주거용 재산" />
186 -
187 - <EditText
188 - android:id="@+id/editText1"
189 - android:layout_width="match_parent"
190 - android:layout_height="wrap_content"
191 - android:ems="10"
192 - android:hint="ex)1000000" />
193 -
194 - <TextView
195 - android:id="@+id/textView2"
196 - android:layout_width="match_parent"
197 - android:layout_height="wrap_content"
198 - android:text="주거 외 재산" />
199 -
200 - <EditText
201 - android:id="@+id/editText2"
202 - android:layout_width="match_parent"
203 - android:layout_height="wrap_content"
204 - android:ems="10"
205 - android:hint="ex)1000000" />
206 -
207 - <TextView
208 - android:id="@+id/textView3"
209 - android:layout_width="match_parent"
210 - android:layout_height="wrap_content"
211 - android:text="금융재산" />
212 -
213 - <EditText
214 - android:id="@+id/editText3"
215 - android:layout_width="match_parent"
216 - android:layout_height="wrap_content"
217 - android:ems="10"
218 - android:hint="ex)1000000" />
219 -
220 - </LinearLayout>
221 - </ScrollView>
222 -
223 - <LinearLayout
224 - android:layout_width="match_parent"
225 - android:layout_height="100dp"
226 - android:layout_weight="1"
227 - android:orientation="vertical"></LinearLayout>
228 -
229 - <LinearLayout
230 - android:layout_width="match_parent"
231 - android:layout_height="wrap_content"
232 - android:orientation="horizontal">
233 -
234 - <Button
235 - android:id="@+id/previousButton"
236 - android:layout_width="10dp"
237 - android:layout_height="wrap_content"
238 - android:layout_weight="1"
239 - android:text="이전 단계로" />
240 -
241 - <Button
242 - android:id="@+id/nextButton"
243 - android:layout_width="10dp"
244 - android:layout_height="wrap_content"
245 - android:layout_weight="1"
246 - android:text="다음 단계로" />
247 - </LinearLayout>
248 - </LinearLayout>
249 - </LinearLayout>
250 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFifthTwoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:background="#1E90FF"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="10dp"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 - <LinearLayout
127 - android:layout_width="match_parent"
128 - android:layout_height="wrap_content"
129 - android:layout_weight="1"
130 - android:orientation="vertical">
131 -
132 - <LinearLayout
133 - android:layout_width="match_parent"
134 - android:layout_height="wrap_content"
135 - android:orientation="vertical">
136 -
137 - <RelativeLayout
138 - android:layout_width="match_parent"
139 - android:layout_height="match_parent">
140 -
141 - <TextView
142 - android:id="@+id/explainTextView"
143 - android:layout_width="wrap_content"
144 - android:layout_height="wrap_content"
145 - android:layout_centerInParent="true"
146 - android:layout_gravity="center"
147 - android:gravity="center"
148 - android:text="16. 자신의 건강보험 가입형태를 선택해주세요." />
149 -
150 - <Button
151 - android:id="@+id/questionButton"
152 - android:layout_width="30dp"
153 - android:layout_height="30dp"
154 - android:layout_gravity="center"
155 - android:layout_toRightOf="@id/explainTextView"
156 - android:backgroundTint="#1E90FF"
157 - android:gravity="center"
158 - android:text=" ? "
159 - android:textSize="8sp" />
160 - </RelativeLayout>
161 - </LinearLayout>
162 -
163 - <ScrollView
164 - android:layout_width="match_parent"
165 - android:layout_height="wrap_content">
166 -
167 - <LinearLayout
168 - android:layout_width="match_parent"
169 - android:layout_height="wrap_content"
170 - android:orientation="vertical">
171 -
172 - <LinearLayout
173 - android:layout_width="wrap_content"
174 - android:layout_height="wrap_content"
175 - android:layout_gravity="center"
176 - android:gravity="center"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="match_parent"
181 - android:layout_height="match_parent"
182 - android:orientation="horizontal">
183 -
184 - <ToggleButton
185 - android:id="@+id/jikjaangButton"
186 - android:layout_width="wrap_content"
187 - android:layout_height="wrap_content"
188 - android:layout_weight="1"
189 - android:background="@drawable/profil_selector"
190 - android:text="직장가입자"
191 - android:textOff="직장가입자"
192 - android:textOn="직장가입자" />
193 -
194 - <ToggleButton
195 - android:id="@+id/jiyeokButton"
196 - android:layout_width="wrap_content"
197 - android:layout_height="wrap_content"
198 - android:layout_weight="1"
199 - android:background="@drawable/profil_selector"
200 - android:text="지역가입자"
201 - android:textOff="지역가입자"
202 - android:textOn="지역가입자" />
203 -
204 - </LinearLayout>
205 -
206 - <LinearLayout
207 - android:layout_width="match_parent"
208 - android:layout_height="match_parent"
209 - android:orientation="horizontal">
210 -
211 - <ToggleButton
212 - android:id="@+id/pibooyaangjikjaangButton"
213 - android:layout_width="wrap_content"
214 - android:layout_height="wrap_content"
215 - android:layout_weight="1"
216 - android:background="@drawable/profil_selector"
217 - android:text="피부양자(직장)"
218 - android:textOff="피부양자(직장)"
219 - android:textOn="피부양자(직장)" />
220 -
221 - <ToggleButton
222 - android:id="@+id/pibooyaangjiyeokButton"
223 - android:layout_width="wrap_content"
224 - android:layout_height="wrap_content"
225 - android:layout_weight="1"
226 - android:background="@drawable/profil_selector"
227 - android:text="피부양자(지역)"
228 - android:textOff="피부양자(지역)"
229 - android:textOn="피부양자(지역)" />
230 -
231 - </LinearLayout>
232 -
233 -
234 - <LinearLayout
235 - android:layout_width="match_parent"
236 - android:layout_height="match_parent"
237 - android:orientation="horizontal">
238 -
239 - <ToggleButton
240 - android:id="@+id/uieryoButton"
241 - android:layout_width="wrap_content"
242 - android:layout_height="wrap_content"
243 - android:layout_weight="1"
244 - android:background="@drawable/profil_selector"
245 - android:text="의료급여수급건자"
246 - android:textOff="의료급여수급건자"
247 - android:textOn="의료급여수급건자" />
248 - </LinearLayout>
249 -
250 -
251 - </LinearLayout>
252 - </LinearLayout>
253 - </ScrollView>
254 -
255 - <LinearLayout
256 - android:layout_width="match_parent"
257 - android:layout_height="100dp"
258 - android:layout_weight="1"
259 - android:gravity="center"
260 - android:orientation="vertical">
261 -
262 - <LinearLayout
263 - android:id="@+id/subLinearLayout"
264 - android:layout_width="match_parent"
265 - android:layout_height="wrap_content"
266 - android:orientation="vertical">
267 -
268 - <RelativeLayout
269 - android:layout_width="match_parent"
270 - android:layout_height="wrap_content">
271 -
272 - <TextView
273 - android:id="@+id/explainSubTextView"
274 - android:layout_width="wrap_content"
275 - android:layout_height="wrap_content"
276 - android:layout_centerInParent="true"
277 - android:layout_gravity="center"
278 - android:gravity="center"
279 - android:text="16-1. 매월 납부하는 건강보험료를 입력해주세요." />
280 -
281 - <Button
282 - android:id="@+id/questionSubButton"
283 - android:layout_width="30dp"
284 - android:layout_height="30dp"
285 - android:layout_gravity="center"
286 - android:layout_toRightOf="@id/explainSubTextView"
287 - android:backgroundTint="#1E90FF"
288 - android:gravity="center"
289 - android:text=" ? "
290 - android:textSize="8sp" />
291 - </RelativeLayout>
292 -
293 - <LinearLayout
294 - android:layout_width="wrap_content"
295 - android:layout_height="match_parent"
296 - android:layout_gravity="center"
297 - android:orientation="vertical">
298 -
299 - <TextView
300 - android:id="@+id/textView1"
301 - android:layout_width="match_parent"
302 - android:layout_height="wrap_content"
303 - android:text="건강보험 총 납부액" />
304 -
305 - <EditText
306 - android:id="@+id/editText1"
307 - android:layout_width="match_parent"
308 - android:layout_height="wrap_content"
309 - android:ems="10"
310 - android:hint="ex)1000000"
311 - android:inputType="textPersonName" />
312 -
313 - </LinearLayout>
314 -
315 - </LinearLayout>
316 - </LinearLayout>
317 -
318 - <LinearLayout
319 - android:layout_width="match_parent"
320 - android:layout_height="wrap_content"
321 - android:orientation="horizontal">
322 -
323 - <Button
324 - android:id="@+id/previousButton"
325 - android:layout_width="10dp"
326 - android:layout_height="wrap_content"
327 - android:layout_weight="1"
328 - android:text="이전 단계로" />
329 -
330 - <Button
331 - android:id="@+id/nextButton"
332 - android:layout_width="10dp"
333 - android:layout_height="wrap_content"
334 - android:layout_weight="1"
335 - android:text="다음 단계로" />
336 - </LinearLayout>
337 - </LinearLayout>
338 - </LinearLayout>
339 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstFiveActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="0"
18 - android:orientation="horizontal">
19 -
20 - <TextView
21 - android:id="@+id/stageTextView1"
22 - android:layout_width="wrap_content"
23 - android:layout_height="wrap_content"
24 - android:layout_gravity="center"
25 - android:layout_weight="1"
26 - android:gravity="center"
27 - android:text="1단계" />
28 -
29 - <TextView
30 - android:id="@+id/neccesaryTextView"
31 - android:layout_width="wrap_content"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center"
34 - android:layout_weight="1"
35 - android:gravity="center"
36 - android:text="필수항목" />
37 - </LinearLayout>
38 -
39 - <LinearLayout
40 - android:layout_width="match_parent"
41 - android:layout_height="10dp"
42 - android:layout_weight="1"
43 - android:orientation="vertical"></LinearLayout>
44 -
45 - <LinearLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:layout_weight="1"
49 - android:orientation="vertical">
50 -
51 - <LinearLayout
52 - android:layout_width="match_parent"
53 - android:layout_height="wrap_content"
54 - android:orientation="vertical">
55 -
56 - <TextView
57 - android:id="@+id/explainTextView"
58 - android:layout_width="match_parent"
59 - android:layout_height="wrap_content"
60 - android:layout_gravity="center"
61 - android:gravity="center"
62 - android:text="4. 내/외국인 여부를 선택해주세요." />
63 - </LinearLayout>
64 -
65 - <LinearLayout
66 - android:layout_width="match_parent"
67 - android:layout_height="50dp"
68 - android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout>
70 -
71 - <LinearLayout
72 - android:layout_width="wrap_content"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 - android:orientation="vertical">
77 -
78 - <ToggleButton
79 - android:id="@+id/inmanButton"
80 - android:layout_width="match_parent"
81 - android:layout_height="wrap_content"
82 - android:background="@drawable/profil_selector"
83 - android:text="내국인"
84 - android:textOff="내국인"
85 - android:textOn="내국인" />
86 -
87 - <ToggleButton
88 - android:id="@+id/outmanButton"
89 - android:layout_width="match_parent"
90 - android:layout_height="wrap_content"
91 - android:background="@drawable/profil_selector"
92 - android:text="외국인"
93 - android:textOff="외국인"
94 - android:textOn="외국인" />
95 -
96 - </LinearLayout>
97 -
98 - <LinearLayout
99 - android:layout_width="match_parent"
100 - android:layout_height="100dp"
101 - android:layout_weight="1"
102 - android:orientation="vertical"></LinearLayout>
103 -
104 - <LinearLayout
105 - android:layout_width="match_parent"
106 - android:layout_height="wrap_content"
107 - android:orientation="horizontal">
108 -
109 - <Button
110 - android:id="@+id/previousButton"
111 - android:layout_width="10dp"
112 - android:layout_height="wrap_content"
113 - android:layout_weight="1"
114 - android:text="이전 단계로" />
115 -
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 - <Button
123 - android:id="@+id/nextButton"
124 - android:layout_width="10dp"
125 - android:layout_height="wrap_content"
126 - android:layout_weight="1"
127 - android:text="다음 단계로" />
128 - </LinearLayout>
129 - </LinearLayout>
130 - </LinearLayout>
131 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstFourActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="0"
18 - android:orientation="horizontal">
19 -
20 - <TextView
21 - android:id="@+id/stageTextView1"
22 - android:layout_width="wrap_content"
23 - android:layout_height="wrap_content"
24 - android:layout_gravity="center"
25 - android:layout_weight="1"
26 - android:gravity="center"
27 - android:text="1단계" />
28 -
29 - <TextView
30 - android:id="@+id/neccesaryTextView"
31 - android:layout_width="wrap_content"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center"
34 - android:layout_weight="1"
35 - android:gravity="center"
36 - android:text="필수항목" />
37 - </LinearLayout>
38 -
39 - <LinearLayout
40 - android:layout_width="match_parent"
41 - android:layout_height="10dp"
42 - android:layout_weight="1"
43 - android:orientation="vertical"></LinearLayout>
44 -
45 - <LinearLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:layout_weight="1"
49 - android:orientation="vertical">
50 -
51 - <LinearLayout
52 - android:layout_width="match_parent"
53 - android:layout_height="wrap_content"
54 - android:orientation="vertical">
55 -
56 - <TextView
57 - android:id="@+id/explainTextView"
58 - android:layout_width="match_parent"
59 - android:layout_height="wrap_content"
60 - android:layout_gravity="center"
61 - android:gravity="center"
62 - android:text="3. 주민등록상 거주지를 선택해 주세요." />
63 - </LinearLayout>
64 -
65 - <LinearLayout
66 - android:layout_width="match_parent"
67 - android:layout_height="50dp"
68 - android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout>
70 -
71 - <LinearLayout
72 - android:layout_width="wrap_content"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 - android:orientation="vertical">
77 -
78 - <TextView
79 - android:id="@+id/doTextView"
80 - android:layout_width="match_parent"
81 - android:layout_height="wrap_content"
82 - android:text="시/도" />
83 -
84 - <Spinner
85 - android:id="@+id/doSpinner"
86 - android:layout_width="fill_parent"
87 - android:layout_height="wrap_content" />
88 -
89 - <TextView
90 - android:id="@+id/cityTextView"
91 - android:layout_width="match_parent"
92 - android:layout_height="wrap_content"
93 - android:text="시/군/구" />
94 -
95 - <Spinner
96 - android:id="@+id/gooSpinner"
97 - android:layout_width="fill_parent"
98 - android:layout_height="wrap_content" />
99 -
100 - </LinearLayout>
101 -
102 - <LinearLayout
103 - android:layout_width="match_parent"
104 - android:layout_height="100dp"
105 - android:layout_weight="1"
106 - android:orientation="vertical"></LinearLayout>
107 -
108 - <LinearLayout
109 - android:layout_width="match_parent"
110 - android:layout_height="wrap_content"
111 - android:orientation="horizontal">
112 -
113 - <Button
114 - android:id="@+id/previousButton"
115 - android:layout_width="10dp"
116 - android:layout_height="wrap_content"
117 - android:layout_weight="1"
118 - android:text="이전 단계로" />
119 -
120 - <LinearLayout
121 - android:layout_width="10dp"
122 - android:layout_height="match_parent"
123 - android:layout_weight="1"
124 - android:orientation="vertical"></LinearLayout>
125 -
126 - <Button
127 - android:id="@+id/nextButton"
128 - android:layout_width="10dp"
129 - android:layout_height="wrap_content"
130 - android:layout_weight="1"
131 - android:text="다음 단계로" />
132 - </LinearLayout>
133 - </LinearLayout>
134 - </LinearLayout>
135 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstOneActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="1"
18 - android:orientation="vertical">
19 -
20 - </LinearLayout>
21 -
22 - <LinearLayout
23 - android:layout_width="match_parent"
24 - android:layout_height="wrap_content"
25 - android:orientation="vertical">
26 -
27 - <ImageView
28 - android:id="@+id/imageView"
29 - android:layout_width="wrap_content"
30 - android:layout_height="wrap_content"
31 - android:layout_gravity="center"
32 - tools:srcCompat="@tools:sample/avatars" />
33 - </LinearLayout>
34 -
35 - <LinearLayout
36 - android:layout_width="match_parent"
37 - android:layout_height="30dp"
38 - android:layout_weight="2"
39 - android:orientation="vertical"></LinearLayout>
40 -
41 - <LinearLayout
42 - android:layout_width="match_parent"
43 - android:layout_height="wrap_content"
44 - android:orientation="vertical">
45 -
46 - <Button
47 - android:id="@+id/inputStartButton"
48 - android:layout_width="wrap_content"
49 - android:layout_height="wrap_content"
50 - android:layout_gravity="center"
51 - android:gravity="center"
52 - android:text="프로필 정보 입력하기" />
53 - </LinearLayout>
54 -
55 - <LinearLayout
56 - android:layout_width="match_parent"
57 - android:layout_height="30dp"
58 - android:layout_weight="3"
59 - android:orientation="vertical"></LinearLayout>
60 - </LinearLayout>
61 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstSixActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="0"
18 - android:orientation="horizontal">
19 -
20 - <TextView
21 - android:id="@+id/stageTextView1"
22 - android:layout_width="wrap_content"
23 - android:layout_height="wrap_content"
24 - android:layout_gravity="center"
25 - android:layout_weight="1"
26 - android:gravity="center"
27 - android:text="1단계" />
28 -
29 - <TextView
30 - android:id="@+id/neccesaryTextView"
31 - android:layout_width="wrap_content"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center"
34 - android:layout_weight="1"
35 - android:gravity="center"
36 - android:text="필수항목" />
37 - </LinearLayout>
38 -
39 - <LinearLayout
40 - android:layout_width="match_parent"
41 - android:layout_height="10dp"
42 - android:layout_weight="1"
43 - android:orientation="vertical"></LinearLayout>
44 -
45 - <LinearLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:layout_weight="1"
49 - android:orientation="vertical">
50 -
51 - <LinearLayout
52 - android:layout_width="match_parent"
53 - android:layout_height="wrap_content"
54 - android:orientation="vertical">
55 -
56 - <TextView
57 - android:id="@+id/explainTextView"
58 - android:layout_width="match_parent"
59 - android:layout_height="wrap_content"
60 - android:layout_gravity="center"
61 - android:gravity="center"
62 - android:text="5. 가구주 여부를 선택해 주세요" />
63 - </LinearLayout>
64 -
65 - <LinearLayout
66 - android:layout_width="match_parent"
67 - android:layout_height="50dp"
68 - android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout>
70 -
71 - <LinearLayout
72 - android:layout_width="wrap_content"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 - android:orientation="vertical">
77 -
78 - <ToggleButton
79 - android:id="@+id/gagoojooButton"
80 - android:layout_width="match_parent"
81 - android:layout_height="wrap_content"
82 - android:background="@drawable/profil_selector"
83 - android:text="가구주"
84 - android:textOff="가구주"
85 - android:textOn="가구주" />
86 -
87 - <ToggleButton
88 - android:id="@+id/gagoowonButton"
89 - android:layout_width="match_parent"
90 - android:layout_height="wrap_content"
91 - android:background="@drawable/profil_selector"
92 - android:text="가구원"
93 - android:textOff="가구원"
94 - android:textOn="외국인" />
95 -
96 - </LinearLayout>
97 -
98 - <LinearLayout
99 - android:layout_width="match_parent"
100 - android:layout_height="100dp"
101 - android:layout_weight="1"
102 - android:orientation="vertical"></LinearLayout>
103 -
104 - <LinearLayout
105 - android:layout_width="match_parent"
106 - android:layout_height="wrap_content"
107 - android:orientation="horizontal">
108 -
109 - <Button
110 - android:id="@+id/previousButton"
111 - android:layout_width="10dp"
112 - android:layout_height="wrap_content"
113 - android:layout_weight="1"
114 - android:text="이전 단계로" />
115 -
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 - <Button
123 - android:id="@+id/nextButton"
124 - android:layout_width="10dp"
125 - android:layout_height="wrap_content"
126 - android:layout_weight="1"
127 - android:text="다음 단계로" />
128 - </LinearLayout>
129 - </LinearLayout>
130 - </LinearLayout>
131 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstThreeActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="0"
18 - android:orientation="horizontal">
19 -
20 - <TextView
21 - android:id="@+id/stageTextView1"
22 - android:layout_width="wrap_content"
23 - android:layout_height="wrap_content"
24 - android:layout_gravity="center"
25 - android:layout_weight="1"
26 - android:gravity="center"
27 - android:text="1단계" />
28 -
29 - <TextView
30 - android:id="@+id/neccesaryTextView"
31 - android:layout_width="wrap_content"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center"
34 - android:layout_weight="1"
35 - android:gravity="center"
36 - android:text="필수항목" />
37 - </LinearLayout>
38 -
39 - <LinearLayout
40 - android:layout_width="match_parent"
41 - android:layout_height="10dp"
42 - android:layout_weight="1"
43 - android:orientation="vertical"></LinearLayout>
44 -
45 - <LinearLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:layout_weight="1"
49 - android:orientation="vertical">
50 -
51 - <LinearLayout
52 - android:layout_width="match_parent"
53 - android:layout_height="wrap_content"
54 - android:orientation="vertical">
55 -
56 - <TextView
57 - android:id="@+id/explainTextView"
58 - android:layout_width="match_parent"
59 - android:layout_height="wrap_content"
60 - android:layout_gravity="center"
61 - android:gravity="center"
62 - android:text="2. 성별을 선택해 주세요." />
63 - </LinearLayout>
64 -
65 - <LinearLayout
66 - android:layout_width="match_parent"
67 - android:layout_height="50dp"
68 - android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout>
70 -
71 - <LinearLayout
72 - android:layout_width="wrap_content"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 - android:orientation="vertical">
77 -
78 - <RadioGroup
79 - android:id="@+id/radio_group"
80 - android:layout_width="match_parent"
81 - android:layout_height="match_parent">
82 -
83 - <RadioButton
84 - android:id="@+id/manButton"
85 - android:layout_width="match_parent"
86 - android:layout_height="wrap_content"
87 - android:text="남자" />
88 -
89 - <RadioButton
90 - android:id="@+id/womanButton"
91 - android:layout_width="match_parent"
92 - android:layout_height="wrap_content"
93 - android:text="여자" />
94 - </RadioGroup>
95 -
96 - </LinearLayout>
97 -
98 - <LinearLayout
99 - android:layout_width="match_parent"
100 - android:layout_height="100dp"
101 - android:layout_weight="1"
102 - android:orientation="vertical"></LinearLayout>
103 -
104 - <LinearLayout
105 - android:layout_width="match_parent"
106 - android:layout_height="wrap_content"
107 - android:orientation="horizontal">
108 -
109 - <Button
110 - android:id="@+id/previousButton"
111 - android:layout_width="10dp"
112 - android:layout_height="wrap_content"
113 - android:layout_weight="1"
114 - android:text="이전 단계로" />
115 -
116 - <LinearLayout
117 - android:layout_width="10dp"
118 - android:layout_height="match_parent"
119 - android:layout_weight="1"
120 - android:orientation="vertical"></LinearLayout>
121 -
122 - <Button
123 - android:id="@+id/nextButton"
124 - android:layout_width="10dp"
125 - android:layout_height="wrap_content"
126 - android:layout_weight="1"
127 - android:text="다음 단계로" />
128 - </LinearLayout>
129 - </LinearLayout>
130 - </LinearLayout>
131 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFirstTwoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <LinearLayout
15 - android:layout_width="match_parent"
16 - android:layout_height="50dp"
17 - android:layout_weight="0"
18 - android:orientation="horizontal">
19 -
20 - <TextView
21 - android:id="@+id/stageTextView1"
22 - android:layout_width="wrap_content"
23 - android:layout_height="wrap_content"
24 - android:layout_gravity="center"
25 - android:layout_weight="1"
26 - android:gravity="center"
27 - android:text="1단계" />
28 -
29 - <TextView
30 - android:id="@+id/neccesaryTextView"
31 - android:layout_width="wrap_content"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center"
34 - android:layout_weight="1"
35 - android:gravity="center"
36 - android:text="필수항목" />
37 - </LinearLayout>
38 -
39 - <LinearLayout
40 - android:layout_width="match_parent"
41 - android:layout_height="10dp"
42 - android:layout_weight="1"
43 - android:orientation="vertical"></LinearLayout>
44 -
45 - <LinearLayout
46 - android:layout_width="match_parent"
47 - android:layout_height="wrap_content"
48 - android:layout_weight="1"
49 - android:orientation="vertical">
50 -
51 - <LinearLayout
52 - android:layout_width="match_parent"
53 - android:layout_height="wrap_content"
54 - android:orientation="vertical">
55 -
56 - <TextView
57 - android:id="@+id/explainTextView"
58 - android:layout_width="match_parent"
59 - android:layout_height="wrap_content"
60 - android:layout_gravity="center"
61 - android:gravity="center"
62 - android:text="1. 생년월일을 입력해 주세요." />
63 - </LinearLayout>
64 -
65 - <LinearLayout
66 - android:layout_width="match_parent"
67 - android:layout_height="50dp"
68 - android:layout_weight="1"
69 - android:orientation="vertical"></LinearLayout>
70 -
71 - <LinearLayout
72 - android:layout_width="wrap_content"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:gravity="center"
76 - android:orientation="vertical">
77 -
78 - <EditText
79 - android:id="@+id/editText"
80 - android:layout_width="match_parent"
81 - android:layout_height="wrap_content"
82 - android:layout_gravity="center"
83 - android:ems="10"
84 - android:gravity="center"
85 - android:inputType="date" />
86 - </LinearLayout>
87 -
88 - <LinearLayout
89 - android:layout_width="match_parent"
90 - android:layout_height="100dp"
91 - android:layout_weight="1"
92 - android:orientation="vertical"></LinearLayout>
93 -
94 - <LinearLayout
95 - android:layout_width="match_parent"
96 - android:layout_height="wrap_content"
97 - android:orientation="horizontal">
98 -
99 - <LinearLayout
100 - android:layout_width="10dp"
101 - android:layout_height="match_parent"
102 - android:layout_weight="1"
103 - android:orientation="vertical">
104 -
105 - </LinearLayout>
106 -
107 - <LinearLayout
108 - android:layout_width="10dp"
109 - android:layout_height="match_parent"
110 - android:layout_weight="1"
111 - android:orientation="vertical"></LinearLayout>
112 -
113 - <Button
114 - android:id="@+id/nextButton"
115 - android:layout_width="10dp"
116 - android:layout_height="wrap_content"
117 - android:layout_weight="1"
118 - android:text="다음 단계로" />
119 - </LinearLayout>
120 - </LinearLayout>
121 - </LinearLayout>
122 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFourthFiveActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="10dp"
122 - android:layout_weight="1"
123 - android:orientation="vertical"></LinearLayout>
124 -
125 - <LinearLayout
126 - android:layout_width="match_parent"
127 - android:layout_height="wrap_content"
128 - android:layout_weight="1"
129 - android:orientation="vertical">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:orientation="vertical">
135 -
136 - <RelativeLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="match_parent">
139 -
140 - <TextView
141 - android:id="@+id/explainTextView"
142 - android:layout_width="wrap_content"
143 - android:layout_height="wrap_content"
144 - android:layout_centerInParent="true"
145 - android:layout_gravity="center"
146 - android:gravity="center"
147 - android:text="14. 자신을 포함한 가구구성원의 [피해 상황]을 모두 선택해주세요." />
148 -
149 - <Button
150 - android:id="@+id/questionButton"
151 - android:layout_width="30dp"
152 - android:layout_height="30dp"
153 - android:layout_gravity="center"
154 - android:layout_toRightOf="@id/explainTextView"
155 - android:backgroundTint="#1E90FF"
156 - android:gravity="center"
157 - android:text=" ? "
158 - android:textSize="8sp" />
159 - </RelativeLayout>
160 - </LinearLayout>
161 -
162 - <LinearLayout
163 - android:layout_width="match_parent"
164 - android:layout_height="50dp"
165 - android:layout_weight="1"
166 - android:orientation="vertical">
167 -
168 - </LinearLayout>
169 -
170 - <ScrollView
171 - android:layout_width="match_parent"
172 - android:layout_height="wrap_content">
173 -
174 - <LinearLayout
175 - android:layout_width="match_parent"
176 - android:layout_height="wrap_content"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="wrap_content"
181 - android:layout_height="wrap_content"
182 - android:layout_gravity="center"
183 - android:gravity="center"
184 - android:orientation="vertical">
185 -
186 - <LinearLayout
187 - android:layout_width="match_parent"
188 - android:layout_height="match_parent"
189 - android:orientation="horizontal">
190 -
191 - <ToggleButton
192 - android:id="@+id/nothingButton"
193 - android:layout_width="wrap_content"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:background="@drawable/profil_selector"
197 - android:text="해당없음"
198 - android:textOff="해당없음"
199 - android:textOn="해당없음" />
200 -
201 - <ToggleButton
202 - android:id="@+id/iljaeButton"
203 - android:layout_width="wrap_content"
204 - android:layout_height="wrap_content"
205 - android:layout_weight="1"
206 - android:background="@drawable/profil_selector"
207 - android:text="일제강점기피해자"
208 - android:textOff="일제강점기피해자"
209 - android:textOn="일제강점기피해자" />
210 -
211 - </LinearLayout>
212 -
213 - <LinearLayout
214 - android:layout_width="match_parent"
215 - android:layout_height="match_parent"
216 - android:orientation="horizontal">
217 -
218 - <ToggleButton
219 - android:id="@+id/specialpihaeButton"
220 - android:layout_width="wrap_content"
221 - android:layout_height="wrap_content"
222 - android:layout_weight="1"
223 - android:background="@drawable/profil_selector"
224 - android:text="특수상황피해자"
225 - android:textOff="특수상황피해자"
226 - android:textOn="특수상황피해자" />
227 -
228 - <ToggleButton
229 - android:id="@+id/sanuppihaeButton"
230 - android:layout_width="wrap_content"
231 - android:layout_height="wrap_content"
232 - android:layout_weight="1"
233 - android:background="@drawable/profil_selector"
234 - android:text="산업재해피해자/가족"
235 - android:textOff="산업재해피해자/가족"
236 - android:textOn="산업재해피해자/가족" />
237 -
238 - </LinearLayout>
239 -
240 -
241 - <LinearLayout
242 - android:layout_width="match_parent"
243 - android:layout_height="match_parent"
244 - android:orientation="horizontal">
245 -
246 - <ToggleButton
247 - android:id="@+id/guitarButton"
248 - android:layout_width="wrap_content"
249 - android:layout_height="wrap_content"
250 - android:layout_weight="1"
251 - android:background="@drawable/profil_selector"
252 - android:text="기타피해상황"
253 - android:textOff="기타피해상황"
254 - android:textOn="기타피해상황" />
255 - </LinearLayout>
256 -
257 -
258 - </LinearLayout>
259 - </LinearLayout>
260 - </ScrollView>
261 -
262 - <LinearLayout
263 - android:layout_width="match_parent"
264 - android:layout_height="100dp"
265 - android:layout_weight="1"
266 - android:orientation="vertical"></LinearLayout>
267 -
268 - <LinearLayout
269 - android:layout_width="match_parent"
270 - android:layout_height="wrap_content"
271 - android:orientation="horizontal">
272 -
273 - <Button
274 - android:id="@+id/previousButton"
275 - android:layout_width="10dp"
276 - android:layout_height="wrap_content"
277 - android:layout_weight="1"
278 - android:text="이전 단계로" />
279 -
280 - <Button
281 - android:id="@+id/nextButton"
282 - android:layout_width="10dp"
283 - android:layout_height="wrap_content"
284 - android:layout_weight="1"
285 - android:text="다음 단계로" />
286 - </LinearLayout>
287 - </LinearLayout>
288 - </LinearLayout>
289 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFourthFourActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="10dp"
122 - android:layout_weight="1"
123 - android:orientation="vertical"></LinearLayout>
124 -
125 - <LinearLayout
126 - android:layout_width="match_parent"
127 - android:layout_height="wrap_content"
128 - android:layout_weight="1"
129 - android:orientation="vertical">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:orientation="vertical">
135 -
136 - <RelativeLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="match_parent">
139 -
140 - <TextView
141 - android:id="@+id/explainTextView"
142 - android:layout_width="wrap_content"
143 - android:layout_height="wrap_content"
144 - android:layout_centerInParent="true"
145 - android:layout_gravity="center"
146 - android:gravity="center"
147 - android:text="13. 자신을 포함한 가구구성원의 [위기 상황]을 모두 선택해주세요." />
148 -
149 - <Button
150 - android:id="@+id/questionButton"
151 - android:layout_width="30dp"
152 - android:layout_height="30dp"
153 - android:layout_gravity="center"
154 - android:layout_toRightOf="@id/explainTextView"
155 - android:backgroundTint="#1E90FF"
156 - android:gravity="center"
157 - android:text=" ? "
158 - android:textSize="8sp" />
159 - </RelativeLayout>
160 - </LinearLayout>
161 -
162 - <LinearLayout
163 - android:layout_width="match_parent"
164 - android:layout_height="50dp"
165 - android:layout_weight="1"
166 - android:orientation="vertical">
167 -
168 - </LinearLayout>
169 -
170 - <ScrollView
171 - android:layout_width="match_parent"
172 - android:layout_height="wrap_content">
173 -
174 - <LinearLayout
175 - android:layout_width="match_parent"
176 - android:layout_height="wrap_content"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="wrap_content"
181 - android:layout_height="wrap_content"
182 - android:layout_gravity="center"
183 - android:gravity="center"
184 - android:orientation="vertical">
185 -
186 - <LinearLayout
187 - android:layout_width="match_parent"
188 - android:layout_height="match_parent"
189 - android:orientation="horizontal">
190 -
191 - <ToggleButton
192 - android:id="@+id/nothingButton"
193 - android:layout_width="wrap_content"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:background="@drawable/profil_selector"
197 - android:text="해당없음"
198 - android:textOff="해당없음"
199 - android:textOn="해당없음" />
200 -
201 - <ToggleButton
202 - android:id="@+id/pokryukButton"
203 - android:layout_width="wrap_content"
204 - android:layout_height="wrap_content"
205 - android:layout_weight="1"
206 - android:background="@drawable/profil_selector"
207 - android:text="폭력"
208 - android:textOff="폭력"
209 - android:textOn="폭력" />
210 -
211 - <ToggleButton
212 - android:id="@+id/pihaeButton"
213 - android:layout_width="wrap_content"
214 - android:layout_height="wrap_content"
215 - android:layout_weight="1"
216 - android:background="@drawable/profil_selector"
217 - android:text="피해/학대"
218 - android:textOff="피해/학대"
219 - android:textOn="피해/학대" />
220 -
221 - </LinearLayout>
222 -
223 - <LinearLayout
224 - android:layout_width="match_parent"
225 - android:layout_height="match_parent"
226 - android:orientation="horizontal">
227 -
228 - <ToggleButton
229 - android:id="@+id/kachoolButton"
230 - android:layout_width="wrap_content"
231 - android:layout_height="wrap_content"
232 - android:layout_weight="1"
233 - android:background="@drawable/profil_selector"
234 - android:text="가출/실종/사망"
235 - android:textOff="가출/실종/사망"
236 - android:textOn="가출/실종/사망" />
237 -
238 - <ToggleButton
239 - android:id="@+id/sagoButton"
240 - android:layout_width="wrap_content"
241 - android:layout_height="wrap_content"
242 - android:layout_weight="1"
243 - android:background="@drawable/profil_selector"
244 - android:text="사고"
245 - android:textOff="사고"
246 - android:textOn="사고" />
247 -
248 - <ToggleButton
249 - android:id="@+id/ihonButton"
250 - android:layout_width="wrap_content"
251 - android:layout_height="wrap_content"
252 - android:layout_weight="1"
253 - android:background="@drawable/profil_selector"
254 - android:text="이혼(예정)"
255 - android:textOff="이혼(예정)"
256 - android:textOn="이혼(예정)" />
257 - </LinearLayout>
258 -
259 -
260 - <LinearLayout
261 - android:layout_width="match_parent"
262 - android:layout_height="match_parent"
263 - android:orientation="horizontal">
264 -
265 - <ToggleButton
266 - android:id="@+id/jaehaeButton"
267 - android:layout_width="wrap_content"
268 - android:layout_height="wrap_content"
269 - android:layout_weight="1"
270 - android:background="@drawable/profil_selector"
271 - android:text="재해"
272 - android:textOff="재해"
273 - android:textOn="재해" />
274 -
275 - <ToggleButton
276 - android:id="@+id/hakkyobaakButton"
277 - android:layout_width="wrap_content"
278 - android:layout_height="wrap_content"
279 - android:layout_weight="1"
280 - android:background="@drawable/profil_selector"
281 - android:text="학교밖청소년"
282 - android:textOff="학교밖청소년"
283 - android:textOn="학교밖청소년" />
284 -
285 - <ToggleButton
286 - android:id="@+id/siljikButton"
287 - android:layout_width="wrap_content"
288 - android:layout_height="wrap_content"
289 - android:layout_weight="1"
290 - android:background="@drawable/profil_selector"
291 - android:text="실직"
292 - android:textOff="실직"
293 - android:textOn="실직" />
294 - </LinearLayout>
295 -
296 - <LinearLayout
297 - android:layout_width="match_parent"
298 - android:layout_height="match_parent"
299 - android:orientation="horizontal">
300 -
301 - <ToggleButton
302 - android:id="@+id/guitarButton"
303 - android:layout_width="wrap_content"
304 - android:layout_height="wrap_content"
305 - android:layout_weight="1"
306 - android:background="@drawable/profil_selector"
307 - android:text="기타"
308 - android:textOff="기타"
309 - android:textOn="기타" />
310 - </LinearLayout>
311 -
312 -
313 - </LinearLayout>
314 - </LinearLayout>
315 - </ScrollView>
316 -
317 - <LinearLayout
318 - android:layout_width="match_parent"
319 - android:layout_height="100dp"
320 - android:layout_weight="1"
321 - android:orientation="vertical"></LinearLayout>
322 -
323 - <LinearLayout
324 - android:layout_width="match_parent"
325 - android:layout_height="wrap_content"
326 - android:orientation="horizontal">
327 -
328 - <Button
329 - android:id="@+id/previousButton"
330 - android:layout_width="10dp"
331 - android:layout_height="wrap_content"
332 - android:layout_weight="1"
333 - android:text="이전 단계로" />
334 -
335 - <Button
336 - android:id="@+id/nextButton"
337 - android:layout_width="10dp"
338 - android:layout_height="wrap_content"
339 - android:layout_weight="1"
340 - android:text="다음 단계로" />
341 - </LinearLayout>
342 - </LinearLayout>
343 - </LinearLayout>
344 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFourthOneActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 -
95 - android:background="#1E90FF"
96 - android:gravity="center"
97 - android:text="3" />
98 -
99 - <TextView
100 - android:id="@+id/stageTextView4"
101 - android:layout_width="wrap_content"
102 - android:layout_height="match_parent"
103 - android:layout_gravity="center"
104 - android:layout_weight="1"
105 - android:background="#1E90FF"
106 - android:gravity="center"
107 - android:text="4" />
108 -
109 - <TextView
110 - android:id="@+id/stageTextView5"
111 - android:layout_width="wrap_content"
112 - android:layout_height="match_parent"
113 - android:layout_gravity="center"
114 - android:layout_weight="1"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="wrap_content"
123 - android:layout_weight="1"
124 - android:orientation="vertical">
125 -
126 - <ScrollView
127 - android:layout_width="match_parent"
128 - android:layout_height="match_parent"
129 - android:layout_weight="1">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:orientation="vertical">
135 -
136 - <LinearLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="wrap_content"
139 - android:orientation="vertical">
140 -
141 - <RelativeLayout
142 - android:layout_width="match_parent"
143 - android:layout_height="match_parent">
144 -
145 - <TextView
146 - android:id="@+id/explainTextView"
147 - android:layout_width="wrap_content"
148 - android:layout_height="wrap_content"
149 - android:layout_centerInParent="true"
150 - android:layout_gravity="center"
151 - android:gravity="center"
152 - android:text="10. 자신의 주택보유 상태를 선택해주세요." />
153 -
154 - <Button
155 - android:id="@+id/questionButton"
156 - android:layout_width="30dp"
157 - android:layout_height="30dp"
158 - android:layout_gravity="center"
159 - android:layout_toRightOf="@id/explainTextView"
160 - android:backgroundTint="#1E90FF"
161 - android:gravity="center"
162 - android:text=" ? "
163 - android:textSize="8sp" />
164 - </RelativeLayout>
165 - </LinearLayout>
166 -
167 - <LinearLayout
168 - android:layout_width="match_parent"
169 - android:layout_height="wrap_content"
170 - android:orientation="vertical">
171 -
172 - <LinearLayout
173 - android:layout_width="wrap_content"
174 - android:layout_height="wrap_content"
175 - android:layout_gravity="center"
176 - android:gravity="center"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="match_parent"
181 - android:layout_height="match_parent"
182 - android:orientation="horizontal">
183 -
184 - <ToggleButton
185 - android:id="@+id/yesButton"
186 - android:layout_width="300dp"
187 - android:layout_height="wrap_content"
188 - android:layout_weight="1"
189 - android:background="@drawable/profil_selector"
190 - android:text="보유"
191 - android:textOff="보유"
192 - android:textOn="보유" />
193 -
194 - </LinearLayout>
195 -
196 -
197 - <LinearLayout
198 - android:layout_width="match_parent"
199 - android:layout_height="match_parent"
200 - android:orientation="horizontal">
201 -
202 - <ToggleButton
203 - android:id="@+id/noButton"
204 - android:layout_width="300dp"
205 - android:layout_height="wrap_content"
206 - android:layout_weight="1"
207 - android:background="@drawable/profil_selector"
208 - android:text="미보유"
209 - android:textOff="미보유"
210 - android:textOn="미보유" />
211 - </LinearLayout>
212 -
213 - </LinearLayout>
214 - </LinearLayout>
215 -
216 - <LinearLayout
217 - android:id="@+id/subLinearLayout"
218 - android:layout_width="match_parent"
219 - android:layout_height="wrap_content"
220 - android:layout_weight="1"
221 - android:orientation="vertical"
222 - android:visibility="gone">
223 -
224 - <LinearLayout
225 - android:layout_width="match_parent"
226 - android:layout_height="wrap_content"
227 - android:orientation="vertical">
228 -
229 - <RelativeLayout
230 - android:layout_width="match_parent"
231 - android:layout_height="match_parent">
232 -
233 - <TextView
234 - android:id="@+id/explainSub1TextView"
235 - android:layout_width="wrap_content"
236 - android:layout_height="wrap_content"
237 - android:layout_centerInParent="true"
238 - android:layout_gravity="center"
239 - android:gravity="center"
240 - android:text="10-1. 주거유형(본인)을 선택해주세요." />
241 -
242 - <Button
243 - android:id="@+id/questionSub1Button"
244 - android:layout_width="30dp"
245 - android:layout_height="30dp"
246 - android:layout_gravity="center"
247 - android:layout_toRightOf="@id/explainSub1TextView"
248 - android:backgroundTint="#1E90FF"
249 - android:gravity="center"
250 - android:text=" ? "
251 - android:textSize="8sp" />
252 - </RelativeLayout>
253 - </LinearLayout>
254 -
255 - <LinearLayout
256 - android:layout_width="match_parent"
257 - android:layout_height="wrap_content"
258 - android:orientation="vertical">
259 -
260 - <LinearLayout
261 - android:layout_width="wrap_content"
262 - android:layout_height="wrap_content"
263 - android:layout_gravity="center"
264 - android:gravity="center"
265 - android:orientation="vertical">
266 -
267 - <LinearLayout
268 - android:layout_width="match_parent"
269 - android:layout_height="match_parent"
270 - android:orientation="horizontal">
271 -
272 - <ToggleButton
273 - android:id="@+id/jeonsaeButton"
274 - android:layout_width="300dp"
275 - android:layout_height="wrap_content"
276 - android:layout_weight="1"
277 - android:background="@drawable/profil_selector"
278 - android:text="전세"
279 - android:textOff="전세"
280 - android:textOn="전세" />
281 -
282 - <ToggleButton
283 - android:id="@+id/wolseButton"
284 - android:layout_width="300dp"
285 - android:layout_height="wrap_content"
286 - android:layout_weight="1"
287 - android:background="@drawable/profil_selector"
288 - android:text="월세"
289 - android:textOff="월세"
290 - android:textOn="월세" />
291 -
292 - </LinearLayout>
293 -
294 - <LinearLayout
295 - android:layout_width="match_parent"
296 - android:layout_height="match_parent"
297 - android:orientation="horizontal">
298 -
299 - <ToggleButton
300 - android:id="@+id/kongkongButton"
301 - android:layout_width="300dp"
302 - android:layout_height="wrap_content"
303 - android:layout_weight="1"
304 - android:background="@drawable/profil_selector"
305 - android:text="공공(임대)주택"
306 - android:textOff="공공(임대)주택"
307 - android:textOn="공공(임대)주택" />
308 -
309 - <ToggleButton
310 - android:id="@+id/moosangButton"
311 - android:layout_width="300dp"
312 - android:layout_height="wrap_content"
313 - android:layout_weight="1"
314 - android:background="@drawable/profil_selector"
315 - android:text="무상임대"
316 - android:textOff="무상임대"
317 - android:textOn="무상임대" />
318 - </LinearLayout>
319 -
320 - <LinearLayout
321 - android:layout_width="match_parent"
322 - android:layout_height="match_parent"
323 - android:orientation="horizontal">
324 -
325 - <ToggleButton
326 - android:id="@+id/bojangButton"
327 - android:layout_width="300dp"
328 - android:layout_height="wrap_content"
329 - android:layout_weight="1"
330 - android:background="@drawable/profil_selector"
331 - android:text="보장기관제공주거"
332 - android:textOff="보장기관제공주거"
333 - android:textOn="보장기관제공주거" />
334 -
335 - <ToggleButton
336 - android:id="@+id/guitarButton"
337 - android:layout_width="300dp"
338 - android:layout_height="wrap_content"
339 - android:layout_weight="1"
340 - android:background="@drawable/profil_selector"
341 - android:text="기타"
342 - android:textOff="기타"
343 - android:textOn="기타" />
344 - </LinearLayout>
345 -
346 -
347 - </LinearLayout>
348 - </LinearLayout>
349 -
350 - </LinearLayout>
351 -
352 - </LinearLayout>
353 - </ScrollView>
354 -
355 - <LinearLayout
356 - android:layout_width="match_parent"
357 - android:layout_height="wrap_content"
358 - android:orientation="horizontal">
359 -
360 - <Button
361 - android:id="@+id/previousButton"
362 - android:layout_width="10dp"
363 - android:layout_height="wrap_content"
364 - android:layout_weight="1"
365 - android:text="이전 단계로" />
366 -
367 - <Button
368 - android:id="@+id/nextButton"
369 - android:layout_width="10dp"
370 - android:layout_height="wrap_content"
371 - android:layout_weight="1"
372 - android:text="다음 단계로" />
373 - </LinearLayout>
374 -
375 - </LinearLayout>
376 - </LinearLayout>
377 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFourthThreeActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:background="#1E90FF"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="10dp"
122 - android:layout_weight="1"
123 - android:orientation="vertical"></LinearLayout>
124 -
125 - <LinearLayout
126 - android:layout_width="match_parent"
127 - android:layout_height="wrap_content"
128 - android:layout_weight="1"
129 - android:orientation="vertical">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:orientation="vertical">
135 -
136 - <RelativeLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="match_parent">
139 -
140 - <TextView
141 - android:id="@+id/explainTextView"
142 - android:layout_width="wrap_content"
143 - android:layout_height="wrap_content"
144 - android:layout_centerInParent="true"
145 - android:layout_gravity="center"
146 - android:gravity="center"
147 - android:text="12. 자신을 포함한 가구구성원의 [상황]을 모두 선택해주세요." />
148 -
149 - <Button
150 - android:id="@+id/questionButton"
151 - android:layout_width="30dp"
152 - android:layout_height="30dp"
153 - android:layout_gravity="center"
154 - android:layout_toRightOf="@id/explainTextView"
155 - android:backgroundTint="#1E90FF"
156 - android:gravity="center"
157 - android:text=" ? "
158 - android:textSize="8sp" />
159 - </RelativeLayout>
160 - </LinearLayout>
161 -
162 - <LinearLayout
163 - android:layout_width="match_parent"
164 - android:layout_height="50dp"
165 - android:layout_weight="1"
166 - android:orientation="vertical">
167 -
168 - </LinearLayout>
169 -
170 - <ScrollView
171 - android:layout_width="match_parent"
172 - android:layout_height="wrap_content">
173 -
174 - <LinearLayout
175 - android:layout_width="match_parent"
176 - android:layout_height="wrap_content"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="wrap_content"
181 - android:layout_height="wrap_content"
182 - android:layout_gravity="center"
183 - android:gravity="center"
184 - android:orientation="vertical">
185 -
186 - <LinearLayout
187 - android:layout_width="match_parent"
188 - android:layout_height="match_parent"
189 - android:orientation="horizontal">
190 -
191 - <ToggleButton
192 - android:id="@+id/nothingButton"
193 - android:layout_width="wrap_content"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:background="@drawable/profil_selector"
197 - android:text="해당없음"
198 - android:textOff="해당없음"
199 - android:textOn="해당없음" />
200 -
201 - <ToggleButton
202 - android:id="@+id/jeosodeukButton"
203 - android:layout_width="wrap_content"
204 - android:layout_height="wrap_content"
205 - android:layout_weight="1"
206 - android:background="@drawable/profil_selector"
207 - android:text="저소득"
208 - android:textOff="저소득"
209 - android:textOn="저소득" />
210 -
211 - <ToggleButton
212 - android:id="@+id/hanboomoButton"
213 - android:layout_width="wrap_content"
214 - android:layout_height="wrap_content"
215 - android:layout_weight="1"
216 - android:background="@drawable/profil_selector"
217 - android:text="한부모"
218 - android:textOff="한부모"
219 - android:textOn="한부모" />
220 -
221 - </LinearLayout>
222 -
223 - <LinearLayout
224 - android:layout_width="match_parent"
225 - android:layout_height="match_parent"
226 - android:orientation="horizontal">
227 -
228 - <ToggleButton
229 - android:id="@+id/oegookinButton"
230 - android:layout_width="wrap_content"
231 - android:layout_height="wrap_content"
232 - android:layout_weight="1"
233 - android:background="@drawable/profil_selector"
234 - android:text="외국인"
235 - android:textOff="외국인"
236 - android:textOn="외국인" />
237 -
238 - <ToggleButton
239 - android:id="@+id/damoonhwaButton"
240 - android:layout_width="wrap_content"
241 - android:layout_height="wrap_content"
242 - android:layout_weight="1"
243 - android:background="@drawable/profil_selector"
244 - android:text="다문화"
245 - android:textOff="다문화"
246 - android:textOn="다문화" />
247 -
248 - <ToggleButton
249 - android:id="@+id/jaangaeButton"
250 - android:layout_width="wrap_content"
251 - android:layout_height="wrap_content"
252 - android:layout_weight="1"
253 - android:background="@drawable/profil_selector"
254 - android:text="장애"
255 - android:textOff="장애"
256 - android:textOn="장애" />
257 - </LinearLayout>
258 -
259 -
260 - <LinearLayout
261 - android:layout_width="match_parent"
262 - android:layout_height="match_parent"
263 - android:orientation="horizontal">
264 -
265 - <ToggleButton
266 - android:id="@+id/imshinchoolsanButton"
267 - android:layout_width="wrap_content"
268 - android:layout_height="wrap_content"
269 - android:layout_weight="1"
270 - android:background="@drawable/profil_selector"
271 - android:text="임신출산"
272 - android:textOff="임신출산"
273 - android:textOn="임신출산" />
274 -
275 - <ToggleButton
276 - android:id="@+id/ipyaangButton"
277 - android:layout_width="wrap_content"
278 - android:layout_height="wrap_content"
279 - android:layout_weight="1"
280 - android:background="@drawable/profil_selector"
281 - android:text="입양"
282 - android:textOff="입양"
283 - android:textOn="입양" />
284 -
285 - <ToggleButton
286 - android:id="@+id/gaajungButton"
287 - android:layout_width="wrap_content"
288 - android:layout_height="wrap_content"
289 - android:layout_weight="1"
290 - android:background="@drawable/profil_selector"
291 - android:text="가정위탁"
292 - android:textOff="가정위탁"
293 - android:textOn="가정위탁" />
294 - </LinearLayout>
295 -
296 - <LinearLayout
297 - android:layout_width="match_parent"
298 - android:layout_height="match_parent"
299 - android:orientation="horizontal">
300 -
301 - <ToggleButton
302 - android:id="@+id/bookhanButton"
303 - android:layout_width="wrap_content"
304 - android:layout_height="wrap_content"
305 - android:layout_weight="1"
306 - android:background="@drawable/profil_selector"
307 - android:text="북한이탈주민"
308 - android:textOff="북한이탈주민"
309 - android:textOn="북한이탈주민" />
310 -
311 - <ToggleButton
312 - android:id="@+id/gookgayoogongButton"
313 - android:layout_width="wrap_content"
314 - android:layout_height="wrap_content"
315 - android:layout_weight="1"
316 - android:background="@drawable/profil_selector"
317 - android:text="국가유공"
318 - android:textOff="국가유공"
319 - android:textOn="국가유공" />
320 -
321 - <ToggleButton
322 - android:id="@+id/guitarButton"
323 - android:layout_width="wrap_content"
324 - android:layout_height="wrap_content"
325 - android:layout_weight="1"
326 - android:background="@drawable/profil_selector"
327 - android:text="기타"
328 - android:textOff="기타"
329 - android:textOn="기타" />
330 - </LinearLayout>
331 -
332 -
333 - </LinearLayout>
334 - </LinearLayout>
335 - </ScrollView>
336 -
337 - <LinearLayout
338 - android:layout_width="match_parent"
339 - android:layout_height="100dp"
340 - android:layout_weight="1"
341 - android:orientation="vertical"></LinearLayout>
342 -
343 - <LinearLayout
344 - android:layout_width="match_parent"
345 - android:layout_height="wrap_content"
346 - android:orientation="horizontal">
347 -
348 - <Button
349 - android:id="@+id/previousButton"
350 - android:layout_width="10dp"
351 - android:layout_height="wrap_content"
352 - android:layout_weight="1"
353 - android:text="이전 단계로" />
354 -
355 - <Button
356 - android:id="@+id/nextButton"
357 - android:layout_width="10dp"
358 - android:layout_height="wrap_content"
359 - android:layout_weight="1"
360 - android:text="다음 단계로" />
361 - </LinearLayout>
362 - </LinearLayout>
363 - </LinearLayout>
364 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilFourthTwoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 -
95 - android:background="#1E90FF"
96 - android:gravity="center"
97 - android:text="3" />
98 -
99 - <TextView
100 - android:id="@+id/stageTextView4"
101 - android:layout_width="wrap_content"
102 - android:layout_height="match_parent"
103 - android:layout_gravity="center"
104 - android:layout_weight="1"
105 - android:background="#1E90FF"
106 - android:gravity="center"
107 - android:text="4" />
108 -
109 - <TextView
110 - android:id="@+id/stageTextView5"
111 - android:layout_width="wrap_content"
112 - android:layout_height="match_parent"
113 - android:layout_gravity="center"
114 - android:layout_weight="1"
115 - android:gravity="center"
116 - android:text="5" />
117 -
118 - </LinearLayout>
119 -
120 - <LinearLayout
121 - android:layout_width="match_parent"
122 - android:layout_height="wrap_content"
123 - android:layout_weight="1"
124 - android:orientation="vertical">
125 -
126 - <ScrollView
127 - android:layout_width="match_parent"
128 - android:layout_height="match_parent"
129 - android:layout_weight="1">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:layout_gravity="center"
135 - android:orientation="vertical">
136 -
137 - <LinearLayout
138 - android:layout_width="match_parent"
139 - android:layout_height="wrap_content"
140 - android:orientation="vertical">
141 -
142 - <RelativeLayout
143 - android:layout_width="match_parent"
144 - android:layout_height="match_parent">
145 -
146 - <TextView
147 - android:id="@+id/explainTextView"
148 - android:layout_width="wrap_content"
149 - android:layout_height="wrap_content"
150 - android:layout_centerInParent="true"
151 - android:layout_gravity="center"
152 - android:gravity="center"
153 - android:text="11. 보호자의 주택보유 상태를 선택해주세요." />
154 -
155 - <Button
156 - android:id="@+id/questionButton"
157 - android:layout_width="30dp"
158 - android:layout_height="30dp"
159 - android:layout_gravity="center"
160 - android:layout_toRightOf="@id/explainTextView"
161 - android:backgroundTint="#1E90FF"
162 - android:gravity="center"
163 - android:text=" ? "
164 - android:textSize="8sp" />
165 - </RelativeLayout>
166 - </LinearLayout>
167 -
168 - <LinearLayout
169 - android:layout_width="match_parent"
170 - android:layout_height="wrap_content"
171 - android:orientation="vertical">
172 -
173 - <LinearLayout
174 - android:layout_width="wrap_content"
175 - android:layout_height="wrap_content"
176 - android:layout_gravity="center"
177 - android:gravity="center"
178 - android:orientation="vertical">
179 -
180 - <LinearLayout
181 - android:layout_width="match_parent"
182 - android:layout_height="match_parent"
183 - android:orientation="horizontal">
184 -
185 - <ToggleButton
186 - android:id="@+id/yesButton"
187 - android:layout_width="300dp"
188 - android:layout_height="wrap_content"
189 - android:layout_weight="1"
190 - android:background="@drawable/profil_selector"
191 - android:text="보유"
192 - android:textOff="보유"
193 - android:textOn="보유" />
194 -
195 - </LinearLayout>
196 -
197 -
198 - <LinearLayout
199 - android:layout_width="match_parent"
200 - android:layout_height="match_parent"
201 - android:orientation="horizontal">
202 -
203 - <ToggleButton
204 - android:id="@+id/noButton"
205 - android:layout_width="300dp"
206 - android:layout_height="wrap_content"
207 - android:layout_weight="1"
208 - android:background="@drawable/profil_selector"
209 - android:text="미보유"
210 - android:textOff="미보유"
211 - android:textOn="미보유" />
212 - </LinearLayout>
213 -
214 - </LinearLayout>
215 - </LinearLayout>
216 -
217 - <LinearLayout
218 - android:id="@+id/subLayout"
219 - android:layout_width="match_parent"
220 - android:layout_height="wrap_content"
221 - android:layout_weight="1"
222 - android:orientation="vertical"
223 - android:visibility="gone">
224 -
225 - <LinearLayout
226 - android:layout_width="match_parent"
227 - android:layout_height="wrap_content"
228 - android:orientation="vertical">
229 -
230 - <RelativeLayout
231 - android:layout_width="match_parent"
232 - android:layout_height="match_parent">
233 -
234 - <TextView
235 - android:id="@+id/explainSub1TextView"
236 - android:layout_width="wrap_content"
237 - android:layout_height="wrap_content"
238 - android:layout_centerInParent="true"
239 - android:layout_gravity="center"
240 - android:gravity="center"
241 - android:text="11-1. 주거유형(보호자)를 선택해주세요." />
242 -
243 - <Button
244 - android:id="@+id/questionSub1Button"
245 - android:layout_width="30dp"
246 - android:layout_height="30dp"
247 - android:layout_gravity="center"
248 - android:layout_toRightOf="@id/explainSub1TextView"
249 - android:backgroundTint="#1E90FF"
250 - android:gravity="center"
251 - android:text=" ? "
252 - android:textSize="8sp" />
253 - </RelativeLayout>
254 - </LinearLayout>
255 -
256 - <LinearLayout
257 - android:layout_width="match_parent"
258 - android:layout_height="wrap_content"
259 - android:orientation="vertical">
260 -
261 - <LinearLayout
262 - android:layout_width="wrap_content"
263 - android:layout_height="wrap_content"
264 - android:layout_gravity="center"
265 - android:gravity="center"
266 - android:orientation="vertical">
267 -
268 - <LinearLayout
269 - android:layout_width="match_parent"
270 - android:layout_height="match_parent"
271 - android:orientation="horizontal">
272 -
273 - <ToggleButton
274 - android:id="@+id/jeonsaeButton"
275 - android:layout_width="300dp"
276 - android:layout_height="wrap_content"
277 - android:layout_weight="1"
278 - android:background="@drawable/profil_selector"
279 - android:text="전세"
280 - android:textOff="전세"
281 - android:textOn="전세" />
282 -
283 - <ToggleButton
284 - android:id="@+id/wolseButton"
285 - android:layout_width="300dp"
286 - android:layout_height="wrap_content"
287 - android:layout_weight="1"
288 - android:background="@drawable/profil_selector"
289 - android:text="월세"
290 - android:textOff="월세"
291 - android:textOn="월세" />
292 -
293 - </LinearLayout>
294 -
295 - <LinearLayout
296 - android:layout_width="match_parent"
297 - android:layout_height="match_parent"
298 - android:orientation="horizontal">
299 -
300 - <ToggleButton
301 - android:id="@+id/kongkongButton"
302 - android:layout_width="300dp"
303 - android:layout_height="wrap_content"
304 - android:layout_weight="1"
305 - android:background="@drawable/profil_selector"
306 - android:text="공공(임대)주택"
307 - android:textOff="공공(임대)주택"
308 - android:textOn="공공(임대)주택" />
309 -
310 - <ToggleButton
311 - android:id="@+id/moosangButton"
312 - android:layout_width="300dp"
313 - android:layout_height="wrap_content"
314 - android:layout_weight="1"
315 - android:background="@drawable/profil_selector"
316 - android:text="무상임대"
317 - android:textOff="무상임대"
318 - android:textOn="무상임대" />
319 - </LinearLayout>
320 -
321 - <LinearLayout
322 - android:layout_width="match_parent"
323 - android:layout_height="match_parent"
324 - android:orientation="horizontal">
325 -
326 - <ToggleButton
327 - android:id="@+id/bojangButton"
328 - android:layout_width="300dp"
329 - android:layout_height="wrap_content"
330 - android:layout_weight="1"
331 - android:background="@drawable/profil_selector"
332 - android:text="보장기관제공주거"
333 - android:textOff="보장기관제공주거"
334 - android:textOn="보장기관제공주거" />
335 -
336 - <ToggleButton
337 - android:id="@+id/guitarButton"
338 - android:layout_width="300dp"
339 - android:layout_height="wrap_content"
340 - android:layout_weight="1"
341 - android:background="@drawable/profil_selector"
342 - android:text="기타"
343 - android:textOff="기타"
344 - android:textOn="기타" />
345 - </LinearLayout>
346 -
347 -
348 - </LinearLayout>
349 - </LinearLayout>
350 -
351 - </LinearLayout>
352 -
353 - </LinearLayout>
354 - </ScrollView>
355 -
356 - <LinearLayout
357 - android:layout_width="match_parent"
358 - android:layout_height="wrap_content"
359 - android:orientation="horizontal">
360 -
361 - <Button
362 - android:id="@+id/previousButton"
363 - android:layout_width="10dp"
364 - android:layout_height="wrap_content"
365 - android:layout_weight="1"
366 - android:text="이전 단계로" />
367 -
368 - <Button
369 - android:id="@+id/nextButton"
370 - android:layout_width="10dp"
371 - android:layout_height="wrap_content"
372 - android:layout_weight="1"
373 - android:text="다음 단계로" />
374 - </LinearLayout>
375 -
376 - </LinearLayout>
377 - </LinearLayout>
378 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilSecondOneActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:gravity="center"
95 - android:text="3" />
96 -
97 - <TextView
98 - android:id="@+id/stageTextView4"
99 - android:layout_width="wrap_content"
100 - android:layout_height="match_parent"
101 - android:layout_gravity="center"
102 - android:layout_weight="1"
103 - android:gravity="center"
104 - android:text="4" />
105 -
106 - <TextView
107 - android:id="@+id/stageTextView5"
108 - android:layout_width="wrap_content"
109 - android:layout_height="match_parent"
110 - android:layout_gravity="center"
111 - android:layout_weight="1"
112 - android:gravity="center"
113 - android:text="5" />
114 -
115 - </LinearLayout>
116 -
117 - <LinearLayout
118 - android:layout_width="match_parent"
119 - android:layout_height="10dp"
120 - android:layout_weight="1"
121 - android:orientation="vertical"></LinearLayout>
122 -
123 - <LinearLayout
124 - android:layout_width="match_parent"
125 - android:layout_height="wrap_content"
126 - android:layout_weight="1"
127 - android:orientation="vertical">
128 -
129 - <LinearLayout
130 - android:layout_width="match_parent"
131 - android:layout_height="wrap_content"
132 - android:orientation="vertical">
133 -
134 - <RelativeLayout
135 - android:layout_width="match_parent"
136 - android:layout_height="match_parent">
137 -
138 - <TextView
139 - android:id="@+id/explainTextView"
140 - android:layout_width="wrap_content"
141 - android:layout_height="wrap_content"
142 - android:layout_centerInParent="true"
143 - android:layout_gravity="center"
144 - android:gravity="center"
145 - android:text="1. 가구 구성원을 모두 선택해 주세요." />
146 -
147 - <Button
148 - android:id="@+id/questionButton"
149 - android:layout_width="30dp"
150 - android:layout_height="30dp"
151 - android:layout_gravity="center"
152 - android:layout_toRightOf="@id/explainTextView"
153 - android:backgroundTint="#1E90FF"
154 - android:gravity="center"
155 - android:text=" ? "
156 - android:textSize="8sp" />
157 - </RelativeLayout>
158 - </LinearLayout>
159 -
160 - <LinearLayout
161 - android:layout_width="match_parent"
162 - android:layout_height="50dp"
163 - android:layout_weight="1"
164 - android:orientation="vertical">
165 -
166 - </LinearLayout>
167 -
168 - <ScrollView
169 - android:layout_width="match_parent"
170 - android:layout_height="wrap_content">
171 -
172 - <LinearLayout
173 - android:layout_width="match_parent"
174 - android:layout_height="wrap_content"
175 - android:orientation="vertical">
176 -
177 - <LinearLayout
178 - android:layout_width="wrap_content"
179 - android:layout_height="wrap_content"
180 - android:layout_gravity="center"
181 - android:gravity="center"
182 - android:orientation="vertical">
183 -
184 - <LinearLayout
185 - android:layout_width="match_parent"
186 - android:layout_height="match_parent"
187 - android:orientation="horizontal">
188 -
189 - <ToggleButton
190 - android:id="@+id/baewoojaButton"
191 - android:layout_width="wrap_content"
192 - android:layout_height="wrap_content"
193 - android:layout_weight="1"
194 - android:background="@drawable/profil_selector"
195 - android:text="배우자"
196 - android:textOff="배우자"
197 - android:textOn="배우자" />
198 -
199 - <ToggleButton
200 - android:id="@+id/baewoojaboomoButton"
201 - android:layout_width="wrap_content"
202 - android:layout_height="wrap_content"
203 - android:layout_weight="1"
204 - android:background="@drawable/profil_selector"
205 - android:text="배우자부모"
206 - android:textOff="배우자부모"
207 - android:textOn="배우자부모" />
208 -
209 - <ToggleButton
210 - android:id="@+id/baewoojajoboomoButton"
211 - android:layout_width="wrap_content"
212 - android:layout_height="wrap_content"
213 - android:layout_weight="1"
214 - android:background="@drawable/profil_selector"
215 - android:text="배우자의조부모"
216 - android:textOff="배우자의조부모"
217 - android:textOn="배우자의조부모" />
218 -
219 - </LinearLayout>
220 -
221 - <LinearLayout
222 - android:layout_width="match_parent"
223 - android:layout_height="match_parent"
224 - android:orientation="horizontal">
225 -
226 - <ToggleButton
227 - android:id="@+id/brotherButton"
228 - android:layout_width="wrap_content"
229 - android:layout_height="wrap_content"
230 - android:layout_weight="1"
231 - android:background="@drawable/profil_selector"
232 - android:text="형제/자매"
233 - android:textOff="형제/자매"
234 - android:textOn="형제/자매" />
235 -
236 - <ToggleButton
237 - android:id="@+id/baewoojabrotherButton"
238 - android:layout_width="wrap_content"
239 - android:layout_height="wrap_content"
240 - android:layout_weight="1"
241 - android:background="@drawable/profil_selector"
242 - android:text="배우자의형제/자매"
243 - android:textOff="배우자의형제/자매"
244 - android:textOn="배우자의형제/자매" />
245 -
246 - <ToggleButton
247 - android:id="@+id/donggeoButton"
248 - android:layout_width="wrap_content"
249 - android:layout_height="wrap_content"
250 - android:layout_weight="1"
251 - android:background="@drawable/profil_selector"
252 - android:text="동거인"
253 - android:textOff="동거인"
254 - android:textOn="동거인" />
255 - </LinearLayout>
256 -
257 -
258 - <LinearLayout
259 - android:layout_width="match_parent"
260 - android:layout_height="match_parent"
261 - android:orientation="horizontal">
262 -
263 - <ToggleButton
264 - android:id="@+id/fatherButton"
265 - android:layout_width="wrap_content"
266 - android:layout_height="wrap_content"
267 - android:layout_weight="1"
268 - android:background="@drawable/profil_selector"
269 - android:text="아버지"
270 - android:textOff="아버지"
271 - android:textOn="아버지" />
272 -
273 - <ToggleButton
274 - android:id="@+id/motherButton"
275 - android:layout_width="wrap_content"
276 - android:layout_height="wrap_content"
277 - android:layout_weight="1"
278 - android:background="@drawable/profil_selector"
279 - android:text="어머니"
280 - android:textOff="어머니"
281 - android:textOn="어머니" />
282 -
283 - <ToggleButton
284 - android:id="@+id/grandsonbaewoojaButton"
285 - android:layout_width="wrap_content"
286 - android:layout_height="wrap_content"
287 - android:layout_weight="1"
288 - android:background="@drawable/profil_selector"
289 - android:text="손자녀의배우자"
290 - android:textOff="손자녀의배우자"
291 - android:textOn="손자녀의배우자" />
292 - </LinearLayout>
293 -
294 - <LinearLayout
295 - android:layout_width="match_parent"
296 - android:layout_height="match_parent"
297 - android:orientation="horizontal">
298 -
299 - <ToggleButton
300 - android:id="@+id/grandfatherButton"
301 - android:layout_width="wrap_content"
302 - android:layout_height="wrap_content"
303 - android:layout_weight="1"
304 - android:background="@drawable/profil_selector"
305 - android:text="할아버지"
306 - android:textOff="할아버지"
307 - android:textOn="할아버지" />
308 -
309 - <ToggleButton
310 - android:id="@+id/grandmotherButton"
311 - android:layout_width="wrap_content"
312 - android:layout_height="wrap_content"
313 - android:layout_weight="1"
314 - android:background="@drawable/profil_selector"
315 - android:text="할머니"
316 - android:textOff="할머니"
317 - android:textOn="할머니" />
318 -
319 - <ToggleButton
320 - android:id="@+id/grandsonButton"
321 - android:layout_width="wrap_content"
322 - android:layout_height="wrap_content"
323 - android:layout_weight="1"
324 - android:background="@drawable/profil_selector"
325 - android:text="손자녀"
326 - android:textOff="손자녀"
327 - android:textOn="손자녀" />
328 - </LinearLayout>
329 -
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/janyeoButton"
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="자녀"
343 - android:textOff="자녀"
344 - android:textOn="자녀" />
345 -
346 - <ToggleButton
347 - android:id="@+id/janyeobaewoojaButton"
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="자녀의배우자"
353 - android:textOff="자녀의배우자"
354 - android:textOn="자녀의배우자" />
355 -
356 - <ToggleButton
357 - android:id="@+id/nothingButton"
358 - android:layout_width="wrap_content"
359 - android:layout_height="wrap_content"
360 - android:layout_weight="1"
361 - android:background="@drawable/profil_selector"
362 - android:text="해당없음"
363 - android:textOff="해당없음"
364 - android:textOn="해당없음" />
365 - </LinearLayout>
366 -
367 - </LinearLayout>
368 - </LinearLayout>
369 - </ScrollView>
370 -
371 - <LinearLayout
372 - android:layout_width="match_parent"
373 - android:layout_height="100dp"
374 - android:layout_weight="1"
375 - android:orientation="vertical"></LinearLayout>
376 -
377 - <LinearLayout
378 - android:layout_width="match_parent"
379 - android:layout_height="wrap_content"
380 - android:orientation="horizontal">
381 -
382 - <Button
383 - android:id="@+id/previousButton"
384 - android:layout_width="10dp"
385 - android:layout_height="wrap_content"
386 - android:layout_weight="1"
387 - android:text="이전 단계로" />
388 -
389 - <Button
390 - android:id="@+id/nextButton"
391 - android:layout_width="10dp"
392 - android:layout_height="wrap_content"
393 - android:layout_weight="1"
394 - android:text="다음 단계로" />
395 - </LinearLayout>
396 - </LinearLayout>
397 - </LinearLayout>
398 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilSecondThreeActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 -
15 - <androidx.appcompat.widget.Toolbar
16 - android:id="@+id/toolbar"
17 - android:layout_width="fill_parent"
18 - android:layout_height="wrap_content"
19 - android:layout_marginBottom="11dp"
20 - android:background="#FFF"
21 - android:elevation="5dp"
22 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
23 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
24 -
25 - <LinearLayout
26 - android:layout_width="match_parent"
27 - android:layout_height="match_parent"
28 - android:orientation="horizontal">
29 -
30 - <Button
31 - android:id="@+id/skipButton"
32 - android:layout_width="10dp"
33 - android:layout_height="match_parent"
34 - android:layout_weight="1.5"
35 - android:text="건너뛰기" />
36 -
37 - <LinearLayout
38 - android:layout_width="10dp"
39 - android:layout_height="match_parent"
40 - android:layout_weight="1"
41 - android:orientation="horizontal" />
42 -
43 - <ImageView
44 - android:layout_width="77dp"
45 - android:layout_height="44dp"
46 - android:layout_gravity="center"
47 - android:layout_weight="1"
48 - android:src="@drawable/toolbar_logo" />
49 -
50 - <LinearLayout
51 - android:layout_width="10dp"
52 - android:layout_height="match_parent"
53 - android:layout_weight="1"
54 - android:orientation="horizontal" />
55 -
56 - <LinearLayout
57 - android:layout_width="10dp"
58 - android:layout_height="match_parent"
59 - android:layout_weight="1.5"
60 - android:orientation="horizontal" />
61 -
62 - </LinearLayout>
63 -
64 -
65 - </androidx.appcompat.widget.Toolbar>
66 -
67 - <LinearLayout
68 - android:layout_width="match_parent"
69 - android:layout_height="50dp"
70 - android:layout_weight="0"
71 - android:orientation="horizontal">
72 -
73 - <TextView
74 - android:id="@+id/stageTextView1"
75 - android:layout_width="wrap_content"
76 - android:layout_height="match_parent"
77 - android:layout_gravity="center"
78 - android:layout_weight="1"
79 - android:background="#1E90FF"
80 - android:gravity="center"
81 - android:text="1" />
82 -
83 - <TextView
84 - android:id="@+id/stageTextView2"
85 - android:layout_width="wrap_content"
86 - android:layout_height="match_parent"
87 - android:layout_gravity="center"
88 - android:layout_weight="1"
89 - android:background="#1E90FF"
90 - android:gravity="center"
91 - android:text="2" />
92 -
93 - <TextView
94 - android:id="@+id/stageTextView3"
95 - android:layout_width="wrap_content"
96 - android:layout_height="match_parent"
97 - android:layout_gravity="center"
98 - android:layout_weight="1"
99 - android:gravity="center"
100 - android:text="3" />
101 -
102 - <TextView
103 - android:id="@+id/stageTextView4"
104 - android:layout_width="wrap_content"
105 - android:layout_height="match_parent"
106 - android:layout_gravity="center"
107 - android:layout_weight="1"
108 - android:gravity="center"
109 - android:text="4" />
110 -
111 - <TextView
112 - android:id="@+id/stageTextView5"
113 - android:layout_width="wrap_content"
114 - android:layout_height="match_parent"
115 - android:layout_gravity="center"
116 - android:layout_weight="1"
117 - android:gravity="center"
118 - android:text="5" />
119 -
120 - </LinearLayout>
121 -
122 - <LinearLayout
123 - android:layout_width="match_parent"
124 - android:layout_height="wrap_content"
125 - android:layout_weight="1"
126 - android:orientation="vertical">
127 -
128 - <ScrollView
129 - android:layout_width="match_parent"
130 - android:layout_height="match_parent"
131 - android:layout_weight="1">
132 -
133 - <LinearLayout
134 - android:layout_width="match_parent"
135 - android:layout_height="wrap_content"
136 - android:orientation="vertical"
137 - android:weightSum="1">
138 -
139 - <TextView
140 - android:id="@+id/mainTextView"
141 - android:layout_width="match_parent"
142 - android:layout_height="wrap_content"
143 - android:text="4-2. 총 형제자매 수를 입력해주세요." />
144 -
145 - <LinearLayout
146 - android:layout_width="match_parent"
147 - android:layout_height="wrap_content"
148 - android:orientation="horizontal">
149 -
150 - <EditText
151 - android:id="@+id/bsNumberEditText"
152 - android:layout_width="wrap_content"
153 - android:layout_height="wrap_content"
154 - android:layout_weight="1"
155 - android:ems="10"
156 - android:hint="ex) 3"
157 - android:inputType="number|textPersonName" />
158 -
159 - <Button
160 - android:id="@+id/bsNumberInputButton"
161 - android:layout_width="wrap_content"
162 - android:layout_height="wrap_content"
163 - android:layout_weight="1"
164 - android:text="입 력" />
165 - </LinearLayout>
166 -
167 - <androidx.recyclerview.widget.RecyclerView
168 - android:id="@+id/bsRecyclerView"
169 - android:layout_width="match_parent"
170 - android:layout_height="wrap_content"
171 - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
172 - tools:listitem="@layout/item_child" />
173 -
174 - </LinearLayout>
175 - </ScrollView>
176 - </LinearLayout>
177 -
178 - <LinearLayout
179 - android:layout_width="match_parent"
180 - android:layout_height="wrap_content"
181 - android:layout_gravity="bottom"
182 - android:orientation="horizontal">
183 -
184 - <Button
185 - android:id="@+id/previousButton"
186 - android:layout_width="10dp"
187 - android:layout_height="wrap_content"
188 - android:layout_weight="1"
189 - android:text="이전 단계로" />
190 -
191 - <Button
192 - android:id="@+id/nextButton"
193 - android:layout_width="10dp"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:text="다음 단계로" />
197 - </LinearLayout>
198 -
199 - </LinearLayout>
200 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilSecondTwoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 -
15 - <androidx.appcompat.widget.Toolbar
16 - android:id="@+id/toolbar"
17 - android:layout_width="fill_parent"
18 - android:layout_height="wrap_content"
19 - android:layout_marginBottom="11dp"
20 - android:background="#FFF"
21 - android:elevation="5dp"
22 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
23 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
24 -
25 - <LinearLayout
26 - android:layout_width="match_parent"
27 - android:layout_height="match_parent"
28 - android:orientation="horizontal">
29 -
30 - <Button
31 - android:id="@+id/skipButton"
32 - android:layout_width="10dp"
33 - android:layout_height="match_parent"
34 - android:layout_weight="1.5"
35 - android:text="건너뛰기" />
36 -
37 - <LinearLayout
38 - android:layout_width="10dp"
39 - android:layout_height="match_parent"
40 - android:layout_weight="1"
41 - android:orientation="horizontal" />
42 -
43 - <ImageView
44 - android:layout_width="77dp"
45 - android:layout_height="44dp"
46 - android:layout_gravity="center"
47 - android:layout_weight="1"
48 - android:src="@drawable/toolbar_logo" />
49 -
50 - <LinearLayout
51 - android:layout_width="10dp"
52 - android:layout_height="match_parent"
53 - android:layout_weight="1"
54 - android:orientation="horizontal" />
55 -
56 - <LinearLayout
57 - android:layout_width="10dp"
58 - android:layout_height="match_parent"
59 - android:layout_weight="1.5"
60 - android:orientation="horizontal" />
61 -
62 - </LinearLayout>
63 -
64 -
65 - </androidx.appcompat.widget.Toolbar>
66 -
67 - <LinearLayout
68 - android:layout_width="match_parent"
69 - android:layout_height="50dp"
70 - android:layout_weight="0"
71 - android:orientation="horizontal">
72 -
73 - <TextView
74 - android:id="@+id/stageTextView1"
75 - android:layout_width="wrap_content"
76 - android:layout_height="match_parent"
77 - android:layout_gravity="center"
78 - android:layout_weight="1"
79 - android:background="#1E90FF"
80 - android:gravity="center"
81 - android:text="1" />
82 -
83 - <TextView
84 - android:id="@+id/stageTextView2"
85 - android:layout_width="wrap_content"
86 - android:layout_height="match_parent"
87 - android:layout_gravity="center"
88 - android:layout_weight="1"
89 - android:background="#1E90FF"
90 - android:gravity="center"
91 - android:text="2" />
92 -
93 - <TextView
94 - android:id="@+id/stageTextView3"
95 - android:layout_width="wrap_content"
96 - android:layout_height="match_parent"
97 - android:layout_gravity="center"
98 - android:layout_weight="1"
99 - android:gravity="center"
100 - android:text="3" />
101 -
102 - <TextView
103 - android:id="@+id/stageTextView4"
104 - android:layout_width="wrap_content"
105 - android:layout_height="match_parent"
106 - android:layout_gravity="center"
107 - android:layout_weight="1"
108 - android:gravity="center"
109 - android:text="4" />
110 -
111 - <TextView
112 - android:id="@+id/stageTextView5"
113 - android:layout_width="wrap_content"
114 - android:layout_height="match_parent"
115 - android:layout_gravity="center"
116 - android:layout_weight="1"
117 - android:gravity="center"
118 - android:text="5" />
119 -
120 - </LinearLayout>
121 -
122 - <LinearLayout
123 - android:layout_width="match_parent"
124 - android:layout_height="wrap_content"
125 - android:layout_weight="1"
126 - android:orientation="vertical">
127 -
128 - <ScrollView
129 - android:layout_width="match_parent"
130 - android:layout_height="match_parent"
131 - android:layout_weight="1">
132 -
133 - <LinearLayout
134 - android:layout_width="match_parent"
135 - android:layout_height="wrap_content"
136 - android:orientation="vertical"
137 - android:weightSum="1">
138 -
139 - <TextView
140 - android:id="@+id/mainTextView"
141 - android:layout_width="match_parent"
142 - android:layout_height="wrap_content"
143 - android:text="4-1. 가족구성원 '자녀' 선택 시 총 자녀 수를 입력해주세요." />
144 -
145 - <LinearLayout
146 - android:layout_width="match_parent"
147 - android:layout_height="wrap_content"
148 - android:orientation="horizontal">
149 -
150 - <EditText
151 - android:id="@+id/childNumberEditText"
152 - android:layout_width="wrap_content"
153 - android:layout_height="wrap_content"
154 - android:layout_weight="1"
155 - android:ems="10"
156 - android:hint="ex) 3"
157 - android:inputType="number|textPersonName" />
158 -
159 - <Button
160 - android:id="@+id/childNumberInputButton"
161 - android:layout_width="wrap_content"
162 - android:layout_height="wrap_content"
163 - android:layout_weight="1"
164 - android:text="입 력" />
165 - </LinearLayout>
166 -
167 - <androidx.recyclerview.widget.RecyclerView
168 - android:id="@+id/childRecyclerView"
169 - android:layout_width="match_parent"
170 - android:layout_height="wrap_content"
171 - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
172 - tools:listitem="@layout/item_child" />
173 -
174 - </LinearLayout>
175 - </ScrollView>
176 - </LinearLayout>
177 -
178 - <LinearLayout
179 - android:layout_width="match_parent"
180 - android:layout_height="wrap_content"
181 - android:layout_gravity="bottom"
182 - android:orientation="horizontal">
183 -
184 - <Button
185 - android:id="@+id/previousButton"
186 - android:layout_width="10dp"
187 - android:layout_height="wrap_content"
188 - android:layout_weight="1"
189 - android:text="이전 단계로" />
190 -
191 - <Button
192 - android:id="@+id/nextButton"
193 - android:layout_width="10dp"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:text="다음 단계로" />
197 - </LinearLayout>
198 -
199 - </LinearLayout>
200 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilThirdFourActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 -
95 - android:background="#1E90FF"
96 - android:gravity="center"
97 - android:text="3" />
98 -
99 - <TextView
100 - android:id="@+id/stageTextView4"
101 - android:layout_width="wrap_content"
102 - android:layout_height="match_parent"
103 - android:layout_gravity="center"
104 - android:layout_weight="1"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="wrap_content"
122 - android:layout_weight="1"
123 - android:orientation="vertical">
124 -
125 - <ScrollView
126 - android:layout_width="match_parent"
127 - android:layout_height="match_parent"
128 - android:layout_weight="1">
129 -
130 - <LinearLayout
131 - android:layout_width="match_parent"
132 - android:layout_height="wrap_content"
133 - android:orientation="vertical">
134 -
135 - <LinearLayout
136 - android:layout_width="match_parent"
137 - android:layout_height="wrap_content"
138 - android:orientation="vertical">
139 -
140 - <RelativeLayout
141 - android:layout_width="match_parent"
142 - android:layout_height="match_parent">
143 -
144 - <TextView
145 - android:id="@+id/explainTextView"
146 - android:layout_width="wrap_content"
147 - android:layout_height="wrap_content"
148 - android:layout_centerInParent="true"
149 - android:layout_gravity="center"
150 - android:gravity="center"
151 - android:text="8. 자신의 장애 유무를 선택해 주세요." />
152 -
153 - <Button
154 - android:id="@+id/questionButton"
155 - android:layout_width="30dp"
156 - android:layout_height="30dp"
157 - android:layout_gravity="center"
158 - android:layout_toRightOf="@id/explainTextView"
159 - android:backgroundTint="#1E90FF"
160 - android:gravity="center"
161 - android:text=" ? "
162 - android:textSize="8sp" />
163 - </RelativeLayout>
164 - </LinearLayout>
165 -
166 - <LinearLayout
167 - android:layout_width="match_parent"
168 - android:layout_height="wrap_content"
169 - android:orientation="vertical">
170 -
171 - <LinearLayout
172 - android:layout_width="wrap_content"
173 - android:layout_height="wrap_content"
174 - android:layout_gravity="center"
175 - android:gravity="center"
176 - android:orientation="vertical">
177 -
178 - <LinearLayout
179 - android:layout_width="match_parent"
180 - android:layout_height="match_parent"
181 - android:orientation="horizontal">
182 -
183 - <ToggleButton
184 - android:id="@+id/yesButton"
185 - android:layout_width="300dp"
186 - android:layout_height="wrap_content"
187 - android:layout_weight="1"
188 - android:background="@drawable/profil_selector"
189 - android:text="있음"
190 - android:textOff="있음"
191 - android:textOn="있음" />
192 -
193 - </LinearLayout>
194 -
195 -
196 - <LinearLayout
197 - android:layout_width="match_parent"
198 - android:layout_height="match_parent"
199 - android:orientation="horizontal">
200 -
201 - <ToggleButton
202 - android:id="@+id/noButton"
203 - android:layout_width="300dp"
204 - android:layout_height="wrap_content"
205 - android:layout_weight="1"
206 - android:background="@drawable/profil_selector"
207 - android:text="없음"
208 - android:textOff="없음"
209 - android:textOn="없음" />
210 - </LinearLayout>
211 -
212 - </LinearLayout>
213 - </LinearLayout>
214 -
215 - <LinearLayout
216 - android:id="@+id/eightoneLayout"
217 - android:layout_width="match_parent"
218 - android:layout_height="wrap_content"
219 - android:layout_weight="1"
220 - android:orientation="vertical"
221 - android:visibility="gone">
222 -
223 - <LinearLayout
224 - android:layout_width="match_parent"
225 - android:layout_height="wrap_content"
226 - android:orientation="vertical">
227 -
228 - <RelativeLayout
229 - android:layout_width="match_parent"
230 - android:layout_height="match_parent">
231 -
232 - <TextView
233 - android:id="@+id/explainSub1TextView"
234 - android:layout_width="wrap_content"
235 - android:layout_height="wrap_content"
236 - android:layout_centerInParent="true"
237 - android:layout_gravity="center"
238 - android:gravity="center"
239 - android:text="8-1. 장애 유형을 모두 선택해주세요." />
240 -
241 - <Button
242 - android:id="@+id/questionSub1Button"
243 - android:layout_width="30dp"
244 - android:layout_height="30dp"
245 - android:layout_gravity="center"
246 - android:layout_toRightOf="@id/explainSub1TextView"
247 - android:backgroundTint="#1E90FF"
248 - android:gravity="center"
249 - android:text=" ? "
250 - android:textSize="8sp" />
251 - </RelativeLayout>
252 - </LinearLayout>
253 -
254 - <LinearLayout
255 - android:layout_width="match_parent"
256 - android:layout_height="wrap_content"
257 - android:orientation="vertical">
258 -
259 - <LinearLayout
260 - android:layout_width="wrap_content"
261 - android:layout_height="wrap_content"
262 - android:layout_gravity="center"
263 - android:gravity="center"
264 - android:orientation="vertical">
265 -
266 - <LinearLayout
267 - android:layout_width="match_parent"
268 - android:layout_height="match_parent"
269 - android:orientation="horizontal">
270 -
271 - <ToggleButton
272 - android:id="@+id/jichaeButton"
273 - android:layout_width="300dp"
274 - android:layout_height="wrap_content"
275 - android:layout_weight="1"
276 - android:background="@drawable/profil_selector"
277 - android:text="지체장애"
278 - android:textOff="지체장애"
279 - android:textOn="지체장애" />
280 -
281 - <ToggleButton
282 - android:id="@+id/noebyungbyunButton"
283 - android:layout_width="300dp"
284 - android:layout_height="wrap_content"
285 - android:layout_weight="1"
286 - android:background="@drawable/profil_selector"
287 - android:text="뇌병변장애"
288 - android:textOff="뇌병변장애"
289 - android:textOn="뇌병변장애" />
290 -
291 - <ToggleButton
292 - android:id="@+id/sigaakButton"
293 - android:layout_width="300dp"
294 - android:layout_height="wrap_content"
295 - android:layout_weight="1"
296 - android:background="@drawable/profil_selector"
297 - android:text="시각장애"
298 - android:textOff="시각장애"
299 - android:textOn="시각장애" />
300 -
301 - </LinearLayout>
302 -
303 - <LinearLayout
304 - android:layout_width="match_parent"
305 - android:layout_height="match_parent"
306 - android:orientation="horizontal">
307 -
308 - <ToggleButton
309 - android:id="@+id/chungkaakButton"
310 - android:layout_width="300dp"
311 - android:layout_height="wrap_content"
312 - android:layout_weight="1"
313 - android:background="@drawable/profil_selector"
314 - android:text="청각장애"
315 - android:textOff="청각장애"
316 - android:textOn="청각장애" />
317 -
318 - <ToggleButton
319 - android:id="@+id/unuhButton"
320 - android:layout_width="300dp"
321 - android:layout_height="wrap_content"
322 - android:layout_weight="1"
323 - android:background="@drawable/profil_selector"
324 - android:text="언어장애"
325 - android:textOff="언어장애"
326 - android:textOn="언어장애" />
327 -
328 - <ToggleButton
329 - android:id="@+id/ahnmyunButton"
330 - android:layout_width="300dp"
331 - android:layout_height="wrap_content"
332 - android:layout_weight="1"
333 - android:background="@drawable/profil_selector"
334 - android:text="안면장애"
335 - android:textOff="안면장애"
336 - android:textOn="안면장애" />
337 -
338 - </LinearLayout>
339 -
340 - <LinearLayout
341 - android:layout_width="match_parent"
342 - android:layout_height="match_parent"
343 - android:orientation="horizontal">
344 -
345 - <ToggleButton
346 - android:id="@+id/sinjaangButton"
347 - android:layout_width="300dp"
348 - android:layout_height="wrap_content"
349 - android:layout_weight="1"
350 - android:background="@drawable/profil_selector"
351 - android:text="신장장애"
352 - android:textOff="신장장애"
353 - android:textOn="신장장애" />
354 -
355 - <ToggleButton
356 - android:id="@+id/simjaangButton"
357 - android:layout_width="300dp"
358 - android:layout_height="wrap_content"
359 - android:layout_weight="1"
360 - android:background="@drawable/profil_selector"
361 - android:text="심장장애"
362 - android:textOff="심장장애"
363 - android:textOn="심장장애" />
364 -
365 - <ToggleButton
366 - android:id="@+id/gaanjaangButton"
367 - android:layout_width="300dp"
368 - android:layout_height="wrap_content"
369 - android:layout_weight="1"
370 - android:background="@drawable/profil_selector"
371 - android:text="간장애"
372 - android:textOff="간장애"
373 - android:textOn="간장애" />
374 -
375 - </LinearLayout>
376 -
377 - <LinearLayout
378 - android:layout_width="match_parent"
379 - android:layout_height="match_parent"
380 - android:orientation="horizontal">
381 -
382 - <ToggleButton
383 - android:id="@+id/jaangrooButton"
384 - android:layout_width="300dp"
385 - android:layout_height="wrap_content"
386 - android:layout_weight="1"
387 - android:background="@drawable/profil_selector"
388 - android:text="장루/요루장애"
389 - android:textOff="장루/요루장애"
390 - android:textOn="장루/요루장애" />
391 -
392 - <ToggleButton
393 - android:id="@+id/noejungjeungButton"
394 - android:layout_width="300dp"
395 - android:layout_height="wrap_content"
396 - android:layout_weight="1"
397 - android:background="@drawable/profil_selector"
398 - android:text="뇌전증"
399 - android:textOff="뇌전증"
400 - android:textOn="뇌전증" />
401 -
402 - <ToggleButton
403 - android:id="@+id/hoheupkiButton"
404 - android:layout_width="300dp"
405 - android:layout_height="wrap_content"
406 - android:layout_weight="1"
407 - android:background="@drawable/profil_selector"
408 - android:text="호흡기"
409 - android:textOff="호흡기"
410 - android:textOn="호흡기" />
411 -
412 - </LinearLayout>
413 -
414 -
415 - <LinearLayout
416 - android:layout_width="match_parent"
417 - android:layout_height="match_parent"
418 - android:orientation="horizontal">
419 -
420 - <ToggleButton
421 - android:id="@+id/jijukButton"
422 - android:layout_width="300dp"
423 - android:layout_height="wrap_content"
424 - android:layout_weight="1"
425 - android:background="@drawable/profil_selector"
426 - android:text="지적장애"
427 - android:textOff="지적장애"
428 - android:textOn="지적장애" />
429 -
430 - <ToggleButton
431 - android:id="@+id/japyeahButton"
432 - android:layout_width="300dp"
433 - android:layout_height="wrap_content"
434 - android:layout_weight="1"
435 - android:background="@drawable/profil_selector"
436 - android:text="자폐성장애"
437 - android:textOff="자폐성장애"
438 - android:textOn="자폐성장애" />
439 -
440 - <ToggleButton
441 - android:id="@+id/jeongshinButton"
442 - android:layout_width="300dp"
443 - android:layout_height="wrap_content"
444 - android:layout_weight="1"
445 - android:background="@drawable/profil_selector"
446 - android:text="정신장애"
447 - android:textOff="정신장애"
448 - android:textOn="정신장애" />
449 - </LinearLayout>
450 -
451 - </LinearLayout>
452 - </LinearLayout>
453 -
454 - </LinearLayout>
455 -
456 - <LinearLayout
457 - android:id="@+id/eighttwoLayout"
458 - android:layout_width="match_parent"
459 - android:layout_height="wrap_content"
460 - android:layout_weight="1"
461 - android:orientation="vertical"
462 - android:visibility="gone">
463 -
464 - <LinearLayout
465 - android:layout_width="match_parent"
466 - android:layout_height="wrap_content"
467 - android:orientation="vertical">
468 -
469 - <RelativeLayout
470 - android:layout_width="match_parent"
471 - android:layout_height="match_parent">
472 -
473 - <TextView
474 - android:id="@+id/explainSub2TextView"
475 - android:layout_width="wrap_content"
476 - android:layout_height="wrap_content"
477 - android:layout_centerInParent="true"
478 - android:layout_gravity="center"
479 - android:gravity="center"
480 - android:text="9. 자신의 건강 상태를 선택해 주세요." />
481 -
482 - <Button
483 - android:id="@+id/questionSub2Button"
484 - android:layout_width="30dp"
485 - android:layout_height="30dp"
486 - android:layout_gravity="center"
487 - android:layout_toRightOf="@id/explainSub2TextView"
488 - android:backgroundTint="#1E90FF"
489 - android:gravity="center"
490 - android:text=" ? "
491 - android:textSize="8sp" />
492 - </RelativeLayout>
493 - </LinearLayout>
494 -
495 - <LinearLayout
496 - android:layout_width="match_parent"
497 - android:layout_height="wrap_content"
498 - android:orientation="vertical">
499 -
500 - <LinearLayout
501 - android:layout_width="wrap_content"
502 - android:layout_height="wrap_content"
503 - android:layout_gravity="center"
504 - android:gravity="center"
505 - android:orientation="vertical">
506 -
507 - <LinearLayout
508 - android:layout_width="match_parent"
509 - android:layout_height="match_parent"
510 - android:orientation="horizontal">
511 -
512 - <ToggleButton
513 - android:id="@+id/nothingButton"
514 - android:layout_width="300dp"
515 - android:layout_height="wrap_content"
516 - android:layout_weight="1"
517 - android:background="@drawable/profil_selector"
518 - android:text="해당없음"
519 - android:textOff="해당없음"
520 - android:textOn="해당없음" />
521 -
522 - <ToggleButton
523 - android:id="@+id/imshinButton"
524 - android:layout_width="300dp"
525 - android:layout_height="wrap_content"
526 - android:layout_weight="1"
527 - android:background="@drawable/profil_selector"
528 - android:text="임신및출산(예정)"
529 - android:textOff="임신및출산(예정)"
530 - android:textOn="임신및출산(예정)" />
531 -
532 - </LinearLayout>
533 -
534 - <LinearLayout
535 - android:layout_width="match_parent"
536 - android:layout_height="match_parent"
537 - android:orientation="horizontal">
538 -
539 - <ToggleButton
540 - android:id="@+id/nanchiButton"
541 - android:layout_width="300dp"
542 - android:layout_height="wrap_content"
543 - android:layout_weight="1"
544 - android:background="@drawable/profil_selector"
545 - android:text="희귀난치성및중증질환"
546 - android:textOff="희귀난치성및중증질환"
547 - android:textOn="희귀난치성및중증질환" />
548 -
549 - <ToggleButton
550 - android:id="@+id/oeButton"
551 - android:layout_width="300dp"
552 - android:layout_height="wrap_content"
553 - android:layout_weight="1"
554 - android:background="@drawable/profil_selector"
555 - android:text="중증질환외질병"
556 - android:textOff="중증질환외질병"
557 - android:textOn="중증질환외질병" />
558 - </LinearLayout>
559 -
560 - <LinearLayout
561 - android:layout_width="match_parent"
562 - android:layout_height="match_parent"
563 - android:orientation="horizontal">
564 -
565 - <ToggleButton
566 - android:id="@+id/yoyaangButton"
567 - android:layout_width="300dp"
568 - android:layout_height="wrap_content"
569 - android:layout_weight="1"
570 - android:background="@drawable/profil_selector"
571 - android:text="(장기)요양환자"
572 - android:textOff="(장기)요양환자"
573 - android:textOn="(장기)요양환자" />
574 -
575 - <ToggleButton
576 - android:id="@+id/guitarButton"
577 - android:layout_width="300dp"
578 - android:layout_height="wrap_content"
579 - android:layout_weight="1"
580 - android:background="@drawable/profil_selector"
581 - android:text="기타"
582 - android:textOff="기타"
583 - android:textOn="기타" />
584 - </LinearLayout>
585 -
586 -
587 - </LinearLayout>
588 - </LinearLayout>
589 -
590 - </LinearLayout>
591 -
592 - </LinearLayout>
593 - </ScrollView>
594 -
595 - <LinearLayout
596 - android:layout_width="match_parent"
597 - android:layout_height="wrap_content"
598 - android:orientation="horizontal">
599 -
600 - <Button
601 - android:id="@+id/previousButton"
602 - android:layout_width="10dp"
603 - android:layout_height="wrap_content"
604 - android:layout_weight="1"
605 - android:text="이전 단계로" />
606 -
607 - <Button
608 - android:id="@+id/nextButton"
609 - android:layout_width="10dp"
610 - android:layout_height="wrap_content"
611 - android:layout_weight="1"
612 - android:text="다음 단계로" />
613 - </LinearLayout>
614 -
615 - </LinearLayout>
616 - </LinearLayout>
617 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilThirdOneActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 -
95 - android:background="#1E90FF"
96 - android:gravity="center"
97 - android:text="3" />
98 -
99 - <TextView
100 - android:id="@+id/stageTextView4"
101 - android:layout_width="wrap_content"
102 - android:layout_height="match_parent"
103 - android:layout_gravity="center"
104 - android:layout_weight="1"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="10dp"
122 - android:layout_weight="1"
123 - android:orientation="vertical"></LinearLayout>
124 -
125 - <LinearLayout
126 - android:layout_width="match_parent"
127 - android:layout_height="wrap_content"
128 - android:layout_weight="1"
129 - android:orientation="vertical">
130 -
131 - <LinearLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content"
134 - android:orientation="vertical">
135 -
136 - <RelativeLayout
137 - android:layout_width="match_parent"
138 - android:layout_height="match_parent">
139 -
140 - <TextView
141 - android:id="@+id/explainTextView"
142 - android:layout_width="wrap_content"
143 - android:layout_height="wrap_content"
144 - android:layout_centerInParent="true"
145 - android:layout_gravity="center"
146 - android:gravity="center"
147 - android:text="5. 현재 재학상태를 선택해 주세요." />
148 -
149 - <Button
150 - android:id="@+id/questionButton"
151 - android:layout_width="30dp"
152 - android:layout_height="30dp"
153 - android:layout_gravity="center"
154 - android:layout_toRightOf="@id/explainTextView"
155 - android:backgroundTint="#1E90FF"
156 - android:gravity="center"
157 - android:text=" ? "
158 - android:textSize="8sp" />
159 - </RelativeLayout>
160 - </LinearLayout>
161 -
162 - <LinearLayout
163 - android:layout_width="match_parent"
164 - android:layout_height="50dp"
165 - android:layout_weight="1"
166 - android:orientation="vertical">
167 -
168 - </LinearLayout>
169 -
170 - <ScrollView
171 - android:layout_width="match_parent"
172 - android:layout_height="wrap_content">
173 -
174 - <LinearLayout
175 - android:layout_width="match_parent"
176 - android:layout_height="wrap_content"
177 - android:orientation="vertical">
178 -
179 - <LinearLayout
180 - android:layout_width="wrap_content"
181 - android:layout_height="wrap_content"
182 - android:layout_gravity="center"
183 - android:gravity="center"
184 - android:orientation="vertical">
185 -
186 - <LinearLayout
187 - android:layout_width="match_parent"
188 - android:layout_height="match_parent"
189 - android:orientation="horizontal">
190 -
191 - <ToggleButton
192 - android:id="@+id/elementaryButton"
193 - android:layout_width="wrap_content"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:background="@drawable/profil_selector"
197 - android:text="초등학교"
198 - android:textOff="초등학교"
199 - android:textOn="초등학교" />
200 -
201 - <ToggleButton
202 - android:id="@+id/middleButton"
203 - android:layout_width="wrap_content"
204 - android:layout_height="wrap_content"
205 - android:layout_weight="1"
206 - android:background="@drawable/profil_selector"
207 - android:text="중학교"
208 - android:textOff="중학교"
209 - android:textOn="중학교"/>
210 -
211 - <ToggleButton
212 - android:id="@+id/highButton"
213 - android:layout_width="wrap_content"
214 - android:layout_height="wrap_content"
215 - android:layout_weight="1"
216 - android:background="@drawable/profil_selector"
217 - android:text="고등학교"
218 - android:textOff="고등학교"
219 - android:textOn="고등학교" />
220 -
221 - </LinearLayout>
222 -
223 - <LinearLayout
224 - android:layout_width="match_parent"
225 - android:layout_height="match_parent"
226 - android:orientation="horizontal">
227 -
228 - <ToggleButton
229 - android:id="@+id/specialButton"
230 - android:layout_width="wrap_content"
231 - android:layout_height="wrap_content"
232 - android:layout_weight="1"
233 - android:background="@drawable/profil_selector"
234 - android:text="특수학교"
235 - android:textOff="특수학교"
236 - android:textOn="특수학교" />
237 -
238 - <ToggleButton
239 - android:id="@+id/universityButton"
240 - android:layout_width="wrap_content"
241 - android:layout_height="wrap_content"
242 - android:layout_weight="1"
243 - android:background="@drawable/profil_selector"
244 - android:text="대학교"
245 - android:textOff="대학교"
246 - android:textOn="대학교" />
247 -
248 - <ToggleButton
249 - android:id="@+id/graduateButton"
250 - android:layout_width="wrap_content"
251 - android:layout_height="wrap_content"
252 - android:layout_weight="1"
253 - android:background="@drawable/profil_selector"
254 - android:text="대학원"
255 - android:textOff="대학원"
256 - android:textOn="대학원" />
257 - </LinearLayout>
258 -
259 -
260 - <LinearLayout
261 - android:layout_width="match_parent"
262 - android:layout_height="match_parent"
263 - android:orientation="horizontal">
264 -
265 - <ToggleButton
266 - android:id="@+id/nothingButton"
267 - android:layout_width="wrap_content"
268 - android:layout_height="wrap_content"
269 - android:layout_weight="1"
270 - android:background="@drawable/profil_selector"
271 - android:text="해당없음"
272 - android:textOff="해당없음"
273 - android:textOn="해당없음" />
274 - </LinearLayout>
275 -
276 - </LinearLayout>
277 - </LinearLayout>
278 - </ScrollView>
279 -
280 - <LinearLayout
281 - android:layout_width="match_parent"
282 - android:layout_height="100dp"
283 - android:layout_weight="1"
284 - android:orientation="vertical"></LinearLayout>
285 -
286 - <LinearLayout
287 - android:layout_width="match_parent"
288 - android:layout_height="wrap_content"
289 - android:orientation="horizontal">
290 -
291 - <Button
292 - android:id="@+id/previousButton"
293 - android:layout_width="10dp"
294 - android:layout_height="wrap_content"
295 - android:layout_weight="1"
296 - android:text="이전 단계로" />
297 -
298 - <Button
299 - android:id="@+id/nextButton"
300 - android:layout_width="10dp"
301 - android:layout_height="wrap_content"
302 - android:layout_weight="1"
303 - android:text="다음 단계로" />
304 - </LinearLayout>
305 - </LinearLayout>
306 - </LinearLayout>
307 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilThirdThreeActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 - android:background="#1E90FF"
95 - android:gravity="center"
96 - android:text="3" />
97 -
98 - <TextView
99 - android:id="@+id/stageTextView4"
100 - android:layout_width="wrap_content"
101 - android:layout_height="match_parent"
102 - android:layout_gravity="center"
103 - android:layout_weight="1"
104 - android:gravity="center"
105 - android:text="4" />
106 -
107 - <TextView
108 - android:id="@+id/stageTextView5"
109 - android:layout_width="wrap_content"
110 - android:layout_height="match_parent"
111 - android:layout_gravity="center"
112 - android:layout_weight="1"
113 - android:gravity="center"
114 - android:text="5" />
115 -
116 - </LinearLayout>
117 -
118 - <LinearLayout
119 - android:layout_width="match_parent"
120 - android:layout_height="10dp"
121 - android:layout_weight="1"
122 - android:orientation="vertical"></LinearLayout>
123 -
124 - <LinearLayout
125 - android:layout_width="match_parent"
126 - android:layout_height="wrap_content"
127 - android:layout_weight="1"
128 - android:orientation="vertical">
129 -
130 - <LinearLayout
131 - android:layout_width="match_parent"
132 - android:layout_height="wrap_content"
133 - android:orientation="vertical">
134 -
135 - <RelativeLayout
136 - android:layout_width="match_parent"
137 - android:layout_height="match_parent">
138 -
139 - <TextView
140 - android:id="@+id/explainTextView"
141 - android:layout_width="wrap_content"
142 - android:layout_height="wrap_content"
143 - android:layout_centerInParent="true"
144 - android:layout_gravity="center"
145 - android:gravity="center"
146 - android:text="7. 병역 구분을 선택해 주세요." />
147 -
148 - <Button
149 - android:id="@+id/questionButton"
150 - android:layout_width="30dp"
151 - android:layout_height="30dp"
152 - android:layout_gravity="center"
153 - android:layout_toRightOf="@id/explainTextView"
154 - android:backgroundTint="#1E90FF"
155 - android:gravity="center"
156 - android:text=" ? "
157 - android:textSize="8sp" />
158 - </RelativeLayout>
159 - </LinearLayout>
160 -
161 - <LinearLayout
162 - android:layout_width="match_parent"
163 - android:layout_height="50dp"
164 - android:layout_weight="1"
165 - android:orientation="vertical">
166 -
167 - </LinearLayout>
168 -
169 - <ScrollView
170 - android:layout_width="match_parent"
171 - android:layout_height="wrap_content">
172 -
173 - <LinearLayout
174 - android:layout_width="match_parent"
175 - android:layout_height="wrap_content"
176 - android:orientation="vertical">
177 -
178 - <LinearLayout
179 - android:layout_width="wrap_content"
180 - android:layout_height="wrap_content"
181 - android:layout_gravity="center"
182 - android:gravity="center"
183 - android:orientation="vertical">
184 -
185 - <LinearLayout
186 - android:layout_width="match_parent"
187 - android:layout_height="match_parent"
188 - android:orientation="horizontal">
189 -
190 - <ToggleButton
191 - android:id="@+id/nothingButton"
192 - android:layout_width="wrap_content"
193 - android:layout_height="wrap_content"
194 - android:layout_weight="1"
195 - android:background="@drawable/profil_selector"
196 - android:text="해당없음"
197 - android:textOff="해당없음"
198 - android:textOn="해당없음" />
199 -
200 - <ToggleButton
201 - android:id="@+id/mipilButton"
202 - android:layout_width="wrap_content"
203 - android:layout_height="wrap_content"
204 - android:layout_weight="1"
205 - android:background="@drawable/profil_selector"
206 - android:text="군미필"
207 - android:textOff="군미필"
208 - android:textOn="군미필" />
209 -
210 - <ToggleButton
211 - android:id="@+id/myunjaeButton"
212 - android:layout_width="wrap_content"
213 - android:layout_height="wrap_content"
214 - android:layout_weight="1"
215 - android:background="@drawable/profil_selector"
216 - android:text="면제"
217 - android:textOff="면제"
218 - android:textOn="면제" />
219 -
220 - </LinearLayout>
221 -
222 - <LinearLayout
223 - android:layout_width="match_parent"
224 - android:layout_height="match_parent"
225 - android:orientation="horizontal">
226 -
227 - <ToggleButton
228 - android:id="@+id/jobsoldierButton"
229 - android:layout_width="wrap_content"
230 - android:layout_height="wrap_content"
231 - android:layout_weight="1"
232 - android:background="@drawable/profil_selector"
233 - android:text="직업군인"
234 - android:textOff="직업군인"
235 - android:textOn="직업군인" />
236 -
237 - <ToggleButton
238 - android:id="@+id/bokmoojoongButton"
239 - android:layout_width="wrap_content"
240 - android:layout_height="wrap_content"
241 - android:layout_weight="1"
242 - android:background="@drawable/profil_selector"
243 - android:text="복무중(현역병)"
244 - android:textOff="복무중(현역병)"
245 - android:textOn="복무중(현역병)" />
246 -
247 - <ToggleButton
248 - android:id="@+id/mangijedaeButton"
249 - android:layout_width="wrap_content"
250 - android:layout_height="wrap_content"
251 - android:layout_weight="1"
252 - android:background="@drawable/profil_selector"
253 - android:text="만기제대"
254 - android:textOff="만기제대"
255 - android:textOn="만기제대" />
256 - </LinearLayout>
257 -
258 -
259 - <LinearLayout
260 - android:layout_width="match_parent"
261 - android:layout_height="match_parent"
262 - android:orientation="horizontal">
263 -
264 - <ToggleButton
265 - android:id="@+id/specialmanryoButton"
266 - android:layout_width="wrap_content"
267 - android:layout_height="wrap_content"
268 - android:layout_weight="1"
269 - android:background="@drawable/profil_selector"
270 - android:text="병역특례(복무만료)"
271 - android:textOff="병역특례(복무만료)"
272 - android:textOn="병역특례(복무만료)" />
273 -
274 - <ToggleButton
275 - android:id="@+id/specialbokmoosanupButton"
276 - android:layout_width="wrap_content"
277 - android:layout_height="wrap_content"
278 - android:layout_weight="1"
279 - android:background="@drawable/profil_selector"
280 - android:text="병역특례(산업복무중)"
281 - android:textOff="병역특례(산업복무중)"
282 - android:textOn="병역특례(산업복무중)" />
283 -
284 - <ToggleButton
285 - android:id="@+id/specialbokmoojeonmoonButton"
286 - android:layout_width="wrap_content"
287 - android:layout_height="wrap_content"
288 - android:layout_weight="1"
289 - android:background="@drawable/profil_selector"
290 - android:text="병역특례(전문복무중)"
291 - android:textOff="병역특례(전문복무중)"
292 - android:textOn="병역특례(전문복무중)" />
293 - </LinearLayout>
294 -
295 - <LinearLayout
296 - android:layout_width="match_parent"
297 - android:layout_height="match_parent"
298 - android:orientation="horizontal">
299 -
300 - <ToggleButton
301 - android:id="@+id/jedaeguitarButton"
302 - android:layout_width="wrap_content"
303 - android:layout_height="wrap_content"
304 - android:layout_weight="1"
305 - android:background="@drawable/profil_selector"
306 - android:text="제대기타"
307 - android:textOff="제대기타"
308 - android:textOn="제대기타" />
309 - </LinearLayout>
310 -
311 -
312 - </LinearLayout>
313 - </LinearLayout>
314 - </ScrollView>
315 -
316 - <LinearLayout
317 - android:layout_width="match_parent"
318 - android:layout_height="100dp"
319 - android:layout_weight="1"
320 - android:orientation="vertical"></LinearLayout>
321 -
322 - <LinearLayout
323 - android:layout_width="match_parent"
324 - android:layout_height="wrap_content"
325 - android:orientation="horizontal">
326 -
327 - <Button
328 - android:id="@+id/previousButton"
329 - android:layout_width="10dp"
330 - android:layout_height="wrap_content"
331 - android:layout_weight="1"
332 - android:text="이전 단계로" />
333 -
334 - <Button
335 - android:id="@+id/nextButton"
336 - android:layout_width="10dp"
337 - android:layout_height="wrap_content"
338 - android:layout_weight="1"
339 - android:text="다음 단계로" />
340 - </LinearLayout>
341 - </LinearLayout>
342 - </LinearLayout>
343 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".InputProfilThirdTwoActivity">
8 -
9 - <LinearLayout
10 - android:layout_width="match_parent"
11 - android:layout_height="match_parent"
12 - android:orientation="vertical">
13 -
14 - <androidx.appcompat.widget.Toolbar
15 - android:id="@+id/toolbar"
16 - android:layout_width="fill_parent"
17 - android:layout_height="wrap_content"
18 - android:layout_marginBottom="11dp"
19 - android:background="#FFF"
20 - android:elevation="5dp"
21 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
22 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
23 -
24 - <LinearLayout
25 - android:layout_width="match_parent"
26 - android:layout_height="match_parent"
27 - android:orientation="horizontal">
28 -
29 - <Button
30 - android:id="@+id/skipButton"
31 - android:layout_width="10dp"
32 - android:layout_height="match_parent"
33 - android:layout_weight="1.5"
34 - android:text="건너뛰기"/>
35 - <LinearLayout
36 - android:layout_width="10dp"
37 - android:layout_height="match_parent"
38 - android:orientation="horizontal"
39 - android:layout_weight="1"/>
40 - <ImageView
41 - android:layout_width="77dp"
42 - android:layout_height="44dp"
43 - android:layout_gravity="center"
44 - android:layout_weight="1"
45 - android:src="@drawable/toolbar_logo" />
46 - <LinearLayout
47 - android:layout_width="10dp"
48 - android:layout_height="match_parent"
49 - android:orientation="horizontal"
50 - android:layout_weight="1"/>
51 - <LinearLayout
52 - android:layout_width="10dp"
53 - android:layout_height="match_parent"
54 - android:orientation="horizontal"
55 - android:layout_weight="1.5"/>
56 -
57 - </LinearLayout>
58 -
59 -
60 - </androidx.appcompat.widget.Toolbar>
61 -
62 - <LinearLayout
63 - android:layout_width="match_parent"
64 - android:layout_height="50dp"
65 - android:layout_weight="0"
66 - android:orientation="horizontal">
67 -
68 - <TextView
69 - android:id="@+id/stageTextView1"
70 - android:layout_width="wrap_content"
71 - android:layout_height="match_parent"
72 - android:layout_gravity="center"
73 - android:layout_weight="1"
74 - android:background="#1E90FF"
75 - android:gravity="center"
76 - android:text="1" />
77 -
78 - <TextView
79 - android:id="@+id/stageTextView2"
80 - android:layout_width="wrap_content"
81 - android:layout_height="match_parent"
82 - android:layout_gravity="center"
83 - android:layout_weight="1"
84 - android:background="#1E90FF"
85 - android:gravity="center"
86 - android:text="2" />
87 -
88 - <TextView
89 - android:id="@+id/stageTextView3"
90 - android:layout_width="wrap_content"
91 - android:layout_height="match_parent"
92 - android:layout_gravity="center"
93 - android:layout_weight="1"
94 -
95 - android:background="#1E90FF"
96 - android:gravity="center"
97 - android:text="3" />
98 -
99 - <TextView
100 - android:id="@+id/stageTextView4"
101 - android:layout_width="wrap_content"
102 - android:layout_height="match_parent"
103 - android:layout_gravity="center"
104 - android:layout_weight="1"
105 - android:gravity="center"
106 - android:text="4" />
107 -
108 - <TextView
109 - android:id="@+id/stageTextView5"
110 - android:layout_width="wrap_content"
111 - android:layout_height="match_parent"
112 - android:layout_gravity="center"
113 - android:layout_weight="1"
114 - android:gravity="center"
115 - android:text="5" />
116 -
117 - </LinearLayout>
118 -
119 - <LinearLayout
120 - android:layout_width="match_parent"
121 - android:layout_height="wrap_content"
122 - android:layout_weight="1"
123 - android:gravity="center"
124 - android:orientation="vertical">
125 -
126 - <LinearLayout
127 - android:layout_width="match_parent"
128 - android:layout_height="wrap_content"
129 - android:orientation="vertical">
130 -
131 - <RelativeLayout
132 - android:layout_width="match_parent"
133 - android:layout_height="wrap_content">
134 -
135 - <TextView
136 - android:id="@+id/explainTextView"
137 - android:layout_width="wrap_content"
138 - android:layout_height="wrap_content"
139 - android:layout_centerInParent="true"
140 - android:layout_gravity="center"
141 - android:gravity="center"
142 - android:text="6. 직업유무를 선택해 주세요." />
143 -
144 - <Button
145 - android:id="@+id/questionButton"
146 - android:layout_width="30dp"
147 - android:layout_height="30dp"
148 - android:layout_gravity="center"
149 - android:layout_toRightOf="@id/explainTextView"
150 - android:backgroundTint="#1E90FF"
151 - android:gravity="center"
152 - android:text=" ? "
153 - android:textSize="8sp" />
154 - </RelativeLayout>
155 -
156 - <LinearLayout
157 - android:layout_width="match_parent"
158 - android:layout_height="wrap_content"
159 - android:orientation="vertical">
160 -
161 - <LinearLayout
162 - android:layout_width="wrap_content"
163 - android:layout_height="wrap_content"
164 - android:layout_gravity="center"
165 - android:gravity="center"
166 - android:orientation="vertical">
167 -
168 - <LinearLayout
169 - android:layout_width="match_parent"
170 - android:layout_height="match_parent"
171 - android:orientation="horizontal">
172 -
173 - <ToggleButton
174 - android:id="@+id/jobButton"
175 - android:layout_width="300dp"
176 - android:layout_height="wrap_content"
177 - android:layout_weight="1"
178 - android:background="@drawable/profil_selector"
179 - android:text="있음"
180 - android:textOff="있음"
181 - android:textOn="있음" />
182 -
183 - </LinearLayout>
184 -
185 -
186 - <LinearLayout
187 - android:layout_width="match_parent"
188 - android:layout_height="match_parent"
189 - android:orientation="horizontal">
190 -
191 - <ToggleButton
192 - android:id="@+id/nojobButton"
193 - android:layout_width="300dp"
194 - android:layout_height="wrap_content"
195 - android:layout_weight="1"
196 - android:background="@drawable/profil_selector"
197 - android:text="없음"
198 - android:textOff="없음"
199 - android:textOn="없음" />
200 - </LinearLayout>
201 -
202 - </LinearLayout>
203 - </LinearLayout>
204 -
205 - </LinearLayout>
206 -
207 - <LinearLayout
208 - android:id="@+id/sixoneLayout"
209 - android:layout_width="match_parent"
210 - android:layout_height="50dp"
211 - android:layout_weight="1"
212 - android:orientation="vertical"
213 - android:visibility="gone">
214 -
215 - <LinearLayout
216 - android:layout_width="match_parent"
217 - android:layout_height="wrap_content"
218 - android:orientation="vertical">
219 -
220 - <RelativeLayout
221 - android:layout_width="match_parent"
222 - android:layout_height="match_parent">
223 -
224 - <TextView
225 - android:id="@+id/explainSub1TextView"
226 - android:layout_width="wrap_content"
227 - android:layout_height="wrap_content"
228 - android:layout_centerInParent="true"
229 - android:layout_gravity="center"
230 - android:gravity="center"
231 - android:text="6-1. 근로 형태를 선택해 주세요." />
232 -
233 - <Button
234 - android:id="@+id/questionSub1Button"
235 - android:layout_width="30dp"
236 - android:layout_height="30dp"
237 - android:layout_gravity="center"
238 - android:layout_toRightOf="@id/explainSub1TextView"
239 - android:backgroundTint="#1E90FF"
240 - android:gravity="center"
241 - android:text=" ? "
242 - android:textSize="8sp" />
243 - </RelativeLayout>
244 - </LinearLayout>
245 -
246 - <LinearLayout
247 - android:layout_width="match_parent"
248 - android:layout_height="wrap_content"
249 - android:orientation="vertical">
250 -
251 - <LinearLayout
252 - android:layout_width="wrap_content"
253 - android:layout_height="wrap_content"
254 - android:layout_gravity="center"
255 - android:gravity="center"
256 - android:orientation="vertical">
257 -
258 - <LinearLayout
259 - android:layout_width="match_parent"
260 - android:layout_height="match_parent"
261 - android:orientation="horizontal">
262 -
263 - <ToggleButton
264 - android:id="@+id/companyButton"
265 - android:layout_width="300dp"
266 - android:layout_height="wrap_content"
267 - android:layout_weight="1"
268 - android:background="@drawable/profil_selector"
269 - android:text="사업자"
270 - android:textOff="사업자"
271 - android:textOn="사업자" />
272 -
273 - </LinearLayout>
274 -
275 -
276 - <LinearLayout
277 - android:layout_width="match_parent"
278 - android:layout_height="match_parent"
279 - android:orientation="horizontal">
280 -
281 - <ToggleButton
282 - android:id="@+id/workerButton"
283 - android:layout_width="300dp"
284 - android:layout_height="wrap_content"
285 - android:layout_weight="1"
286 - android:background="@drawable/profil_selector"
287 - android:text="근로자"
288 - android:textOff="근로자"
289 - android:textOn="근로자" />
290 - </LinearLayout>
291 -
292 - </LinearLayout>
293 - </LinearLayout>
294 -
295 - </LinearLayout>
296 -
297 - <LinearLayout
298 - android:id="@+id/sixtwoLayout"
299 - android:layout_width="match_parent"
300 - android:layout_height="100dp"
301 - android:layout_weight="1"
302 - android:orientation="vertical"
303 - android:visibility="gone">
304 -
305 - <LinearLayout
306 - android:layout_width="match_parent"
307 - android:layout_height="wrap_content"
308 - android:orientation="vertical">
309 -
310 - <RelativeLayout
311 - android:layout_width="match_parent"
312 - android:layout_height="match_parent">
313 -
314 - <TextView
315 - android:id="@+id/explainSub2TextView"
316 - android:layout_width="wrap_content"
317 - android:layout_height="wrap_content"
318 - android:layout_centerInParent="true"
319 - android:layout_gravity="center"
320 - android:gravity="center"
321 - android:text="6-2. 현재 상태를 선택해 주세요." />
322 -
323 - <Button
324 - android:id="@+id/questionSub2Button"
325 - android:layout_width="30dp"
326 - android:layout_height="30dp"
327 - android:layout_gravity="center"
328 - android:layout_toRightOf="@id/explainSub2TextView"
329 - android:backgroundTint="#1E90FF"
330 - android:gravity="center"
331 - android:text=" ? "
332 - android:textSize="8sp" />
333 - </RelativeLayout>
334 - </LinearLayout>
335 -
336 - <LinearLayout
337 - android:layout_width="match_parent"
338 - android:layout_height="wrap_content"
339 - android:orientation="vertical">
340 -
341 - <LinearLayout
342 - android:layout_width="wrap_content"
343 - android:layout_height="wrap_content"
344 - android:layout_gravity="center"
345 - android:gravity="center"
346 - android:orientation="vertical">
347 -
348 - <LinearLayout
349 - android:layout_width="match_parent"
350 - android:layout_height="match_parent"
351 - android:orientation="horizontal">
352 -
353 - <ToggleButton
354 - android:id="@+id/entireButton"
355 - android:layout_width="300dp"
356 - android:layout_height="wrap_content"
357 - android:layout_weight="1"
358 - android:background="@drawable/profil_selector"
359 - android:text="퇴직자"
360 - android:textOff="퇴직자"
361 - android:textOn="퇴직자" />
362 -
363 - </LinearLayout>
364 -
365 - <LinearLayout
366 - android:layout_width="match_parent"
367 - android:layout_height="match_parent"
368 - android:orientation="horizontal">
369 -
370 - <ToggleButton
371 - android:id="@+id/startupButton"
372 - android:layout_width="300dp"
373 - android:layout_height="wrap_content"
374 - android:layout_weight="1"
375 - android:background="@drawable/profil_selector"
376 - android:text="창업예정자"
377 - android:textOff="창업예정자"
378 - android:textOn="창업예정자" />
379 - </LinearLayout>
380 -
381 - <LinearLayout
382 - android:layout_width="match_parent"
383 - android:layout_height="match_parent"
384 - android:orientation="horizontal">
385 -
386 - <ToggleButton
387 - android:id="@+id/seekButton"
388 - android:layout_width="300dp"
389 - android:layout_height="wrap_content"
390 - android:layout_weight="1"
391 - android:background="@drawable/profil_selector"
392 - android:text="취준생/구직자"
393 - android:textOff="취준생/구직자"
394 - android:textOn="취준생/구직자" />
395 - </LinearLayout>
396 -
397 -
398 - </LinearLayout>
399 - </LinearLayout>
400 -
401 - </LinearLayout>
402 -
403 - </LinearLayout>
404 -
405 - <LinearLayout
406 - android:layout_width="match_parent"
407 - android:layout_height="wrap_content"
408 - android:layout_gravity="bottom"
409 - android:gravity="bottom"
410 - android:orientation="horizontal">
411 -
412 - <Button
413 - android:id="@+id/previousButton"
414 - android:layout_width="10dp"
415 - android:layout_height="wrap_content"
416 - android:layout_weight="1"
417 - android:text="이전 단계로" />
418 -
419 - <Button
420 - android:id="@+id/nextButton"
421 - android:layout_width="10dp"
422 - android:layout_height="wrap_content"
423 - android:layout_weight="1"
424 - android:text="다음 단계로" />
425 - </LinearLayout>
426 -
427 - </LinearLayout>
428 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".MainActivity">
8 -
9 -
10 - <LinearLayout
11 - android:layout_width="match_parent"
12 - android:layout_height="match_parent"
13 - android:orientation="vertical">
14 -
15 - <LinearLayout
16 - android:layout_width="match_parent"
17 - android:layout_height="10dp"
18 - android:layout_weight="1"
19 - android:gravity="center"
20 - android:orientation="vertical">
21 -
22 - <LinearLayout
23 - android:layout_width="wrap_content"
24 - android:layout_height="wrap_content"
25 - android:layout_gravity="center"
26 - android:gravity="center"
27 - android:orientation="vertical">
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 -
61 - <EditText
62 - android:id="@+id/edit_email"
63 - android:layout_width="350dp"
64 - android:layout_height="wrap_content"
65 -
66 - android:inputType="textEmailAddress"
67 - android:theme="@style/EditTheme" />
68 -
69 - <TextView
70 - android:id="@+id/textView5"
71 - android:layout_width="350dp"
72 - android:layout_height="wrap_content"
73 - android:text="비밀번호"
74 - android:textColor="#29ABE2"
75 - android:textSize="13dp" />
76 -
77 - <EditText
78 - android:id="@+id/edit_password"
79 - android:layout_width="350dp"
80 - android:layout_height="wrap_content"
81 -
82 - android:inputType="textPassword"
83 - android:theme="@style/EditTheme" />
84 -
85 - <Button
86 - android:id="@+id/emailSigninBtn"
87 - android:layout_width="350dp"
88 - android:layout_height="wrap_content"
89 - android:layout_marginStart="16dp"
90 - android:layout_marginLeft="16dp"
91 - android:layout_marginTop="8dp"
92 - android:layout_marginEnd="16dp"
93 - android:layout_marginRight="16dp"
94 - android:background="@drawable/button_x"
95 - android:text="로그인"
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">
106 -
107 - <Button
108 - android:id="@+id/emailSignupBtn"
109 - android:layout_width="match_parent"
110 - android:layout_height="wrap_content"
111 - android:background="#29ABE2"
112 - android:text="회원가입"
113 - android:textColor="@color/common_google_signin_btn_text_dark_default" />
114 - </LinearLayout>
115 - </LinearLayout>
116 -
117 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".RecommendActivity">
8 -
9 -
10 - <LinearLayout
11 - android:id="@+id/linearLayout"
12 - android:layout_width="match_parent"
13 - android:layout_height="match_parent"
14 - android:orientation="vertical"
15 - app:layout_constraintBottom_toBottomOf="parent"
16 - app:layout_constraintEnd_toEndOf="parent"
17 - app:layout_constraintStart_toStartOf="parent"
18 - app:layout_constraintTop_toTopOf="parent">
19 -
20 - <androidx.appcompat.widget.Toolbar
21 - android:id="@+id/toolbar"
22 - android:layout_width="fill_parent"
23 - android:layout_height="wrap_content"
24 - android:layout_marginBottom="11dp"
25 - android:background="#FFF"
26 - android:elevation="5dp"
27 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
28 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
29 -
30 - <ImageView
31 - android:layout_width="77dp"
32 - android:layout_height="44dp"
33 - android:layout_gravity="center"
34 - android:src="@drawable/toolbar_logo" />
35 - </androidx.appcompat.widget.Toolbar>
36 -
37 -
38 - <androidx.recyclerview.widget.RecyclerView
39 - android:id="@+id/policyRecyclerView"
40 - android:layout_width="match_parent"
41 - android:layout_height="500dp"
42 - android:layout_weight="1"
43 - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
44 - tools:listitem="@layout/item_policy" />
45 -
46 - <FrameLayout
47 - android:layout_width="match_parent"
48 - android:layout_height="wrap_content"
49 - android:id="@+id/fragmentContainer"
50 - app:layout_constraintBottom_toBottomOf="parent"
51 - >
52 -
53 - <com.google.android.material.bottomnavigation.BottomNavigationView
54 - android:id="@+id/bottomNavigation"
55 - android:layout_width="match_parent"
56 - android:layout_height="wrap_content"
57 - android:layout_gravity="bottom"
58 - android:background="#FFF"
59 - app:itemIconTint="#29ABE2"
60 - app:itemTextColor="#29ABE2"
61 - app:labelVisibilityMode="labeled"
62 - app:menu="@menu/bottom_nav_menu" />
63 - </FrameLayout>
64 -
65 - </LinearLayout>
66 -
67 -</androidx.constraintlayout.widget.ConstraintLayout>
68 -
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".SettingActivity">
8 -
9 - <Button
10 - android:id="@+id/subscribeButton"
11 - android:layout_width="wrap_content"
12 - android:layout_height="wrap_content"
13 - android:layout_marginStart="134dp"
14 - android:layout_marginTop="332dp"
15 - android:layout_marginEnd="189dp"
16 - android:layout_marginBottom="351dp"
17 - android:text="Button"
18 - app:layout_constraintBottom_toBottomOf="parent"
19 - app:layout_constraintEnd_toEndOf="parent"
20 - app:layout_constraintHorizontal_bias="1.0"
21 - app:layout_constraintStart_toStartOf="parent"
22 - app:layout_constraintTop_toTopOf="parent"
23 - app:layout_constraintVertical_bias="0.0" />
24 -
25 - <ToggleButton
26 - android:id="@+id/toggleButton"
27 - android:layout_width="30dp"
28 - android:layout_height="0dp"
29 - android:layout_marginTop="81dp"
30 - android:layout_marginEnd="72dp"
31 - android:layout_marginBottom="131dp"
32 - android:background="@drawable/toggle_selector"
33 - android:text="ToggleButton"
34 - android:textOff=""
35 - android:textOn=""
36 - app:layout_constraintBottom_toTopOf="@+id/editText2"
37 - app:layout_constraintEnd_toEndOf="parent"
38 - app:layout_constraintTop_toTopOf="parent" />
39 -
40 - <TextView
41 - android:id="@+id/topicname"
42 - android:layout_width="wrap_content"
43 - android:layout_height="wrap_content"
44 - android:layout_marginStart="137dp"
45 - android:layout_marginTop="180dp"
46 - android:layout_marginBottom="181dp"
47 - android:text="TextView"
48 - app:layout_constraintBottom_toBottomOf="@+id/subscribeButton"
49 - app:layout_constraintStart_toStartOf="parent"
50 - app:layout_constraintTop_toTopOf="parent" />
51 -
52 - <EditText
53 - android:id="@+id/editText2"
54 - android:layout_width="wrap_content"
55 - android:layout_height="wrap_content"
56 - android:layout_marginBottom="444dp"
57 - android:ems="10"
58 - android:inputType="textPersonName"
59 - android:text="Name"
60 - app:layout_constraintBottom_toBottomOf="parent"
61 - app:layout_constraintEnd_toEndOf="parent"
62 - app:layout_constraintStart_toStartOf="parent"
63 - app:layout_constraintTop_toBottomOf="@+id/toggleButton" />
64 -
65 -
66 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".SignInActivity">
8 -
9 -
10 - <LinearLayout
11 - android:id="@+id/linearLayout"
12 - android:layout_width="match_parent"
13 - android:layout_height="match_parent"
14 - android:orientation="vertical"
15 - app:layout_constraintBottom_toBottomOf="parent"
16 - app:layout_constraintEnd_toEndOf="parent"
17 - app:layout_constraintStart_toStartOf="parent"
18 - app:layout_constraintTop_toTopOf="parent">
19 -
20 - <androidx.appcompat.widget.Toolbar
21 - android:id="@+id/toolbar"
22 - android:layout_width="fill_parent"
23 - android:layout_height="wrap_content"
24 - android:layout_marginBottom="11dp"
25 - android:background="#FFF"
26 - android:elevation="5dp"
27 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
28 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
29 -
30 - <ImageView
31 - android:layout_width="77dp"
32 - android:layout_height="44dp"
33 - android:layout_gravity="center"
34 - android:src="@drawable/toolbar_logo" />
35 - </androidx.appcompat.widget.Toolbar>
36 -
37 - <androidx.viewpager.widget.ViewPager
38 - android:id="@+id/welcomeViewPager"
39 - android:layout_width="400dp"
40 - android:layout_height="220dp"
41 - android:layout_gravity="center"
42 - app:layout_constraintEnd_toEndOf="parent"
43 - app:layout_constraintStart_toStartOf="parent"
44 - app:layout_constraintTop_toTopOf="parent"></androidx.viewpager.widget.ViewPager>
45 -
46 - <androidx.recyclerview.widget.RecyclerView
47 - android:id="@+id/policyFieldRecyclerView"
48 - android:layout_width="400dp"
49 - android:layout_height="wrap_content"
50 - android:layout_gravity="center|center_vertical"
51 - android:layout_weight="1"
52 - android:padding="20dp"
53 - app:layoutManager="androidx.recyclerview.widget.GridLayoutManager"
54 - app:layout_constraintBottom_toBottomOf="@id/bottomNavigation"
55 - app:spanCount="3"
56 - tools:listitem="@layout/item_policyfield" />
57 -
58 - <com.google.android.material.bottomnavigation.BottomNavigationView
59 - android:id="@+id/bottomNavigation"
60 - android:layout_width="match_parent"
61 - android:layout_height="wrap_content"
62 - android:layout_gravity="bottom"
63 - android:background="#FFF"
64 - app:itemIconTint="#29ABE2"
65 - app:itemTextColor="#29ABE2"
66 - app:labelVisibilityMode="labeled"
67 - app:menu="@menu/bottom_nav_menu" />
68 -
69 - </LinearLayout>
70 -
71 -</androidx.constraintlayout.widget.ConstraintLayout>
72 -
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
7 - tools:context=".SignUpActivity">
8 -
9 -
10 - <LinearLayout
11 - android:layout_width="match_parent"
12 - android:layout_height="match_parent"
13 - android:orientation="vertical">
14 -
15 - <LinearLayout
16 - android:layout_width="match_parent"
17 - android:layout_height="10dp"
18 - android:layout_weight="1"
19 - android:orientation="vertical">
20 -
21 - <LinearLayout
22 - android:layout_width="match_parent"
23 - android:layout_height="10dp"
24 - android:layout_weight="1"
25 - android:orientation="vertical">
26 -
27 - </LinearLayout>
28 -
29 - <TextView
30 - android:id="@+id/becomeFamilyTextView"
31 - android:layout_width="match_parent"
32 - android:layout_height="wrap_content"
33 - android:layout_gravity="center|center_horizontal|center_vertical"
34 - android:gravity="center|center_horizontal|center_vertical"
35 - android:text="Wello의 가족이 되어주세요 ^^"
36 - android:textSize="30dp" />
37 -
38 - <LinearLayout
39 - android:layout_width="match_parent"
40 - android:layout_height="10dp"
41 - android:layout_weight="1"
42 - android:orientation="vertical"></LinearLayout>
43 -
44 - </LinearLayout>
45 -
46 - <EditText
47 - android:id="@+id/edit_email_sign_up"
48 - android:layout_width="300dp"
49 - android:layout_height="wrap_content"
50 - android:layout_gravity="center"
51 - android:layout_marginStart="16dp"
52 - android:layout_marginEnd="16dp"
53 - android:ems="10"
54 - android:gravity="center"
55 - android:hint="Email"
56 - android:inputType="textEmailAddress" />
57 -
58 - <EditText
59 - android:id="@+id/edit_password_sign_up"
60 - android:layout_width="300dp"
61 - android:layout_height="wrap_content"
62 - android:layout_gravity="center"
63 - android:layout_marginStart="16dp"
64 - android:layout_marginEnd="16dp"
65 - android:ems="10"
66 - android:gravity="center"
67 - android:hint="Password"
68 - android:inputType="textPassword" />
69 -
70 - <Button
71 - android:id="@+id/signupBtn"
72 - android:layout_width="300dp"
73 - android:layout_height="wrap_content"
74 - android:layout_gravity="center"
75 - android:layout_marginStart="16dp"
76 - android:layout_marginEnd="16dp"
77 - android:background="@color/colorPrimary"
78 - android:gravity="center"
79 - android:text="회원가입"
80 - android:textColor="@color/common_google_signin_btn_text_dark_default" />
81 -
82 - <LinearLayout
83 - android:layout_width="match_parent"
84 - android:layout_height="10dp"
85 - android:layout_weight="1"
86 - android:orientation="vertical">
87 -
88 - <LinearLayout
89 - android:layout_width="match_parent"
90 - android:layout_height="10dp"
91 - android:layout_weight="1"
92 - android:orientation="vertical"></LinearLayout>
93 -
94 - <TextView
95 - android:id="@+id/agreeTextView"
96 - android:layout_width="200dp"
97 - android:layout_height="wrap_content"
98 - android:layout_gravity="center"
99 - android:gravity="center"
100 - android:text="* 회원가입을 진행하실 경우, 서비스 이용약관, 개인 정보 취급 방침에 자동으로 동의하시게 됩니다." />
101 -
102 - <LinearLayout
103 - android:layout_width="match_parent"
104 - android:layout_height="10dp"
105 - android:layout_weight="1"
106 - android:orientation="vertical"></LinearLayout>
107 - </LinearLayout>
108 - </LinearLayout>
109 -
110 -
111 -</androidx.constraintlayout.widget.ConstraintLayout>
...\ 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="match_parent"
7 - android:orientation="vertical"
8 - tools:context=".WelcomeActivity">
9 -
10 - <androidx.viewpager.widget.ViewPager
11 - android:id="@+id/welcomeViewPager"
12 - android:layout_width="match_parent"
13 - android:layout_height="100dp"
14 - android:layout_gravity="fill_vertical"
15 - android:layout_weight="1">
16 -
17 - </androidx.viewpager.widget.ViewPager>
18 -
19 - <LinearLayout
20 - android:layout_width="match_parent"
21 - android:layout_height="wrap_content"
22 - android:layout_weight="0"
23 - android:orientation="horizontal">
24 -
25 - <Button
26 - android:id="@+id/buttonGotIt"
27 - android:layout_width="wrap_content"
28 - android:layout_height="70dp"
29 - android:layout_weight="1"
30 - android:background="#FF29ABE2"
31 - android:text="회원가입/로그인하기"
32 - android:textColor="@android:color/white"
33 - android:textSize="16dp" />
34 -
35 - </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 - android:layout_width="wrap_content"
4 - android:layout_height="wrap_content"
5 - android:layout_gravity="center"
6 - android:gravity="center"
7 - android:orientation="vertical">
8 -
9 - <TextView
10 - android:id="@+id/dialogTitle"
11 - android:layout_width="match_parent"
12 - android:layout_height="wrap_content"
13 - android:layout_gravity="center"
14 - android:layout_marginLeft="16dp"
15 - android:layout_marginTop="24dp"
16 - android:layout_marginRight="16dp"
17 - android:layout_marginBottom="16dp"
18 - android:gravity="center"
19 - android:text="다이얼로그 예제"
20 - android:textAlignment="center"
21 - android:textSize="18sp"
22 - android:textStyle="bold" />
23 -
24 - <TextView
25 - android:id="@+id/dialogContent"
26 - android:layout_width="match_parent"
27 - android:layout_height="wrap_content"
28 - android:layout_gravity="center"
29 - android:gravity="center"
30 - android:text="다이얼로그 내용" />
31 -
32 -</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 - android:orientation="vertical" android:layout_width="match_parent"
4 - android:layout_height="match_parent"
5 - android:background="@drawable/hwajilgooji1">
6 -
7 -</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
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="200dp"
7 - android:layout_margin="10dp"
8 - android:background="@drawable/edgemaking"
9 - android:orientation="horizontal"
10 - android:padding="10dp">
11 -
12 -
13 - <ImageView
14 - android:id="@+id/policyImage"
15 - android:layout_width="100dp"
16 - android:layout_height="match_parent"
17 - android:layout_weight="1"
18 - tools:srcCompat="@tools:sample/avatars" />
19 -
20 - <LinearLayout
21 - android:layout_width="200dp"
22 - android:layout_height="match_parent"
23 - android:layout_weight="2"
24 - android:orientation="vertical">
25 -
26 - <LinearLayout
27 - android:layout_width="match_parent"
28 - android:layout_height="10dp"
29 - android:layout_weight="1"
30 - android:orientation="horizontal">
31 -
32 - <TextView
33 - android:id="@+id/policyDday"
34 - android:layout_width="wrap_content"
35 - android:layout_height="wrap_content"
36 - android:layout_weight="1"
37 - android:text="TextView" />
38 -
39 - <ToggleButton
40 - android:id="@+id/policyFavor"
41 - android:layout_width="30dp"
42 - android:layout_height="30dp"
43 - android:layout_weight="0"
44 - android:background="@drawable/toggle_selector"
45 - android:checked="false"
46 - android:textOff=""
47 - android:textOn="" />
48 - </LinearLayout>
49 -
50 - <TextView
51 - android:id="@+id/policyHost"
52 - android:layout_width="match_parent"
53 - android:layout_height="10dp"
54 - android:layout_weight="1"
55 - android:gravity="center"
56 - android:text="TextView" />
57 -
58 - <TextView
59 - android:id="@+id/policyTitle"
60 - android:layout_width="match_parent"
61 - android:layout_height="10dp"
62 - android:layout_weight="1"
63 - android:gravity="center"
64 - android:text="TextView" />
65 -
66 - <RatingBar
67 - android:id="@+id/policyScore"
68 - android:layout_width="240dp"
69 - android:layout_height="10dp"
70 - android:layout_gravity="center"
71 - android:layout_weight="1" />
72 - </LinearLayout>
73 -
74 -</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 - android:layout_width="100dp"
5 - android:layout_height="100dp"
6 - android:layout_gravity="center"
7 - android:layout_margin="10dp"
8 - android:gravity="center"
9 - android:orientation="vertical"
10 - android:padding="3dp">
11 -
12 -
13 - <ImageView
14 - android:id="@+id/fieldIcon"
15 - android:layout_width="match_parent"
16 - android:layout_height="wrap_content"
17 - android:layout_weight="1"
18 - android:adjustViewBounds="true"
19 - app:layout_constraintLeft_toLeftOf="parent"
20 - app:layout_constraintRight_toRightOf="parent"
21 - app:layout_constraintTop_toTopOf="parent" />
22 -
23 - <TextView
24 - android:id="@+id/fieldIconText"
25 - android:layout_width="wrap_content"
26 - android:layout_height="wrap_content"
27 - android:layout_gravity="center"
28 - android:gravity="center"
29 - android:textSize="20sp"
30 - app:layout_constraintLeft_toLeftOf="parent"
31 - app:layout_constraintRight_toRightOf="parent"
32 - app:layout_constraintTop_toBottomOf="@+id/fieldIcon" />
33 -
34 -</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 - android:orientation="horizontal"
5 - android:layout_width="match_parent"
6 - android:layout_height="wrap_content"
7 - android:layout_margin="3dp"
8 - android:background="@drawable/edgemaking">
9 -
10 -
11 - <ImageView
12 - android:id="@+id/searchIcon"
13 - android:layout_width="100dp"
14 - android:layout_height="wrap_content"
15 - android:layout_gravity="center"
16 - android:layout_weight="0"
17 - android:adjustViewBounds="true" />
18 -
19 - <TextView
20 - android:id="@+id/searchIconText"
21 - android:layout_width="wrap_content"
22 - android:layout_height="wrap_content"
23 - android:layout_gravity="center"
24 - android:layout_weight="1"
25 - android:gravity="center"
26 - android:textSize="20sp" />
27 -
28 -</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="match_parent"
7 - android:orientation="vertical"
8 - android:weightSum="2">
9 -
10 - <androidx.appcompat.widget.Toolbar
11 - android:id="@+id/toolbar"
12 - android:layout_width="fill_parent"
13 - android:layout_height="wrap_content"
14 - android:layout_marginBottom="11dp"
15 - android:background="#FFF"
16 - android:elevation="5dp"
17 - android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
18 - app:popupTheme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
19 -
20 - <TextView
21 - android:layout_width="wrap_content"
22 - android:layout_height="wrap_content"
23 - android:text="모든 정책 검색"
24 - android:textSize="20dp"
25 - android:textColor="#000"
26 - android:layout_gravity="center"
27 - android:layout_centerHorizontal="true" />
28 - </androidx.appcompat.widget.Toolbar>
29 -
30 - <LinearLayout
31 - android:layout_width="match_parent"
32 - android:layout_height="match_parent"
33 - android:orientation="vertical">
34 -
35 - <LinearLayout
36 - android:layout_width="match_parent"
37 - android:layout_height="200dp"
38 - android:layout_weight="1"
39 - android:orientation="vertical">
40 -
41 - <SearchView
42 - android:id="@+id/searchForm"
43 - android:layout_width="match_parent"
44 - android:layout_height="wrap_content"
45 - android:layout_marginLeft="9dp"
46 - android:layout_marginTop="30dp"
47 - android:layout_marginRight="9dp"
48 - android:layout_marginBottom="9dp"
49 - android:background="@drawable/searchview_edge"
50 - android:focusable="false"
51 - android:layoutDirection="rtl"
52 - android:paddingStart="7dp"
53 - android:queryHint=" 정책명, 대상, 키워드를 입력하세요"
54 - app:iconifiedByDefault="false"
55 - app:showAsAction="always" />
56 -
57 - <androidx.recyclerview.widget.RecyclerView
58 - android:id="@+id/searchRecyclerView"
59 - android:layout_width="match_parent"
60 - android:layout_height="match_parent"
61 - app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
62 - tools:listitem="@layout/item_search">
63 -
64 - </androidx.recyclerview.widget.RecyclerView>
65 - </LinearLayout>
66 -
67 - <ImageView
68 - android:id="@+id/no_matching"
69 - android:layout_width="match_parent"
70 - android:layout_height="wrap_content"
71 - android:layout_gravity="center"
72 - android:contentDescription="img"
73 - android:visibility="gone"
74 - app:srcCompat="@drawable/not_matching"
75 - tools:srcCompat="@drawable/not_matching" />
76 -
77 - <LinearLayout
78 - android:id="@+id/hashtag_linear"
79 - android:layout_width="match_parent"
80 - android:layout_height="200dp"
81 - android:layout_weight="1.1"
82 - android:orientation="vertical">
83 -
84 - <FrameLayout
85 - android:layout_width="wrap_content"
86 - android:layout_height="wrap_content">
87 -
88 - <View
89 - android:id="@+id/view2"
90 - android:layout_width="match_parent"
91 - android:layout_height="match_parent"
92 - android:background="#6629ABE2" />
93 -
94 - <FrameLayout
95 - android:layout_width="match_parent"
96 - android:layout_height="match_parent">
97 -
98 - <com.google.android.material.chip.ChipGroup
99 - android:layout_width="match_parent"
100 - android:layout_height="wrap_content"
101 - android:layout_gravity="center|center_horizontal|center_vertical"
102 - android:layout_marginStart="17dp"
103 - android:foregroundGravity="center_vertical|center|center_horizontal">
104 -
105 -
106 - <com.google.android.material.chip.ChipGroup
107 - android:layout_width="match_parent"
108 - android:layout_height="wrap_content">
109 -
110 - <TextView
111 - android:id="@+id/textView"
112 - android:layout_width="wrap_content"
113 - android:layout_height="wrap_content"
114 - android:text="가구상황별" />
115 -
116 -
117 - <com.google.android.material.chip.ChipGroup
118 - android:layout_width="match_parent"
119 - android:layout_height="wrap_content">
120 -
121 - <com.google.android.material.chip.Chip
122 - style="@style/Widget.MaterialComponents.Chip.Choice"
123 - android:layout_width="wrap_content"
124 - app:chipBackgroundColor="#C6FFFFFF"
125 - android:layout_height="wrap_content"
126 - android:layout_marginBottom="5dp"
127 - android:checkable="false"
128 - android:text="# 장애인"
129 - android:textAppearance="@style/TextAppearance.AppCompat" />
130 -
131 - <com.google.android.material.chip.Chip
132 - style="@style/Widget.MaterialComponents.Chip.Choice"
133 - android:layout_width="wrap_content"
134 - android:layout_height="wrap_content"
135 - android:layout_marginBottom="5dp"
136 - android:checkable="false"
137 - app:chipBackgroundColor="#C6FFFFFF"
138 - android:text="# 한부모"
139 - android:textAppearance="@style/TextAppearance.AppCompat" />
140 -
141 -
142 - <com.google.android.material.chip.Chip
143 - style="@style/Widget.MaterialComponents.Chip.Choice"
144 - android:layout_width="wrap_content"
145 - android:layout_height="wrap_content"
146 - android:layout_marginBottom="5dp"
147 - android:checkable="false"
148 - app:chipBackgroundColor="#C6FFFFFF"
149 - android:text="# 다문화"
150 - android:textAppearance="@style/TextAppearance.AppCompat" />
151 - </com.google.android.material.chip.ChipGroup>
152 -
153 - <com.google.android.material.chip.ChipGroup
154 - android:layout_width="match_parent"
155 - android:layout_height="wrap_content">
156 -
157 - <com.google.android.material.chip.Chip
158 - style="@style/Widget.MaterialComponents.Chip.Choice"
159 - android:layout_width="wrap_content"
160 - android:layout_height="wrap_content"
161 - android:checkable="false"
162 - app:chipBackgroundColor="#C6FFFFFF"
163 - android:text="# 저소득층"
164 - android:textAppearance="@style/TextAppearance.AppCompat"
165 - app:chipIcon="@drawable/image01" />
166 -
167 - <com.google.android.material.chip.Chip
168 - style="@style/Widget.MaterialComponents.Chip.Choice"
169 - android:layout_width="wrap_content"
170 - android:layout_height="wrap_content"
171 - android:checkable="false"
172 - app:chipBackgroundColor="#C6FFFFFF"
173 - android:text="# 임신/출산"
174 - android:textAppearance="@style/TextAppearance.AppCompat" />
175 -
176 - </com.google.android.material.chip.ChipGroup>
177 - </com.google.android.material.chip.ChipGroup>
178 -
179 - <com.google.android.material.chip.ChipGroup
180 - android:layout_width="match_parent"
181 - android:layout_height="wrap_content"
182 - android:layout_gravity="center|center_horizontal|center_vertical"
183 - android:foregroundGravity="center_vertical|center|center_horizontal">
184 -
185 - <TextView
186 - android:id="@+id/textVㅇiew"
187 - android:layout_width="wrap_content"
188 - android:layout_height="wrap_content"
189 - android:text="\n생애주기별" />
190 -
191 -
192 - <com.google.android.material.chip.ChipGroup
193 - android:layout_width="match_parent"
194 - android:layout_height="wrap_content">
195 -
196 - <com.google.android.material.chip.Chip
197 - style="@style/Widget.MaterialComponents.Chip.Choice"
198 - android:layout_width="wrap_content"
199 - android:layout_height="wrap_content"
200 - android:layout_marginBottom="5dp"
201 - android:checkable="false"
202 - app:chipBackgroundColor="#C6FFFFFF"
203 - android:text="# 아동"
204 - android:textAppearance="@style/TextAppearance.AppCompat" />
205 -
206 - <com.google.android.material.chip.Chip
207 - style="@style/Widget.MaterialComponents.Chip.Choice"
208 - android:layout_width="wrap_content"
209 - android:layout_height="wrap_content"
210 - android:layout_marginBottom="5dp"
211 - android:checkable="false"
212 - app:chipBackgroundColor="#C6FFFFFF"
213 - android:text="# 청소년"
214 - android:textAppearance="@style/TextAppearance.AppCompat" />
215 -
216 -
217 - <com.google.android.material.chip.Chip
218 - style="@style/Widget.MaterialComponents.Chip.Choice"
219 - android:layout_width="wrap_content"
220 - android:layout_height="wrap_content"
221 - android:layout_marginBottom="5dp"
222 - android:checkable="false"
223 - app:chipBackgroundColor="#C6FFFFFF"
224 - android:text="# 청년"
225 - android:textAppearance="@style/TextAppearance.AppCompat" />
226 - </com.google.android.material.chip.ChipGroup>
227 -
228 - <com.google.android.material.chip.ChipGroup
229 - android:layout_width="match_parent"
230 - android:layout_height="wrap_content">
231 -
232 - <com.google.android.material.chip.Chip
233 - style="@style/Widget.MaterialComponents.Chip.Choice"
234 - android:layout_width="wrap_content"
235 - android:layout_height="wrap_content"
236 - android:checkable="false"
237 - app:chipBackgroundColor="#C6FFFFFF"
238 - android:text="# 중장년"
239 - android:textAppearance="@style/TextAppearance.AppCompat"
240 - app:chipIcon="@drawable/image01" />
241 -
242 - <com.google.android.material.chip.Chip
243 - style="@style/Widget.MaterialComponents.Chip.Choice"
244 - android:layout_width="wrap_content"
245 - android:layout_height="wrap_content"
246 - android:checkable="false"
247 - app:chipBackgroundColor="#C6FFFFFF"
248 - android:text="# 노년"
249 - android:textAppearance="@style/TextAppearance.AppCompat" />
250 -
251 - </com.google.android.material.chip.ChipGroup>
252 - </com.google.android.material.chip.ChipGroup>
253 - </com.google.android.material.chip.ChipGroup>
254 -
255 - </FrameLayout>
256 -
257 - </FrameLayout>
258 -
259 - </LinearLayout>
260 - </LinearLayout>
261 -</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 - android:orientation="vertical" android:layout_width="match_parent"
4 - android:layout_height="match_parent"
5 - android:background="@drawable/hwajilgooji2">
6 -
7 -</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 - android:orientation="vertical" android:layout_width="match_parent"
4 - android:layout_height="match_parent"
5 - android:background="@drawable/hwajilgooji3">
6 -
7 -</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:orientation="vertical" android:layout_width="match_parent"
6 - android:layout_height="match_parent">
7 -
8 - <ImageView
9 - android:id="@+id/imageview"
10 - android:layout_width="match_parent"
11 - android:layout_height="wrap_content"
12 - android:layout_weight="1"
13 - tools:srcCompat="@tools:sample/avatars" />
14 -</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:orientation="vertical" android:layout_width="match_parent"
6 - android:layout_height="match_parent">
7 -
8 - <ImageView
9 - android:id="@+id/imageview"
10 - android:layout_width="match_parent"
11 - android:layout_height="wrap_content"
12 - android:layout_weight="1"
13 - tools:srcCompat="@tools:sample/avatars" />
14 -</LinearLayout>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<menu xmlns:android="http://schemas.android.com/apk/res/android"
3 - xmlns:app="http://schemas.android.com/apk/res-auto">
4 - <item
5 - android:id="@+id/bottomHome"
6 - android:enabled="true"
7 - android:icon="@drawable/home"
8 - android:title="WELLO"
9 - app:showAsAction="ifRoom" />
10 - <item
11 - android:id="@+id/bottomRecommend"
12 - android:enabled="true"
13 - android:icon="@drawable/wish"
14 - android:title="추천정책"
15 - app:showAsAction="ifRoom" />
16 - <item
17 - android:id="@+id/bottomFavorites"
18 - android:enabled="true"
19 - android:icon="@drawable/instagram"
20 - android:title="찜 목록"
21 - app:showAsAction="ifRoom" />
22 - <item
23 - android:id="@+id/bottomInfo"
24 - android:enabled="true"
25 - android:icon="@drawable/info"
26 - android:title="내 정보"
27 - app:showAsAction="ifRoom" />
28 -</menu>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<menu xmlns:android="http://schemas.android.com/apk/res/android"
3 - xmlns:app="http://schemas.android.com/apk/res-auto">
4 - <item
5 - android:id="@+id/shareBtn"
6 - android:enabled="true"
7 - android:icon="@drawable/home"
8 - android:title="Share"
9 - app:showAsAction="ifRoom" />
10 - <item
11 - android:id="@+id/favorBtn"
12 - android:enabled="true"
13 - android:icon="@drawable/wish"
14 - android:title="Heart"
15 - app:showAsAction="ifRoom" />
16 - <item
17 - android:id="@+id/linkBtn"
18 - android:enabled="true"
19 - android:icon="@drawable/instagram"
20 - android:title="Link"
21 - app:showAsAction="ifRoom" />
22 -</menu>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<menu xmlns:android="http://schemas.android.com/apk/res/android"
3 - xmlns:app="http://schemas.android.com/apk/res-auto"
4 - >
5 - <item
6 - android:id="@+id/menu_search"
7 - android:title="search"
8 - android:icon="@drawable/search"
9 - app:showAsAction="always"
10 - />
11 -</menu>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 - <background android:drawable="@color/ic_launcher_background"/>
4 - <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 -</adaptive-icon>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3 - <background android:drawable="@color/ic_launcher_background"/>
4 - <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
5 -</adaptive-icon>
...\ No newline at end of file ...\ No newline at end of file
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<resources>
3 - <color name="colorPrimary">#008577</color>
4 - <color name="colorPrimaryDark">#00574B</color>
5 - <color name="colorAccent">#D81B60</color>
6 -
7 - <color name="splashfilling">#FFFFFF</color>
8 -
9 - <color name="cursorColor">#000000</color>
10 - <color name="nomalColor">#29ABE2</color>
11 -
12 - <drawable name="profil_selected">#1E90FF</drawable>
13 - <drawable name="profil_unselected">#FFFFFF</drawable>
14 -
15 -</resources>
1 -<?xml version="1.0" encoding="utf-8"?>
2 -<resources>
3 - <color name="ic_launcher_background">#FFFFFF</color>
4 -</resources>
...\ No newline at end of file ...\ No newline at end of file
1 -<resources>
2 - <string name="app_name">WELLO</string>
3 -
4 - <string name="title01">교육</string>
5 - <string name="title02">고용</string>
6 - <string name="title03">주거</string>
7 - <string name="title04">건강</string>
8 - <string name="title05">서민금융</string>
9 - <string name="title06">문화</string>
10 - <string name="title07">빈카테고리</string>
11 - <string name="title08">빈카테고리</string>
12 - <string name="title09">빈카테고리</string>
13 - <string name="title10">빈카테고리</string>
14 -
15 - <string name="alarm">Home</string>
16 - <string name="clock">추천정책</string>
17 - <string name="timer">찜 목록</string>
18 - <string name="stopwatch">내 정보</string>
19 -
20 - <string name="msg_token_fmt" translatable="false">InstanceID Token: %s</string>
21 -
22 - <string name="msg_subscribed" translatable="false">success!</string>
23 - <string name="msg_subscribe_failed" translatable="false">fail!</string>
24 -
25 -</resources>
1 -<resources>
2 -
3 - <!-- Base application theme. -->
4 - <style name="NoActionBar" parent="Theme.AppCompat.Light.NoActionBar">
5 - <!-- Customize your theme here. -->
6 - <item name="colorPrimary">@color/colorPrimary</item>
7 - <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
8 - <item name="colorAccent">@color/colorAccent</item>
9 - <item name="android:statusBarColor">#FFF</item>
10 - <item name="android:windowLightStatusBar">true</item>
11 - </style>
12 -
13 - <!-- Splash screen -->
14 -
15 - <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
16 - <item name="android:windowBackground">@drawable/background_splash</item>
17 - </style>
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 -
25 -</resources>
1 -package com.example.vip
2 -
3 -import org.junit.Test
4 -
5 -import org.junit.Assert.*
6 -
7 -/**
8 - * Example local unit test, which will execute on the development machine (host).
9 - *
10 - * See [testing documentation](http://d.android.com/tools/testing).
11 - */
12 -class ExampleUnitTest {
13 - @Test
14 - fun addition_isCorrect() {
15 - assertEquals(4, 2 + 2)
16 - }
17 -}
1 -// Top-level build file where you can add configuration options common to all sub-projects/modules.
2 -
3 -buildscript {
4 - ext.kotlin_version = '1.3.41'
5 - repositories {
6 - google()
7 - jcenter()
8 -
9 - }
10 - dependencies {
11 - classpath 'com.android.tools.build:gradle:3.5.2'
12 - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
13 - classpath 'com.google.gms:google-services:4.3.2'
14 - // NOTE: Do not place your application dependencies here; they belong
15 - // in the individual module build.gradle files
16 - }
17 -}
18 -
19 -allprojects {
20 - repositories {
21 - google()
22 - jcenter()
23 - }
24 -}
25 -
26 -task clean(type: Delete) {
27 - delete rootProject.buildDir
28 -}
1 -# Project-wide Gradle settings.
2 -# IDE (e.g. Android Studio) users:
3 -# Gradle settings configured through the IDE *will override*
4 -# any settings specified in this file.
5 -# For more details on how to configure your build environment visit
6 -# http://www.gradle.org/docs/current/userguide/build_environment.html
7 -# Specifies the JVM arguments used for the daemon process.
8 -# The setting is particularly useful for tweaking memory settings.
9 -org.gradle.jvmargs=-Xmx1536m
10 -# When configured, Gradle will run in incubating parallel mode.
11 -# This option should only be used with decoupled projects. More details, visit
12 -# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 -# org.gradle.parallel=true
14 -# AndroidX package structure to make it clearer which packages are bundled with the
15 -# Android operating system, and which are packaged with your app's APK
16 -# https://developer.android.com/topic/libraries/support-library/androidx-rn
17 -android.useAndroidX=true
18 -# Automatically convert third-party libraries to use AndroidX
19 -android.enableJetifier=true
20 -# Kotlin code style for this project: "official" or "obsolete":
21 -kotlin.code.style=official
No preview for this file type
1 -#Mon Oct 21 17:58:51 KST 2019
2 -distributionBase=GRADLE_USER_HOME
3 -distributionPath=wrapper/dists
4 -zipStoreBase=GRADLE_USER_HOME
5 -zipStorePath=wrapper/dists
6 -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
1 -#!/usr/bin/env sh
2 -
3 -##############################################################################
4 -##
5 -## Gradle start up script for UN*X
6 -##
7 -##############################################################################
8 -
9 -# Attempt to set APP_HOME
10 -# Resolve links: $0 may be a link
11 -PRG="$0"
12 -# Need this for relative symlinks.
13 -while [ -h "$PRG" ] ; do
14 - ls=`ls -ld "$PRG"`
15 - link=`expr "$ls" : '.*-> \(.*\)$'`
16 - if expr "$link" : '/.*' > /dev/null; then
17 - PRG="$link"
18 - else
19 - PRG=`dirname "$PRG"`"/$link"
20 - fi
21 -done
22 -SAVED="`pwd`"
23 -cd "`dirname \"$PRG\"`/" >/dev/null
24 -APP_HOME="`pwd -P`"
25 -cd "$SAVED" >/dev/null
26 -
27 -APP_NAME="Gradle"
28 -APP_BASE_NAME=`basename "$0"`
29 -
30 -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
31 -DEFAULT_JVM_OPTS=""
32 -
33 -# Use the maximum available, or set MAX_FD != -1 to use that value.
34 -MAX_FD="maximum"
35 -
36 -warn () {
37 - echo "$*"
38 -}
39 -
40 -die () {
41 - echo
42 - echo "$*"
43 - echo
44 - exit 1
45 -}
46 -
47 -# OS specific support (must be 'true' or 'false').
48 -cygwin=false
49 -msys=false
50 -darwin=false
51 -nonstop=false
52 -case "`uname`" in
53 - CYGWIN* )
54 - cygwin=true
55 - ;;
56 - Darwin* )
57 - darwin=true
58 - ;;
59 - MINGW* )
60 - msys=true
61 - ;;
62 - NONSTOP* )
63 - nonstop=true
64 - ;;
65 -esac
66 -
67 -CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
68 -
69 -# Determine the Java command to use to start the JVM.
70 -if [ -n "$JAVA_HOME" ] ; then
71 - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
72 - # IBM's JDK on AIX uses strange locations for the executables
73 - JAVACMD="$JAVA_HOME/jre/sh/java"
74 - else
75 - JAVACMD="$JAVA_HOME/bin/java"
76 - fi
77 - if [ ! -x "$JAVACMD" ] ; then
78 - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
79 -
80 -Please set the JAVA_HOME variable in your environment to match the
81 -location of your Java installation."
82 - fi
83 -else
84 - JAVACMD="java"
85 - which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
86 -
87 -Please set the JAVA_HOME variable in your environment to match the
88 -location of your Java installation."
89 -fi
90 -
91 -# Increase the maximum file descriptors if we can.
92 -if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
93 - MAX_FD_LIMIT=`ulimit -H -n`
94 - if [ $? -eq 0 ] ; then
95 - if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
96 - MAX_FD="$MAX_FD_LIMIT"
97 - fi
98 - ulimit -n $MAX_FD
99 - if [ $? -ne 0 ] ; then
100 - warn "Could not set maximum file descriptor limit: $MAX_FD"
101 - fi
102 - else
103 - warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
104 - fi
105 -fi
106 -
107 -# For Darwin, add options to specify how the application appears in the dock
108 -if $darwin; then
109 - GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
110 -fi
111 -
112 -# For Cygwin, switch paths to Windows format before running java
113 -if $cygwin ; then
114 - APP_HOME=`cygpath --path --mixed "$APP_HOME"`
115 - CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
116 - JAVACMD=`cygpath --unix "$JAVACMD"`
117 -
118 - # We build the pattern for arguments to be converted via cygpath
119 - ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
120 - SEP=""
121 - for dir in $ROOTDIRSRAW ; do
122 - ROOTDIRS="$ROOTDIRS$SEP$dir"
123 - SEP="|"
124 - done
125 - OURCYGPATTERN="(^($ROOTDIRS))"
126 - # Add a user-defined pattern to the cygpath arguments
127 - if [ "$GRADLE_CYGPATTERN" != "" ] ; then
128 - OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
129 - fi
130 - # Now convert the arguments - kludge to limit ourselves to /bin/sh
131 - i=0
132 - for arg in "$@" ; do
133 - CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
134 - CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
135 -
136 - if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
137 - eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
138 - else
139 - eval `echo args$i`="\"$arg\""
140 - fi
141 - i=$((i+1))
142 - done
143 - case $i in
144 - (0) set -- ;;
145 - (1) set -- "$args0" ;;
146 - (2) set -- "$args0" "$args1" ;;
147 - (3) set -- "$args0" "$args1" "$args2" ;;
148 - (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
149 - (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
150 - (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
151 - (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
152 - (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
153 - (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
154 - esac
155 -fi
156 -
157 -# Escape application args
158 -save () {
159 - for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
160 - echo " "
161 -}
162 -APP_ARGS=$(save "$@")
163 -
164 -# Collect all arguments for the java command, following the shell quoting and substitution rules
165 -eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
166 -
167 -# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
168 -if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
169 - cd "$(dirname "$0")"
170 -fi
171 -
172 -exec "$JAVACMD" "$@"
1 -@if "%DEBUG%" == "" @echo off
2 -@rem ##########################################################################
3 -@rem
4 -@rem Gradle startup script for Windows
5 -@rem
6 -@rem ##########################################################################
7 -
8 -@rem Set local scope for the variables with windows NT shell
9 -if "%OS%"=="Windows_NT" setlocal
10 -
11 -set DIRNAME=%~dp0
12 -if "%DIRNAME%" == "" set DIRNAME=.
13 -set APP_BASE_NAME=%~n0
14 -set APP_HOME=%DIRNAME%
15 -
16 -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
17 -set DEFAULT_JVM_OPTS=
18 -
19 -@rem Find java.exe
20 -if defined JAVA_HOME goto findJavaFromJavaHome
21 -
22 -set JAVA_EXE=java.exe
23 -%JAVA_EXE% -version >NUL 2>&1
24 -if "%ERRORLEVEL%" == "0" goto init
25 -
26 -echo.
27 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28 -echo.
29 -echo Please set the JAVA_HOME variable in your environment to match the
30 -echo location of your Java installation.
31 -
32 -goto fail
33 -
34 -:findJavaFromJavaHome
35 -set JAVA_HOME=%JAVA_HOME:"=%
36 -set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37 -
38 -if exist "%JAVA_EXE%" goto init
39 -
40 -echo.
41 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42 -echo.
43 -echo Please set the JAVA_HOME variable in your environment to match the
44 -echo location of your Java installation.
45 -
46 -goto fail
47 -
48 -:init
49 -@rem Get command-line arguments, handling Windows variants
50 -
51 -if not "%OS%" == "Windows_NT" goto win9xME_args
52 -
53 -:win9xME_args
54 -@rem Slurp the command line arguments.
55 -set CMD_LINE_ARGS=
56 -set _SKIP=2
57 -
58 -:win9xME_args_slurp
59 -if "x%~1" == "x" goto execute
60 -
61 -set CMD_LINE_ARGS=%*
62 -
63 -:execute
64 -@rem Setup the command line
65 -
66 -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
67 -
68 -@rem Execute Gradle
69 -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
70 -
71 -:end
72 -@rem End local scope for the variables with windows NT shell
73 -if "%ERRORLEVEL%"=="0" goto mainEnd
74 -
75 -:fail
76 -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
77 -rem the _cmd.exe /c_ return code!
78 -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
79 -exit /b 1
80 -
81 -:mainEnd
82 -if "%OS%"=="Windows_NT" endlocal
83 -
84 -:omega
1 -include ':app'
2 -rootProject.name='vip'