Skip to content

Commit

Permalink
[FEAT] #276 코스 제목 입력 후 키보드 내리기
Browse files Browse the repository at this point in the history
  • Loading branch information
unam98 committed Nov 9, 2023
1 parent 66c20f1 commit b75987b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.runnect.runnect.presentation.draw

import android.content.Context
import android.content.Intent
import android.graphics.Bitmap
import android.graphics.Color
Expand All @@ -11,6 +12,7 @@ import android.view.View
import android.view.ViewGroup
import android.view.animation.Animation
import android.view.animation.AnimationUtils
import android.view.inputmethod.InputMethodManager
import android.widget.Toast
import androidx.activity.viewModels
import androidx.core.content.FileProvider
Expand Down Expand Up @@ -311,6 +313,9 @@ class DrawActivity :
}

btnCreateCourse.setOnClickListener {
val imm = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
imm.hideSoftInputFromWindow(etCourseName.windowToken, 0)

createMbr()
}

Expand Down

0 comments on commit b75987b

Please sign in to comment.