From d7f09cc59fdc40cfdeb7a24b999450dc4e4fab4f Mon Sep 17 00:00:00 2001 From: winter223 Date: Wed, 13 Apr 2022 19:11:07 +0900 Subject: [PATCH] =?UTF-8?q?[#30]=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - UI 작업 --- app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 3 ++ .../moyeorun_android/login/LoginActivity.kt | 17 ++++++++ .../main/res/drawable/login_google_logo.xml | 18 ++++++++ app/src/main/res/drawable/login_logo.xml | 42 +++++++++++++++++++ app/src/main/res/layout/activity_login.xml | 35 ++++++++++++++++ app/src/main/res/values/colors.xml | 1 + app/src/main/res/values/strings.xml | 3 ++ 8 files changed, 120 insertions(+) create mode 100644 app/src/main/java/com/moyerun/moyeorun_android/login/LoginActivity.kt create mode 100644 app/src/main/res/drawable/login_google_logo.xml create mode 100644 app/src/main/res/drawable/login_logo.xml create mode 100644 app/src/main/res/layout/activity_login.xml diff --git a/app/build.gradle b/app/build.gradle index b5f1df4..e885eee 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -65,6 +65,7 @@ android { kotlinOptions { jvmTarget = '1.8' } + buildFeatures { viewBinding true } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 19ebc43..6faa503 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,6 +12,9 @@ android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.MoyeoRunandroid"> + diff --git a/app/src/main/java/com/moyerun/moyeorun_android/login/LoginActivity.kt b/app/src/main/java/com/moyerun/moyeorun_android/login/LoginActivity.kt new file mode 100644 index 0000000..26df5b8 --- /dev/null +++ b/app/src/main/java/com/moyerun/moyeorun_android/login/LoginActivity.kt @@ -0,0 +1,17 @@ +package com.moyerun.moyeorun_android.login + +import androidx.appcompat.app.AppCompatActivity +import android.os.Bundle +import com.moyerun.moyeorun_android.databinding.ActivityLoginBinding + +class LoginActivity : AppCompatActivity() { + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + val binding = ActivityLoginBinding.inflate(layoutInflater) + setContentView(binding.root) + + binding.buttonLoginGoogle.setOnClickListener { + //Todo: 구글 로그인 작업 @winter223 + } + } +} \ No newline at end of file diff --git a/app/src/main/res/drawable/login_google_logo.xml b/app/src/main/res/drawable/login_google_logo.xml new file mode 100644 index 0000000..5051ec3 --- /dev/null +++ b/app/src/main/res/drawable/login_google_logo.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/app/src/main/res/drawable/login_logo.xml b/app/src/main/res/drawable/login_logo.xml new file mode 100644 index 0000000..f901f5d --- /dev/null +++ b/app/src/main/res/drawable/login_logo.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml new file mode 100644 index 0000000..615a8aa --- /dev/null +++ b/app/src/main/res/layout/activity_login.xml @@ -0,0 +1,35 @@ + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index ab23f44..64dc310 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -14,6 +14,7 @@ #333333 #828282 #A9A9A9 + #686868 #EBECEF diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 09e4982..bc81fd2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -5,4 +5,7 @@ 취소 확인 + + 시작하기 + 구글 계정으로 로그인 \ No newline at end of file