라이브 만들기

- 메뉴 등록 edittext 스크롤 적용
This commit is contained in:
klaus 2024-03-08 23:04:54 +09:00
parent a75821ed06
commit c653563512
2 changed files with 10 additions and 2 deletions

View File

@ -40,8 +40,8 @@ android {
applicationId "kr.co.vividnext.sodalive" applicationId "kr.co.vividnext.sodalive"
minSdk 23 minSdk 23
targetSdk 33 targetSdk 33
versionCode 24 versionCode 25
versionName "1.7.0" versionName "1.8.0"
} }
buildTypes { buildTypes {

View File

@ -299,6 +299,14 @@ class LiveRoomCreateActivity : BaseActivity<ActivityLiveRoomCreateBinding>(
false false
} }
binding.etMenu.setOnTouchListener { view, motionEvent ->
view.parent.parent.requestDisallowInterceptTouchEvent(true)
if ((motionEvent.action and MotionEvent.ACTION_MASK) == MotionEvent.ACTION_UP) {
view.parent.parent.requestDisallowInterceptTouchEvent(false)
}
false
}
binding.ivSwitch.setOnClickListener { binding.ivSwitch.setOnClickListener {
viewModel.toggleIsActivateMenu() viewModel.toggleIsActivateMenu()
} }