라이브 만들기
- 메뉴 등록 edittext 스크롤 적용
This commit is contained in:
@@ -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 {
|
||||||
|
@@ -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()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user