diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aa724b7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/.name b/.idea/.name
new file mode 100644
index 0000000..b3405b3
--- /dev/null
+++ b/.idea/.name
@@ -0,0 +1 @@
+My Application
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..fb7f4a8
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml
new file mode 100644
index 0000000..a0aa5bf
--- /dev/null
+++ b/.idea/deploymentTargetDropDown.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..526b4c2
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..61251ca
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
deleted file mode 100644
index 3830171..0000000
--- a/README.md
+++ /dev/null
@@ -1,2 +0,0 @@
-# Android-Hyebin
-
diff --git a/app/.gitignore b/app/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/app/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/app/build.gradle b/app/build.gradle
new file mode 100644
index 0000000..97a5f55
--- /dev/null
+++ b/app/build.gradle
@@ -0,0 +1,53 @@
+plugins {
+ id 'com.android.application'
+ id 'kotlin-android'
+}
+
+android {
+ compileSdk 30
+
+ defaultConfig {
+ applicationId "com.example.myapplication"
+ minSdk 26
+ targetSdk 30
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ buildFeatures {
+ viewBinding true
+ }
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+ kotlinOptions {
+ jvmTarget = '1.8'
+ }
+}
+
+dependencies {
+ implementation "com.squareup.retrofit2:retrofit:2.9.0"
+ implementation "com.squareup.retrofit2:converter-gson:2.9.0"
+ implementation "com.google.code.gson:gson:2.8.6"
+
+ implementation 'androidx.core:core-ktx:1.6.0'
+ implementation 'androidx.appcompat:appcompat:1.3.1'
+ implementation 'com.google.android.material:material:1.4.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'com.github.bumptech.glide:glide:4.12.0'
+ testImplementation 'junit:junit:4.+'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.3'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
+ annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
+}
\ No newline at end of file
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt b/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..e9283cf
--- /dev/null
+++ b/app/src/androidTest/java/com/example/myapplication/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package com.example.myapplication
+
+import androidx.test.platform.app.InstrumentationRegistry
+import androidx.test.ext.junit.runners.AndroidJUnit4
+
+import org.junit.Test
+import org.junit.runner.RunWith
+
+import org.junit.Assert.*
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+@RunWith(AndroidJUnit4::class)
+class ExampleInstrumentedTest {
+ @Test
+ fun useAppContext() {
+ // Context of the app under test.
+ val appContext = InstrumentationRegistry.getInstrumentation().targetContext
+ assertEquals("com.example.myapplication", appContext.packageName)
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..69d0663
--- /dev/null
+++ b/app/src/main/AndroidManifest.xml
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/CameraFragment.kt b/app/src/main/java/com/example/myapplication/CameraFragment.kt
new file mode 100644
index 0000000..2f5682a
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/CameraFragment.kt
@@ -0,0 +1,59 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+
+// TODO: Rename parameter arguments, choose names that match
+// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
+private const val ARG_PARAM1 = "param1"
+private const val ARG_PARAM2 = "param2"
+
+/**
+ * A simple [Fragment] subclass.
+ * Use the [CameraFragment.newInstance] factory method to
+ * create an instance of this fragment.
+ */
+class CameraFragment : Fragment() {
+ // TODO: Rename and change types of parameters
+ private var param1: String? = null
+ private var param2: String? = null
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ arguments?.let {
+ param1 = it.getString(ARG_PARAM1)
+ param2 = it.getString(ARG_PARAM2)
+ }
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_camera, container, false)
+ }
+
+ companion object {
+ /**
+ * Use this factory method to create a new instance of
+ * this fragment using the provided parameters.
+ *
+ * @param param1 Parameter 1.
+ * @param param2 Parameter 2.
+ * @return A new instance of fragment CameraFragment.
+ */
+ // TODO: Rename and change types and number of parameters
+ @JvmStatic
+ fun newInstance(param1: String, param2: String) =
+ CameraFragment().apply {
+ arguments = Bundle().apply {
+ putString(ARG_PARAM1, param1)
+ putString(ARG_PARAM2, param2)
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/FollowerAdapter.kt b/app/src/main/java/com/example/myapplication/FollowerAdapter.kt
new file mode 100644
index 0000000..a433302
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/FollowerAdapter.kt
@@ -0,0 +1,37 @@
+package com.example.myapplication
+
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.recyclerview.widget.RecyclerView
+import com.bumptech.glide.Glide
+import com.bumptech.glide.request.RequestOptions
+import com.example.myapplication.databinding.ItemFollowerListBinding
+
+
+class FollowerAdapter : RecyclerView.Adapter() {
+ val userList = mutableListOf()
+
+ class FollowerViewHolder(private val binding : ItemFollowerListBinding) : RecyclerView.ViewHolder(binding.root){
+ fun onBind(data: FollowerData) {
+ binding.tvName.text = data.name
+ binding.tvIntroduction.text = data.introduction
+ Glide.with(itemView.context).load(data.photo)
+ .apply(RequestOptions.circleCropTransform())
+ .into(binding.ivProfile)
+ }
+ }
+
+ override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): FollowerViewHolder {
+ val binding = ItemFollowerListBinding.inflate(LayoutInflater.from(parent.context),parent,false)
+
+ return FollowerViewHolder(binding)
+ }
+
+ override fun onBindViewHolder(holder: FollowerViewHolder, position: Int) {
+ holder.onBind(userList[position])
+ }
+
+ override fun getItemCount(): Int = userList.size
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/FollowerData.kt b/app/src/main/java/com/example/myapplication/FollowerData.kt
new file mode 100644
index 0000000..c21244e
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/FollowerData.kt
@@ -0,0 +1,7 @@
+package com.example.myapplication
+
+data class FollowerData(
+ val name: String,
+ val introduction: String,
+ val photo : String
+)
diff --git a/app/src/main/java/com/example/myapplication/FollowerFragment.kt b/app/src/main/java/com/example/myapplication/FollowerFragment.kt
new file mode 100644
index 0000000..aa25a7b
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/FollowerFragment.kt
@@ -0,0 +1,45 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.bumptech.glide.Glide
+import com.bumptech.glide.request.RequestOptions
+import com.example.myapplication.databinding.FollowerFragmentBinding
+
+
+class FollowerFragment : Fragment() {
+ private lateinit var follwerAdapter: FollowerAdapter
+ private var _binding: FollowerFragmentBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ _binding = FollowerFragmentBinding.inflate(layoutInflater, container,false)
+
+
+ follwerAdapter = FollowerAdapter()
+ binding.rvFollower.adapter = follwerAdapter
+
+ follwerAdapter.userList.addAll(
+ listOf(
+ FollowerData("스폰지밥", "안녕하세요", "https://ww.namu.la/s/bd52223e4d1f11fcc4c7f6506bf3321b26579bf118db6c1ca20492b9af4228a414edd25f1006baace220e4ca771288e0f38d6cbf253ae4e9d39aaf4b881600b0d65e518e7d94891837ee9a0c6a723aac0f4d2b7bf4a65b36bd1fe636aa49c632"),
+ FollowerData("뚱이", "안녕하세요", "https://img.insight.co.kr/static/2020/08/12/700/fyzvinle3b068ce501hq.jpg"),
+ FollowerData("집게사장", "안녕하세요", "https://pbs.twimg.com/media/D8RITHlV4AAb1iG.jpg")
+ )
+ )
+ follwerAdapter.notifyDataSetChanged()
+ return binding.root
+ }
+
+ override fun onDestroy() {
+ super.onDestroy()
+ _binding = null
+ }
+
+}
+
diff --git a/app/src/main/java/com/example/myapplication/HomeActivity.kt b/app/src/main/java/com/example/myapplication/HomeActivity.kt
new file mode 100644
index 0000000..9697fff
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/HomeActivity.kt
@@ -0,0 +1,85 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import androidx.appcompat.app.AppCompatActivity
+import androidx.viewpager2.widget.ViewPager2
+import com.example.myapplication.databinding.ActivityHomeBinding
+
+
+class HomeActivity : AppCompatActivity() {
+ //private var postion = FIRST_POSITION
+ private lateinit var sampleViewPagerAdapter: sampleViewPagerAdapter
+ private lateinit var binding : ActivityHomeBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ binding = ActivityHomeBinding.inflate(layoutInflater)
+
+ //initTransactionEvent()
+ initAdapter()
+ initBottomNavigation()
+
+ setContentView(binding.root)
+
+ }
+
+// fun initTransactionEvent() {
+// val followerFragment = FollowerFragment()
+// val repositstoryFragment = RepositoryFragment()
+//
+// supportFragmentManager.beginTransaction().add(R.id.container_rv, followerFragment).commit()
+//
+// binding.btnFollower.setOnClickListener {
+// supportFragmentManager.beginTransaction().replace(R.id.container_rv, followerFragment) .commit()
+// }
+//
+// binding.btnRepository.setOnClickListener {
+// supportFragmentManager.beginTransaction().replace(R.id.container_rv, repositstoryFragment) .commit()
+// }
+// }
+
+ private fun initAdapter() {
+ val fragmentList = listOf(ProfileFragment(), HomeFragment(), CameraFragment())
+
+ sampleViewPagerAdapter = sampleViewPagerAdapter(this)
+ sampleViewPagerAdapter.fragments.addAll(fragmentList)
+
+ binding.vpSample.adapter = sampleViewPagerAdapter
+ }
+
+
+ private fun initBottomNavigation() {
+ binding.vpSample.registerOnPageChangeCallback(object : ViewPager2.OnPageChangeCallback() {
+ override fun onPageSelected(position: Int) {
+ binding.bottomNavigationView.menu.getItem(position).isChecked = true
+ }
+ })
+
+ binding.bottomNavigationView.setOnItemSelectedListener {
+ when(it.itemId) {
+ R.id.menu_profile -> {
+ binding.vpSample.currentItem = FIRST_FRAGMENT
+ return@setOnItemSelectedListener true
+
+ }
+ R.id.menu_home -> {
+ binding.vpSample.currentItem = SECOND_FRAGMENT
+ return@setOnItemSelectedListener true
+ }
+ else -> {
+ binding.vpSample.currentItem = THIRD_FRAGMENT
+ return@setOnItemSelectedListener true
+ }
+ }
+ }
+ }
+
+ companion object {
+ const val FIRST_FRAGMENT = 0
+ const val SECOND_FRAGMENT = 1
+ const val THIRD_FRAGMENT = 2
+ }
+
+
+}
+
diff --git a/app/src/main/java/com/example/myapplication/HomeFragment.kt b/app/src/main/java/com/example/myapplication/HomeFragment.kt
new file mode 100644
index 0000000..7b5ba5a
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/HomeFragment.kt
@@ -0,0 +1,49 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.MotionEvent
+import android.view.View
+import android.view.ViewGroup
+import androidx.viewpager2.widget.ViewPager2
+import com.example.myapplication.databinding.FragmentHomeBinding
+import com.google.android.material.bottomsheet.BottomSheetBehavior
+import com.google.android.material.tabs.TabLayout
+import com.google.android.material.tabs.TabLayoutMediator
+import androidx.recyclerview.widget.RecyclerView
+
+class HomeFragment : Fragment() {
+ private lateinit var homeTabViewPagerAdapter: HomeTabViewPagerAdapter
+ private lateinit var binding: FragmentHomeBinding
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ binding = FragmentHomeBinding.inflate(layoutInflater)
+
+
+ initAdapter()
+ initTabLayout()
+
+ return binding.root
+ }
+
+ private fun initAdapter() {
+ val fragmentList = listOf(home_follower_Fragment(), home_following_Fragment())
+
+ homeTabViewPagerAdapter = HomeTabViewPagerAdapter(this)
+ homeTabViewPagerAdapter.fragmentList.addAll(fragmentList)
+
+ binding.vpFollow.adapter = homeTabViewPagerAdapter
+ }
+
+ private fun initTabLayout() {
+ val tabLabel = listOf("팔로잉", "팔로워")
+
+ TabLayoutMediator(binding.tlFollow, binding.vpFollow) { tab, position ->
+ tab.text = tabLabel[position]
+ }.attach()
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/HomeTabViewPagerAdapter.kt b/app/src/main/java/com/example/myapplication/HomeTabViewPagerAdapter.kt
new file mode 100644
index 0000000..9bef143
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/HomeTabViewPagerAdapter.kt
@@ -0,0 +1,11 @@
+package com.example.myapplication
+
+import androidx.fragment.app.Fragment
+import androidx.viewpager2.adapter.FragmentStateAdapter
+
+class HomeTabViewPagerAdapter(fragment: Fragment) : FragmentStateAdapter(fragment) {
+ val fragmentList = mutableListOf()
+ override fun getItemCount(): Int = fragmentList.size
+
+ override fun createFragment(position: Int): Fragment = fragmentList[position]
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/ProfileFragment.kt b/app/src/main/java/com/example/myapplication/ProfileFragment.kt
new file mode 100644
index 0000000..bcc0984
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/ProfileFragment.kt
@@ -0,0 +1,60 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import com.bumptech.glide.Glide
+import com.bumptech.glide.request.RequestOptions
+import com.example.myapplication.databinding.FragmentProfileBinding
+
+
+class ProfileFragment : Fragment() {
+ private lateinit var ProfileFragment: FragmentProfileBinding
+ private var _binding: FragmentProfileBinding? = null
+ private val binding get() = _binding!!
+
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ _binding = FragmentProfileBinding.inflate(layoutInflater, container, false)
+
+ initTransactionEvent()
+ Glide.with(this)
+ .load("https://mblogthumb-phinf.pstatic.net/MjAxOTA0MjNfMjcy/MDAxNTU2MDIwNjg0ODMw.KwUiIDMhdpKzsuNX83GpdFljS1HjgNhCBNcXv2QXfxkg.ksHQVjDUTn8AMV4XVSfETLX-tZ1LTz9-bOmO0o7AtI8g.JPEG.ndh7782/%EC%B9%98%EC%A6%8801.JPG?type=w800")
+ .apply(RequestOptions.circleCropTransform())
+ .into(binding.ivProfile)
+
+ binding.btnFollower.isSelected = true;
+
+ return binding.root
+ }
+
+ fun initTransactionEvent() {
+ val followerFragment = FollowerFragment()
+ val repositstoryFragment = RepositoryFragment()
+
+ getActivity()?.getSupportFragmentManager()
+
+ getActivity()?.supportFragmentManager?.beginTransaction()
+ ?.add(R.id.container_rv, followerFragment)?.commit()
+
+ binding.btnFollower.setOnClickListener {
+ getActivity()?.supportFragmentManager?.beginTransaction()
+ ?.replace(R.id.container_rv, followerFragment)?.commit()
+ binding.btnFollower.isSelected = true;
+ binding.btnRepository.isSelected = false;
+ }
+
+ binding.btnRepository.setOnClickListener {
+ getActivity()?.supportFragmentManager?.beginTransaction()
+ ?.replace(R.id.container_rv, repositstoryFragment)?.commit()
+ binding.btnRepository.isSelected = true;
+ binding.btnFollower.isSelected = false;
+ }
+ }
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/RepositoryAdapter.kt b/app/src/main/java/com/example/myapplication/RepositoryAdapter.kt
new file mode 100644
index 0000000..b8619a4
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/RepositoryAdapter.kt
@@ -0,0 +1,30 @@
+package com.example.myapplication
+
+import android.view.LayoutInflater
+import android.view.ViewGroup
+import androidx.recyclerview.widget.RecyclerView
+import com.example.myapplication.databinding.ItemFollowerListBinding
+import com.example.myapplication.databinding.ItemRepositoryListBinding
+
+class RepositoryAdapter : RecyclerView.Adapter() {
+ val repositoryList = mutableListOf()
+
+ class RepositoryViewHolder(private val binding : ItemRepositoryListBinding) : RecyclerView.ViewHolder(binding.root){
+ fun onBind(data: RepositoryData) {
+ binding.tvTitle.text = data.title
+ binding.tvContent.text = data.content
+ }
+ }
+
+ override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RepositoryViewHolder {
+ val binding = ItemRepositoryListBinding.inflate(LayoutInflater.from(parent.context),parent,false)
+
+ return RepositoryViewHolder(binding)
+ }
+
+ override fun onBindViewHolder(holder: RepositoryViewHolder, position: Int) {
+ holder.onBind(repositoryList[position])
+ }
+
+ override fun getItemCount(): Int = repositoryList.size
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/RepositoryData.kt b/app/src/main/java/com/example/myapplication/RepositoryData.kt
new file mode 100644
index 0000000..8b99d22
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/RepositoryData.kt
@@ -0,0 +1,6 @@
+package com.example.myapplication
+
+data class RepositoryData(
+ val title: String,
+ val content: String
+)
diff --git a/app/src/main/java/com/example/myapplication/RepositoryFragment.kt b/app/src/main/java/com/example/myapplication/RepositoryFragment.kt
new file mode 100644
index 0000000..26bddcb
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/RepositoryFragment.kt
@@ -0,0 +1,44 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.Fragment
+import androidx.recyclerview.widget.RecyclerView
+import com.example.myapplication.databinding.FollowerFragmentBinding
+import com.example.myapplication.databinding.RepositoryFragmentBinding
+
+class RepositoryFragment : Fragment() {
+ private lateinit var repositoryAdapter: RepositoryAdapter
+ private var _binding: RepositoryFragmentBinding? = null
+ private val binding get() = _binding!!
+
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ _binding = RepositoryFragmentBinding.inflate(layoutInflater, container,false)
+
+ repositoryAdapter = RepositoryAdapter()
+ binding.rvRepository.adapter = repositoryAdapter
+
+ repositoryAdapter.repositoryList.addAll(
+ listOf(
+ RepositoryData("안드로이드레파지토리", "안녕하세요안녕하세요안녕하세요"),
+ RepositoryData("안드로이드레파지토리1", "안녕하세요"),
+ RepositoryData("안드로이드레파지토리2", "안녕하세요"),
+ RepositoryData("안드로이드레파지토리3", "안녕하세요")
+ )
+ )
+ repositoryAdapter.notifyDataSetChanged()
+
+ return binding.root
+ }
+
+ override fun onDestroy() {
+ super.onDestroy()
+ _binding = null
+ }
+}
diff --git a/app/src/main/java/com/example/myapplication/SignInActivity.kt b/app/src/main/java/com/example/myapplication/SignInActivity.kt
new file mode 100644
index 0000000..c3a9c78
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/SignInActivity.kt
@@ -0,0 +1,66 @@
+package com.example.myapplication
+
+import android.content.Intent
+import android.os.Bundle
+import android.widget.Toast
+import androidx.activity.result.ActivityResult
+import androidx.activity.result.ActivityResultLauncher
+import androidx.activity.result.contract.ActivityResultContracts
+import androidx.appcompat.app.AppCompatActivity
+import com.example.myapplication.databinding.ActivityMainBinding
+import retrofit2.Call
+import retrofit2.Callback
+
+class SignInActivity : AppCompatActivity() {
+ private lateinit var binding: ActivityMainBinding
+ private lateinit var getResultTextView: ActivityResultLauncher
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ binding = ActivityMainBinding.inflate(layoutInflater)
+ setContentView(binding.root)
+
+ pressLogInBtnEvent()
+ pressSignUpBtnEvent()
+ }
+
+ //로그인 버튼 눌렀을 때 이벤트
+ fun pressLogInBtnEvent() {
+ val intentHome = Intent(this, HomeActivity::class.java)
+ binding.apply {
+ btnLogin.setOnClickListener {
+ val userId = etId.text.toString()
+ val userPw = etPassword.text.toString()
+
+ if (userId.isNotEmpty() && userPw.isNotEmpty()) {
+ startActivity(intentHome)
+ Toast.makeText(this@SignInActivity, "$userId 님 환영합니다", Toast.LENGTH_SHORT)
+ .show()
+ } else {
+ Toast.makeText(this@SignInActivity, "로그인 실패", Toast.LENGTH_SHORT).show()
+ }
+ }
+ }
+
+ }
+
+ //회원가입 버튼 눌렀을 때 이벤트
+ fun pressSignUpBtnEvent() {
+ val startForResult = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result: ActivityResult -> }
+ binding.tvSignin.setOnClickListener {
+ startForResult.launch(Intent(this, SignUpActivity::class.java))
+ }
+
+ //id, pw 값 가지고 있을 경우 각 editText에 setText
+ if (intent.hasExtra("id") && intent.hasExtra("pw")) {
+ val id = intent.getStringExtra("id")
+ val pw = intent.getStringExtra("pw")
+
+ binding.etId.setText(id)
+ binding.etPassword.setText(pw)
+ }
+ }
+
+
+
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/SignUpActivity.kt b/app/src/main/java/com/example/myapplication/SignUpActivity.kt
new file mode 100644
index 0000000..eb0a684
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/SignUpActivity.kt
@@ -0,0 +1,45 @@
+package com.example.myapplication
+
+import android.content.Intent
+import android.os.Bundle
+import android.widget.Toast
+import androidx.appcompat.app.AppCompatActivity
+import com.example.myapplication.databinding.ActivitySignUpBinding
+
+
+class SignUpActivity : AppCompatActivity() {
+ private lateinit var binding: ActivitySignUpBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ binding = ActivitySignUpBinding.inflate(layoutInflater)
+ setContentView(binding.root)
+
+ pressSingUpBtnEvent()
+ }
+
+ //회원가입 완료 버튼 눌렀을 때 이벤트
+ fun pressSingUpBtnEvent() {
+ val intent = Intent(this, SignInActivity::class.java)
+ binding.apply {
+ btnSingup.setOnClickListener {
+ val userName = etName.text.toString()
+ val userId = etId.text.toString()
+ val userPw = etPassword.text.toString()
+
+
+ if (userName.isNotEmpty() && userId.isNotEmpty() && userPw.trim().isNotEmpty()) {
+ intent
+ .putExtra("id", userId)
+ .putExtra("pw", userPw)
+ startActivity(intent)
+ finish()
+
+ } else {
+ Toast.makeText(this@SignUpActivity, "입력되지 않은 정보가 있습니다", Toast.LENGTH_SHORT)
+ .show()
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/home_follower_Fragment.kt b/app/src/main/java/com/example/myapplication/home_follower_Fragment.kt
new file mode 100644
index 0000000..43a09a3
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/home_follower_Fragment.kt
@@ -0,0 +1,59 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+
+// TODO: Rename parameter arguments, choose names that match
+// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
+private const val ARG_PARAM1 = "param1"
+private const val ARG_PARAM2 = "param2"
+
+/**
+ * A simple [Fragment] subclass.
+ * Use the [home_follower_Fragment.newInstance] factory method to
+ * create an instance of this fragment.
+ */
+class home_follower_Fragment : Fragment() {
+ // TODO: Rename and change types of parameters
+ private var param1: String? = null
+ private var param2: String? = null
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ arguments?.let {
+ param1 = it.getString(ARG_PARAM1)
+ param2 = it.getString(ARG_PARAM2)
+ }
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_home_follower_, container, false)
+ }
+
+ companion object {
+ /**
+ * Use this factory method to create a new instance of
+ * this fragment using the provided parameters.
+ *
+ * @param param1 Parameter 1.
+ * @param param2 Parameter 2.
+ * @return A new instance of fragment home_follower_Fragment.
+ */
+ // TODO: Rename and change types and number of parameters
+ @JvmStatic
+ fun newInstance(param1: String, param2: String) =
+ home_follower_Fragment().apply {
+ arguments = Bundle().apply {
+ putString(ARG_PARAM1, param1)
+ putString(ARG_PARAM2, param2)
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/home_following_Fragment.kt b/app/src/main/java/com/example/myapplication/home_following_Fragment.kt
new file mode 100644
index 0000000..c2db65d
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/home_following_Fragment.kt
@@ -0,0 +1,59 @@
+package com.example.myapplication
+
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+
+// TODO: Rename parameter arguments, choose names that match
+// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
+private const val ARG_PARAM1 = "param1"
+private const val ARG_PARAM2 = "param2"
+
+/**
+ * A simple [Fragment] subclass.
+ * Use the [home_following_Fragment.newInstance] factory method to
+ * create an instance of this fragment.
+ */
+class home_following_Fragment : Fragment() {
+ // TODO: Rename and change types of parameters
+ private var param1: String? = null
+ private var param2: String? = null
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ arguments?.let {
+ param1 = it.getString(ARG_PARAM1)
+ param2 = it.getString(ARG_PARAM2)
+ }
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_home_following_, container, false)
+ }
+
+ companion object {
+ /**
+ * Use this factory method to create a new instance of
+ * this fragment using the provided parameters.
+ *
+ * @param param1 Parameter 1.
+ * @param param2 Parameter 2.
+ * @return A new instance of fragment home_following_Fragment.
+ */
+ // TODO: Rename and change types and number of parameters
+ @JvmStatic
+ fun newInstance(param1: String, param2: String) =
+ home_following_Fragment().apply {
+ arguments = Bundle().apply {
+ putString(ARG_PARAM1, param1)
+ putString(ARG_PARAM2, param2)
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/example/myapplication/sampleViewPagerAdapter.kt b/app/src/main/java/com/example/myapplication/sampleViewPagerAdapter.kt
new file mode 100644
index 0000000..b1f9db5
--- /dev/null
+++ b/app/src/main/java/com/example/myapplication/sampleViewPagerAdapter.kt
@@ -0,0 +1,13 @@
+package com.example.myapplication
+
+import androidx.fragment.app.Fragment
+import androidx.fragment.app.FragmentActivity
+import androidx.viewpager2.adapter.FragmentStateAdapter
+
+class sampleViewPagerAdapter(fragmentActivity: FragmentActivity) : FragmentStateAdapter(fragmentActivity) {
+ val fragments = mutableListOf()
+
+ override fun getItemCount(): Int = fragments.size
+
+ override fun createFragment(position: Int): Fragment = fragments[position]
+}
\ No newline at end of file
diff --git a/app/src/main/res/color/selector_text_color.xml b/app/src/main/res/color/selector_text_color.xml
new file mode 100644
index 0000000..309157d
--- /dev/null
+++ b/app/src/main/res/color/selector_text_color.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable-v24/android_logo.png b/app/src/main/res/drawable-v24/android_logo.png
new file mode 100644
index 0000000..fa3d262
Binary files /dev/null and b/app/src/main/res/drawable-v24/android_logo.png differ
diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable-v24/img_github.png b/app/src/main/res/drawable-v24/img_github.png
new file mode 100644
index 0000000..6fc89b1
Binary files /dev/null and b/app/src/main/res/drawable-v24/img_github.png differ
diff --git a/app/src/main/res/drawable/btn_fill_gray.xml b/app/src/main/res/drawable/btn_fill_gray.xml
new file mode 100644
index 0000000..b3efe57
--- /dev/null
+++ b/app/src/main/res/drawable/btn_fill_gray.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/btn_fill_orange.xml b/app/src/main/res/drawable/btn_fill_orange.xml
new file mode 100644
index 0000000..33d20e5
--- /dev/null
+++ b/app/src/main/res/drawable/btn_fill_orange.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/btn_fill_pink.xml b/app/src/main/res/drawable/btn_fill_pink.xml
new file mode 100644
index 0000000..f581d98
--- /dev/null
+++ b/app/src/main/res/drawable/btn_fill_pink.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
diff --git a/app/src/main/res/drawable/btn_fill_white.xml b/app/src/main/res/drawable/btn_fill_white.xml
new file mode 100644
index 0000000..e52533b
--- /dev/null
+++ b/app/src/main/res/drawable/btn_fill_white.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/et_border_pink.xml b/app/src/main/res/drawable/et_border_pink.xml
new file mode 100644
index 0000000..624202d
--- /dev/null
+++ b/app/src/main/res/drawable/et_border_pink.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/et_fill_gray.xml b/app/src/main/res/drawable/et_fill_gray.xml
new file mode 100644
index 0000000..0de0bd2
--- /dev/null
+++ b/app/src/main/res/drawable/et_fill_gray.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_camera_gray.xml b/app/src/main/res/drawable/ic_camera_gray.xml
new file mode 100644
index 0000000..47303d8
--- /dev/null
+++ b/app/src/main/res/drawable/ic_camera_gray.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_camera_pink.xml b/app/src/main/res/drawable/ic_camera_pink.xml
new file mode 100644
index 0000000..a3c9e85
--- /dev/null
+++ b/app/src/main/res/drawable/ic_camera_pink.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_home_gray.xml b/app/src/main/res/drawable/ic_home_gray.xml
new file mode 100644
index 0000000..fd99695
--- /dev/null
+++ b/app/src/main/res/drawable/ic_home_gray.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_home_pink.xml b/app/src/main/res/drawable/ic_home_pink.xml
new file mode 100644
index 0000000..e0add2b
--- /dev/null
+++ b/app/src/main/res/drawable/ic_home_pink.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_img_github.xml b/app/src/main/res/drawable/ic_img_github.xml
new file mode 100644
index 0000000..94716c1
--- /dev/null
+++ b/app/src/main/res/drawable/ic_img_github.xml
@@ -0,0 +1,8 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/drawable/ic_person_gray.xml b/app/src/main/res/drawable/ic_person_gray.xml
new file mode 100644
index 0000000..fb785ee
--- /dev/null
+++ b/app/src/main/res/drawable/ic_person_gray.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/ic_person_pink.xml b/app/src/main/res/drawable/ic_person_pink.xml
new file mode 100644
index 0000000..d372549
--- /dev/null
+++ b/app/src/main/res/drawable/ic_person_pink.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/drawable/line_pink.xml b/app/src/main/res/drawable/line_pink.xml
new file mode 100644
index 0000000..381b0dd
--- /dev/null
+++ b/app/src/main/res/drawable/line_pink.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/selector_btn_orange.xml b/app/src/main/res/drawable/selector_btn_orange.xml
new file mode 100644
index 0000000..c9ddf5d
--- /dev/null
+++ b/app/src/main/res/drawable/selector_btn_orange.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/selector_icon.xml b/app/src/main/res/drawable/selector_icon.xml
new file mode 100644
index 0000000..231c5a2
--- /dev/null
+++ b/app/src/main/res/drawable/selector_icon.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/drawable/selector_tf_gray.xml b/app/src/main/res/drawable/selector_tf_gray.xml
new file mode 100644
index 0000000..e6dae88
--- /dev/null
+++ b/app/src/main/res/drawable/selector_tf_gray.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/font/noto_sans_kr.xml b/app/src/main/res/font/noto_sans_kr.xml
new file mode 100644
index 0000000..2ba8dda
--- /dev/null
+++ b/app/src/main/res/font/noto_sans_kr.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/font/noto_sans_kr_black.otf b/app/src/main/res/font/noto_sans_kr_black.otf
new file mode 100644
index 0000000..0cfa4bb
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_black.otf differ
diff --git a/app/src/main/res/font/noto_sans_kr_bold.otf b/app/src/main/res/font/noto_sans_kr_bold.otf
new file mode 100644
index 0000000..7f4131c
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_bold.otf differ
diff --git a/app/src/main/res/font/noto_sans_kr_light.otf b/app/src/main/res/font/noto_sans_kr_light.otf
new file mode 100644
index 0000000..03f948c
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_light.otf differ
diff --git a/app/src/main/res/font/noto_sans_kr_medium.otf b/app/src/main/res/font/noto_sans_kr_medium.otf
new file mode 100644
index 0000000..d8cacce
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_medium.otf differ
diff --git a/app/src/main/res/font/noto_sans_kr_regular.otf b/app/src/main/res/font/noto_sans_kr_regular.otf
new file mode 100644
index 0000000..e26c1cd
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_regular.otf differ
diff --git a/app/src/main/res/font/noto_sans_kr_thin.otf b/app/src/main/res/font/noto_sans_kr_thin.otf
new file mode 100644
index 0000000..6bc00c4
Binary files /dev/null and b/app/src/main/res/font/noto_sans_kr_thin.otf differ
diff --git a/app/src/main/res/layout/activity_home.xml b/app/src/main/res/layout/activity_home.xml
new file mode 100644
index 0000000..6cfcfa4
--- /dev/null
+++ b/app/src/main/res/layout/activity_home.xml
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..df8195a
--- /dev/null
+++ b/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/activity_sign_up.xml b/app/src/main/res/layout/activity_sign_up.xml
new file mode 100644
index 0000000..689e370
--- /dev/null
+++ b/app/src/main/res/layout/activity_sign_up.xml
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/follower_fragment.xml b/app/src/main/res/layout/follower_fragment.xml
new file mode 100644
index 0000000..456a9b9
--- /dev/null
+++ b/app/src/main/res/layout/follower_fragment.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_camera.xml b/app/src/main/res/layout/fragment_camera.xml
new file mode 100644
index 0000000..c7b7850
--- /dev/null
+++ b/app/src/main/res/layout/fragment_camera.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml
new file mode 100644
index 0000000..677bf5a
--- /dev/null
+++ b/app/src/main/res/layout/fragment_home.xml
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_home_follower_.xml b/app/src/main/res/layout/fragment_home_follower_.xml
new file mode 100644
index 0000000..8645536
--- /dev/null
+++ b/app/src/main/res/layout/fragment_home_follower_.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_home_following_.xml b/app/src/main/res/layout/fragment_home_following_.xml
new file mode 100644
index 0000000..59bd790
--- /dev/null
+++ b/app/src/main/res/layout/fragment_home_following_.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_profile.xml b/app/src/main/res/layout/fragment_profile.xml
new file mode 100644
index 0000000..140f047
--- /dev/null
+++ b/app/src/main/res/layout/fragment_profile.xml
@@ -0,0 +1,132 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/item_follower_list.xml b/app/src/main/res/layout/item_follower_list.xml
new file mode 100644
index 0000000..858a55e
--- /dev/null
+++ b/app/src/main/res/layout/item_follower_list.xml
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/item_repository_list.xml b/app/src/main/res/layout/item_repository_list.xml
new file mode 100644
index 0000000..5112b15
--- /dev/null
+++ b/app/src/main/res/layout/item_repository_list.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/repository_fragment.xml b/app/src/main/res/layout/repository_fragment.xml
new file mode 100644
index 0000000..68419c4
--- /dev/null
+++ b/app/src/main/res/layout/repository_fragment.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/menu/menu_bottom.xml b/app/src/main/res/menu/menu_bottom.xml
new file mode 100644
index 0000000..cade146
--- /dev/null
+++ b/app/src/main/res/menu/menu_bottom.xml
@@ -0,0 +1,18 @@
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.webp b/app/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 0000000..c209e78
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..b2dfe3d
Binary files /dev/null and b/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.webp b/app/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 0000000..4f0f1d6
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..62b611d
Binary files /dev/null and b/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 0000000..948a307
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..1b9a695
Binary files /dev/null and b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..28d4b77
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9287f50
Binary files /dev/null and b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..aa7d642
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9126ae3
Binary files /dev/null and b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
new file mode 100644
index 0000000..a252757
--- /dev/null
+++ b/app/src/main/res/values-night/themes.xml
@@ -0,0 +1,17 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..631c9fa
--- /dev/null
+++ b/app/src/main/res/values/colors.xml
@@ -0,0 +1,14 @@
+
+
+ #FFBB86FC
+ #FF6200EE
+ #FF3700B3
+ #FF03DAC5
+ #FF018786
+ #FF000000
+ #FFFFFFFF
+ #F658A6
+ #C1C1C1
+ #333333
+ #ACB5BD
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..4cacd0f
--- /dev/null
+++ b/app/src/main/res/values/strings.xml
@@ -0,0 +1,5 @@
+
+ My Application
+
+ Hello blank fragment
+
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
new file mode 100644
index 0000000..bfe4636
--- /dev/null
+++ b/app/src/main/res/values/themes.xml
@@ -0,0 +1,17 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/src/test/java/com/example/myapplication/ExampleUnitTest.kt b/app/src/test/java/com/example/myapplication/ExampleUnitTest.kt
new file mode 100644
index 0000000..e500fb8
--- /dev/null
+++ b/app/src/test/java/com/example/myapplication/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package com.example.myapplication
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..59a783a
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,18 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+buildscript {
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ classpath "com.android.tools.build:gradle:7.0.2"
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 0000000..98bed16
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app"s APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..e708b1c
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..fa216f8
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Wed Oct 06 17:17:17 KST 2021
+distributionBase=GRADLE_USER_HOME
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
+distributionPath=wrapper/dists
+zipStorePath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
diff --git a/gradlew b/gradlew
new file mode 100644
index 0000000..4f906e0
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,185 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin or MSYS, switch paths to Windows format before running java
+if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=`expr $i + 1`
+ done
+ case $i in
+ 0) set -- ;;
+ 1) set -- "$args0" ;;
+ 2) set -- "$args0" "$args1" ;;
+ 3) set -- "$args0" "$args1" "$args2" ;;
+ 4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=`save "$@"`
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..107acd3
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,89 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem https://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Resolve any "." and ".." in APP_HOME to make it shorter.
+for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto execute
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..8e17230
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,9 @@
+dependencyResolutionManagement {
+ repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+rootProject.name = "My Application"
+include ':app'