diff --git a/app/src/main/java/umc/com/mobile/project/ui/login/LoginActivity.kt b/app/src/main/java/umc/com/mobile/project/ui/login/LoginActivity.kt index af747c2..469bdba 100644 --- a/app/src/main/java/umc/com/mobile/project/ui/login/LoginActivity.kt +++ b/app/src/main/java/umc/com/mobile/project/ui/login/LoginActivity.kt @@ -4,6 +4,7 @@ import android.content.Intent import android.os.Bundle import android.os.Handler import android.view.KeyEvent +import android.view.WindowManager import android.view.inputmethod.EditorInfo import android.view.inputmethod.InputMethodManager import androidx.activity.viewModels @@ -75,6 +76,7 @@ class LoginActivity : AppCompatActivity() { dialogBuilder.setView(customView) val dialog = dialogBuilder.create() + dialog.show() Handler().postDelayed({ diff --git a/app/src/main/res/drawable/bg_dialog_black_47.xml b/app/src/main/res/drawable/bg_dialog_black_47.xml index 99e69c8..5239fa8 100644 --- a/app/src/main/res/drawable/bg_dialog_black_47.xml +++ b/app/src/main/res/drawable/bg_dialog_black_47.xml @@ -2,5 +2,5 @@ - + diff --git a/app/src/main/res/layout/custom_dialog_logout.xml b/app/src/main/res/layout/custom_dialog_logout.xml index dc50658..6aa4a40 100644 --- a/app/src/main/res/layout/custom_dialog_logout.xml +++ b/app/src/main/res/layout/custom_dialog_logout.xml @@ -1,48 +1,61 @@ - + android:background="@null"> - - - + android:layout_marginStart="38dp" + android:layout_marginEnd="38dp" + android:background="@drawable/bg_solid_white_radius_20" + android:orientation="vertical" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> - + android:gravity="center" + android:padding="21dp" + android:text="포어그래드에서\n로그아웃 하시겠습니까?" + android:textColor="@android:color/black" /> - + + android:gravity="center" + android:orientation="vertical"> + + + + + - + diff --git a/app/src/main/res/layout/custom_dialog_logout_home.xml b/app/src/main/res/layout/custom_dialog_logout_home.xml index d366648..967bb12 100644 --- a/app/src/main/res/layout/custom_dialog_logout_home.xml +++ b/app/src/main/res/layout/custom_dialog_logout_home.xml @@ -1,26 +1,30 @@ - + android:backgroundTint="@null"> - + app:layout_constraintTop_toTopOf="parent"> + +