diff --git a/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpActivity.kt b/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpActivity.kt index ec7396d..3d84f6c 100644 --- a/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpActivity.kt +++ b/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpActivity.kt @@ -84,8 +84,8 @@ class SignUpActivity : BindingActivity(R.layout.activity_ } private fun setKeyboardHeight() { - keyboardVisibilityUtils = KeyboardVisibilityUtils(window, - onShowKeyboard = { keyboardHeight -> + keyboardVisibilityUtils = + KeyboardVisibilityUtils(window, onShowKeyboard = { keyboardHeight -> binding.svSignUp.run { smoothScrollTo(scrollX, scrollY + keyboardHeight) } diff --git a/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpViewModel.kt b/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpViewModel.kt index 33c2f62..bb02bf6 100644 --- a/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpViewModel.kt +++ b/app/src/main/java/org/android/go/sopt/presentation/auth/SignUpViewModel.kt @@ -11,7 +11,6 @@ import org.android.go.sopt.module.AuthServicePool import retrofit2.Call import retrofit2.Callback import retrofit2.Response -import timber.log.Timber import java.util.regex.Pattern class SignUpViewModel : ViewModel() { @@ -70,7 +69,7 @@ class SignUpViewModel : ViewModel() { fun setButtonState() { buttonVaild.value = (isIdValid.value == true && isPwValid.value == true && idText.value!!.isNotBlank() && pwText.value!!.isNotBlank()) - Log.d("qqqq","${buttonVaild}") + Log.d("qqqq", "${buttonVaild}") } companion object { diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml index 4780142..41c6c68 100644 --- a/app/src/main/res/layout/activity_login.xml +++ b/app/src/main/res/layout/activity_login.xml @@ -34,21 +34,28 @@ android:textSize="25sp" android:textStyle="bold" app:layout_constraintStart_toStartOf="@id/tv_login_title" - app:layout_constraintBottom_toTopOf="@id/et_login_id"/> + app:layout_constraintBottom_toTopOf="@id/layout_login_id"/> - + app:layout_constraintBottom_toTopOf="@id/tv_login_pw"> + + + + + app:layout_constraintStart_toStartOf="@id/tv_login_title" + app:layout_constraintBottom_toTopOf="@id/layout_login_pw"/> - + app:layout_constraintBottom_toTopOf="@id/btn_login"> + + + +