soonmyeong2

info design complete

Showing 1000 changed files with 394 additions and 14 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -30,14 +30,19 @@
<activity android:name=".InputProfilFirstFourActivity" />
<activity android:name=".InputProfilFirstThreeActivity" />
<activity android:name=".InputProfilFirstTwoActivity" />
<activity android:name=".FragmentActivity" />
<activity android:name=".FragmentLayout" />
<activity android:name=".InputProfilFirstOneActivity" />
<activity android:name=".PrivacyPolicyActivity"/>
<activity android:name=".TermsOfUserActivity"/>
<activity android:name=".NoticeActivity"/>
<activity android:name=".QuestionsActivity"/>
<activity android:name=".WelcomeActivity" />
<activity android:name=".PushInfoActivity"/>
<activity android:name=".SettingActivity" />
<activity android:name=".TermsDetailActivity"/>
<activity android:name=".DetailActivity" />
<activity android:name=".InfoActivity" />
<activity android:name=".FavoritesActivity" />
<activity android:name=".SettingsInForm"/>
<activity android:name=".RecommendActivity" />
<activity android:name=".SignInActivity" />
<activity android:name=".SignUpActivity" />
......
......@@ -14,6 +14,7 @@ import android.widget.Toast
import kotlinx.android.synthetic.main.activity_info.*
import android.graphics.drawable.ColorDrawable
import androidx.core.content.ContextCompat
import kotlinx.android.synthetic.main.activity_settings_in_form.*
class InfoActivity : AppCompatActivity() {
......@@ -26,32 +27,41 @@ class InfoActivity : AppCompatActivity() {
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
getWindow().setStatusBarColor(getResources().getColor(R.color.infomainColor));
}
val prof: SharedPreferences =getSharedPreferences("profdata", Context.MODE_PRIVATE)
val editor: SharedPreferences.Editor=prof.edit()
Toast.makeText(applicationContext,prof.getString("manorwoman","nothing"),
Toast.LENGTH_SHORT).show()
//temp
var accountImage: ImageView =findViewById(R.id.infoAccountImage)
accountImage.setImageResource(R.drawable.image01)
InfoProfilModify.setOnClickListener {
var intent = Intent(this, SettingActivity::class.java)
startActivity(intent)
}
//temp
InfoButtonSettings.setOnClickListener {
var intent = Intent(this, SettingsInForm::class.java)
startActivity(intent)
// 설정 눌렀을 때
}
InfoButtonLaw.setOnClickListener {
var intent = Intent(this, SettingActivity::class.java)
InfoButtonNotice.setOnClickListener {
var intent = Intent(this, NoticeActivity::class.java)
startActivity(intent)
}
InfoButtonFAQ.setOnClickListener {
var intent = Intent(this, QuestionsActivity::class.java)
startActivity(intent)
}
//pushing test start
InfoButtonSettings.setOnClickListener {
//var intent = Intent(this, SettingActivity::class.java)
// InfoButtonSettings.setOnClickListener {
// //var intent = Intent(this, SettingActivity::class.java)
//test start
var intent = Intent(this, InputProfilFirstOneActivity::class.java)
// var intent = Intent(this, InputProfilFirstOneActivity::class.java)
//test end
startActivity(intent)
}
// startActivity(intent)
// }
//pushing test end
}
}
......
package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_notice.*
class NoticeActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_notice)
}
}
This diff is collapsed. Click to expand it.
package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_push_alarm.*
class PushInfoActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_push_alarm)
}
}
package com.example.vip
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import android.widget.TextView
import androidx.core.view.isGone
import androidx.recyclerview.widget.RecyclerView
import kotlinx.android.synthetic.main.qna_rv_item.view.*
class QnAAdapter : RecyclerView.Adapter<QnAAdapter.MainViewHolder>() {
var items: MutableList<QnAItem> = mutableListOf(
QnAItem("1. 버그가 있어요.", "\n사용 중에 버그를 발견하셨다면\n" +
"‘wello.khu@gmail.com’을 통해 건의해주세요.\n" +
"보다 나은 서비스를 제공하기 위해 늘 노력하는 wello팀이 되도록 노력하겠습니다.\n", "asdf"),
QnAItem("2. 회원탈퇴는 어떻게 하나요?", "\n아래 메뉴를 통해 회원탈퇴가 가능합니다.\n" +
"\n" +
"홈 화면 오른쪽 하단의 \n" +
"내 정보> 설정 > 계정설정 > 회원탈퇴 \n" +
"\n" +
"wello 서비스에 불편한 점을 느끼셨다면\n" +
"회원탈퇴 경로 및 wello.khu@gmail.com를 통해 건의해주세요.\n" +
"보다 나은 서비스를 제공하기 위해 늘 노력하는 wello팀이 되도록 노력하겠습니다.\n", "asdff"),
QnAItem("3. 'Wello'가 무슨 뜻인가요?", "\n‘Wello’는 ‘복지(Welfare) + 안녕(Hello)’의 합성어로, \n" +
"\n" +
"1) 당신만을 위한 복지정보를 만날 수 있는 어플리케이션\n" +
"2) 전국민의 복지의 안녕을 챙기는 어플리케이션\n" +
"\n" +
"이 되겠다는 Wello의 다짐을 담고 있습니다.\n", "asdff"),
QnAItem("4. 'Wello'는 어떤 어플인가요?", "\nWello는 복지정책알림 통합 어플리케이션으로, 사용자에게 적합한 복지정책을 알려주는 서비스를 제공합니다. \n 주요 기능으로는 1) 프로필 정보 입력 2) 추천정책리스트 3) 정책 찜하기 4) 푸시알림 등이 있습니다.\n", "asdff"),
QnAItem("5. 프로필정보를 왜 수집하나요?", "\n수집한 사용자의 프로필정보는 보다 정확한 복지정책을 추천하기 위해 사용됩니다.\n", "asdff"),
QnAItem("6. 추천정책리스트는 어떤 서비스인가요?", "\n추천정책리스트를 통해 자신이 수혜 받을 수 있는 정책 정보를 한 눈에 확인할 수 있습니다.\n", "asdff"),
QnAItem("7. 푸시 알림설정/해제는 어떻게 하나요?", "\n아래 메뉴를 통해 푸시 알림설정/해제를 할 수 있습니다.\n" +
"\n" +
"홈 화면 오른쪽 하단의 \n" +
"내 정보> 설정> 푸시 알림> 찜한 목록 소식받기에서 설정/해제 가능합니다.\n", "asdff"),
QnAItem("8. 푸시 알림은 어떤 내용인가요?", "\n‘사용자의 찜한 목록에 있는 정책의 마감일’과 ‘새로 업데이트된 정책’에 대한 내용이 알림으로 가게 됩니다.\n", "asdff"),
QnAItem("9. 푸시 알림은 언제 받을 수 있나요?", "\n푸시 알림은 3일에 한 번씩, 9:00~18:00 사이에 보내드립니다.\n", "asdff"),
QnAItem("10. 정책 찜하기는 어떤 기능인가요?", "\n마감일을 확인하고 싶은 정책, 좀 더 관심이 가는 정책 등 사용자가 한 번 더 확인하고 싶은 정책을 체크해두는 기능입니다.\n", "asdff"),
QnAItem("11. 민간 복지서비스 등록은 어떻게 하나요?", "\n현재 서비스 준비 중에 있습니다.\n", "adffff"))
override fun onCreateViewHolder(parent: ViewGroup, p1: Int) = MainViewHolder(parent)
override fun getItemCount(): Int = items.size
override fun onBindViewHolder(holer: MainViewHolder, position: Int) {
items[position].let { item ->
with(holer) {
tvTitle.text = item.answer
tvContent.text = item.question
tvSecond.setOnClickListener{
tvTitle.setVisibility(View.GONE)
}
/* if (item.arrow != "") {
val resourceId = context.resources.getIdentifier(dog.photo, "drawable", context.packageName)
tvSecond?.setImageResource(resourceId)
} else {
tvSecond?.setImageResource(R.mipmap.ic_launcher)
}*/
}
}
}
inner class MainViewHolder(parent: ViewGroup) : RecyclerView.ViewHolder(
LayoutInflater.from(parent.context).inflate(R.layout.qna_rv_item, parent, false)) {
val tvTitle = itemView.answerText
val tvContent = itemView.questionText
val tvSecond = itemView.bottomArrow
}
}
\ No newline at end of file
package com.example.vip
class QnAItem (val question: String, val answer: String, val arrow: String)
\ No newline at end of file
package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import kotlinx.android.synthetic.main.activity_questions.*
var QnAList = arrayListOf<QnAItem>()
class QuestionsActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_questions)
qna_rv.adapter = QnAAdapter()
qna_rv.layoutManager = LinearLayoutManager(this)
}
}
package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_settings_in_form.*
class SettingsInForm : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_settings_in_form)
info_push.setOnClickListener {
var intent = Intent(this, PushInfoActivity::class.java)
startActivity(intent)
// 설정 눌렀을 때
}
terms_of_use.setOnClickListener{
var intent = Intent(this, TermsOfUserActivity::class.java)
startActivity(intent)
}
}
}
This diff is collapsed. Click to expand it.
package com.example.vip
import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_terms_of_use.*
class TermsOfUserActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_terms_of_use)
terms_use.setOnClickListener{
var intent = Intent(this, TermsDetailActivity::class.java)
startActivity(intent)
}
terms_use2.setOnClickListener {
var intent = Intent(this, PrivacyPolicyActivity::class.java)
startActivity(intent)
}
}
}
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
</item>
</layer-list>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
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"
android:strokeWidth="1"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
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"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
</item>
</layer-list>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
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"
android:strokeWidth="1"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
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"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
</item>
</layer-list>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
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"
android:strokeWidth="1"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
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"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 배경 -->
<item
android:drawable="@color/colorPrimary"/>
<!-- 로고 -->
<item>
<bitmap
android:gravity="center"
android:src="@drawable/splash_main"/>
</item>
</layer-list>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillType="evenOdd"
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"
android:strokeWidth="1"
android:strokeColor="#00000000">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
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"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.